|
Non blocking dialog window: msg#00133gnome.gtk+.python
Hello, I'm trying this in order to get a non blocking message dialog: . info = gtk.MessageDialog( . parent = None, . type = gtk.MESSAGE_INFO, . message_format = _('Updating the list of the nodes')) . info.show() . do_hairy_computation() . info.destroy() But it doesn't seem to work since I cannot see the dialog appearing. As I understand the documentation in: http://www.pygtk.org/pygtk2reference/class-gtkdialog.html When one use run(), the dialog is displayed in blocking mode so I inferred that when one use show() the window is displayed in non blocking mode. I suspected this might because the computation is finished too quickly so I added some sleep calls but without success. Any hints ? -- (°> Nicolas Évrard / ) Liège - Belgique ^^ _______________________________________________ pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [announce] gSmile 0.1.0 released: 00133, Federico Pelloni |
|---|---|
| Next by Date: | Verifying Entry inputs: 00133, Hans-Joachim Widmaier |
| Previous by Thread: | [announce] gSmile 0.1.0 releasedi: 00133, Federico Pelloni |
| Next by Thread: | Re: Non blocking dialog window: 00133, Johan Dahlin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |