[pygtk] gtk.Dialog problems
Matthias Bläsing
matthias.blaesing at rwth-aachen.de
Mon Apr 3 11:45:27 WST 2006
Am Montag, den 03.04.2006, 01:53 +0000 schrieb Sean Richards:
> # destroy the dialog here
> dialog.destroy()
> # why does it remain visible until this completes?
> self.model.run(n)
Try putting a:
while gtk.event_pending():
gtk.main_iteration()
after the destroy - this processes all events that have been queued
until that moment.
HTH
Matthias
--
Matthias Bläsing (GPG-Schlüsselkennung: A71B4BD5)
ICQ: 84617206 AIM: linuxfun81 MSN: linuxfun at hotmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060403/30cfd0a7/attachment.pgp
More information about the pygtk
mailing list