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


Groups > comp.lang.python > #97855

Re: 2.7.9: PhotoImage get/put

From Randy Day <randy.day@sasktel.netx>
Newsgroups comp.lang.python
Subject Re: 2.7.9: PhotoImage get/put
Date 2015-10-20 23:59 -0600
Organization Netfront http://www.netfront.net/
Message-ID <MPG.3090e5a812828e89989688@freenews.netfront.net> (permalink)
References <MPG.309076b1693d9388989686@freenews.netfront.net> <mailman.63.1445379941.878.python-list@python.org>

Show all headers | View raw


In article <mailman.63.1445379941.878.python-list@python.org>, 
emile@fenx.com says...

[snip]

> I have no idea why, but here are some ideas I'd try out.
 
> So is it refreshing upon completion of the loop, or upon exit from 
> process()?

It turns out I need to call root.update_idletasks()
for my root Tk object to get it to refresh after
I put the pixel.

It works great now.

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

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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