class MessageDialog(Gtk.MessageDialog): (source)
Known subclasses: zim.gui.exportdialog.ExportDoneDialog
Convenience wrapper for Gtk.MessageDialog, should be used for informational popups without an action.
Note that message dialogs do not have a title.
Method | __init__ |
Constructor. |
Method | add_extra_button |
No summary |
Method | assert_response_ok |
Undocumented |
Method | run |
Runs the dialog and destroys it directly. |
zim.gui.exportdialog.ExportDoneDialog
Parameters | |
parent | either a parent window or dialog or None |
msg | the message either as sring or a 2-tuple of the actual question and a longer explanation as strings. Using a tuple here will give a better looking dialog. |
Parameters | |
button | the Gtk.Button (or other widget) |
pack_start | if True pack to the left (towards the middle of the dialog), if False pack to the right. |