Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97863

Re: 2.7.9: PhotoImage get/put

Path csiph.com!goblin1!goblin3!goblin.stu.neva.ru!news.netfront.net!not-for-mail
From Randy Day <randy.day@sasktel.netx>
Newsgroups comp.lang.python
Subject Re: 2.7.9: PhotoImage get/put
Date Wed, 21 Oct 2015 09:31:11 -0600
Organization Netfront http://www.netfront.net/
Lines 20
Message-ID <MPG.30916bbcab389c7d989689@freenews.netfront.net> (permalink)
References <MPG.309076b1693d9388989686@freenews.netfront.net> <n06f0k$r6g$1@ger.gmane.org> <mailman.66.1445391898.878.python-list@python.org> <MPG.3090e3b0778a0d9c989687@freenews.netfront.net> <mailman.71.1445413916.878.python-list@python.org>
NNTP-Posting-Host 207.47.139.193
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 7bit
X-Trace adenine.netfront.net 1445441476 39821 207.47.139.193 (21 Oct 2015 15:31:16 GMT)
X-Complaints-To news@netfront.net
NNTP-Posting-Date Wed, 21 Oct 2015 15:31:16 +0000 (UTC)
User-Agent MicroPlanet-Gravity/3.0.4
Xref csiph.com comp.lang.python:97863

Show key headers only | View raw


In article <mailman.71.1445413916.878.python-list@python.org>, 
tjreedy@udel.edu says...

[snip]

> > I made my 'root' Tk instance global, and
> > call root.update_idletasks() after the
> > .put

> I did not see the original post, but the alternative way to animate is 
> to use root.after(milliseconds, callback, *args) at the end of callbacks 
> to allow the event loop to process other events before re-calling the 
> same or another callback.

I could see that being useful for creating
a steady frame rate in longer animations.
I'll put that one in my Python toolbox as well.


--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

2.7.9: PhotoImage get/put Randy Day <randy.day@sasktel.netx> - 2015-10-20 16:05 -0600
  Re: 2.7.9: PhotoImage get/put Emile van Sebille <emile@fenx.com> - 2015-10-20 15:25 -0700
    Re: 2.7.9: PhotoImage get/put Randy Day <randy.day@sasktel.netx> - 2015-10-20 23:59 -0600
  Re: 2.7.9: PhotoImage get/put C Smith <illusiontechniques@gmail.com> - 2015-10-20 18:44 -0700
    Re: 2.7.9: PhotoImage get/put Randy Day <randy.day@sasktel.netx> - 2015-10-20 23:50 -0600
      Re: 2.7.9: PhotoImage get/put Terry Reedy <tjreedy@udel.edu> - 2015-10-21 03:51 -0400
        Re: 2.7.9: PhotoImage get/put Randy Day <randy.day@sasktel.netx> - 2015-10-21 09:31 -0600

csiph-web