error_dialog

@accepts(Gtk.Window, utf8, utf8, <varargs>)
@returns(none)
def error_dialog(parent, primary, secondary, None)

Creates and displays a simple error dialog box containing a primary message in bold, larger type and a secondary message in the regular font. Both the primary and secondary message strings should be translated.

Care should be taken to avoid opening multiple error dialog boxes when a single error message (such as 'out of disk space') affects multiple items.

parent :

parent GtkWindow for the dialog

primary :

main error message

secondary :

secondary error message (printf-style format string)

None :