Re: [pygtk] Updating the Display

2003-03-24 Thread Greg Ward
On 22 March 2003, Jesse Pavel said:
> while gtk.events_pending():
> gtk.main_iteration()
> 
> immediately after the dialog.show(), but that isn't
> working.

Wild-ass, ill-informed guess: would dialog.show_all() work any better?

Greg
-- 
Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/
I just read that almost 50% of the population has below median IQ!
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] Updating the Display

2003-03-21 Thread Jesse Pavel


Hi everyone,

I'm having an issue in having a dialog display its
contents immediately--I want to display a message to
the user before a long operation begins, and so
I create a dialog, stick a label in it, and show it.
Normally, the contents are not displayed until my lengthy
callback finishes; I've tried putting a

while gtk.events_pending():
gtk.main_iteration()

immediately after the dialog.show(), but that isn't
working.

Can someone fill me in on what I'm doing wrong?

Thanks,
Jesse
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/