Ensure that a dialog is fully drawn
Torsten Bronger
bronger at physik.rwth-aachen.de
Sat Dec 9 05:03:36 PST 2006
Hallöchen!
I defined a simple subclass of wx.Dialog called "WaitDialog", which
I'd like to use like this:
wait_message = WaitDialog(_(u"I'm bootstrapping, please be patient") + u" …", _(u"Bootstrapping"))
wait_message.Show()
# Here
wx.Sleep(5)
wait_message.Destroy()
However, the frame of wait_message can never be really seen (at
least not on my GTK system) because it's not updated early enough.
How can I be sure that the frame is fully drawn at the point marked
with "Here"? Thank you!
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
ICQ 264-296-646
(See http://ime.webhop.org for Jabber, MSN, etc.)
More information about the wxpython-users
mailing list