Re: a lot of modal dialogs without GTK.main
- From: Andrey Nikitin <avreg-support mail ru>
- To: gtk-app-devel-list gnome org
- Subject: Re: a lot of modal dialogs without GTK.main
- Date: Sat, 6 Feb 2010 12:49:43 +0300
ÐÐÑÐÐÑÑÐÑÐÑÐ, David NeÄas.
while True:
dialog = gtk.MessageDialog(buttons=gtk.BUTTONS_OK,
message_format='Close me.') dialog.connect('response', response)
dialog.show_all()
gtk.main()
print 'Done!'
===============================================================
You mean something like this?
Works perfectly.
Yes, fine, although I don't see a much difference instead the "manual"
events pending after each dialog.run().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]