Re: a lot of modal dialogs without GTK.main



ÐÐÑÐÐÑÑÐÑÐÑÐ, 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]