1 2 3 4 5 6 7 | from gi.repository import Gtk
dialog = Gtk.MessageDialog(None, 0, Gtk.MessageType.OTHER,
Gtk.ButtonsType.OK, "This is an Other MessageDialog")
dialog.format_secondary_text(
"And this is the secondary text that explains things.")
dialog.run()
|