Reputation: 79457
In gtk/python, what is the equivalent of MessageBox?
Upvotes: 1
Views: 7636
Reputation: 16226
That would be gtk.MessageDialog.
Example:
parent = None
md = gtk.MessageDialog(parent,
gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_INFO,
gtk.BUTTONS_CLOSE, "Download completed")
md.run()
Upvotes: 3
Reputation: 41030
You can follow this tutorial about message dialogs with PyGTK :
http://zetcode.com/tutorials/pygtktutorial/dialogs
In addition, you can read the documentation about the MessageDialog class.
Upvotes: 3