(message = None)
Display a graphical error. This should only be used for serious
    errors as it will halt execution
Display a graphical error. This should only be used for serious
    errors as it will halt execution
Display a graphical error . This should only be used for serious errors as it will halt execution
def gerr(message = None):
    """Display a graphical error. This should only be used for serious
    errors as it will halt execution"""

    dialog = Gtk.MessageDialog(None, Gtk.DialogFlags.MODAL,
            Gtk.MessageType.ERROR, Gtk.ButtonsType.OK, message)
    dialog.run()
    dialog.destroy()
def gerr ( message = None ) : dialog = Gtk . MessageDialog ( None , Gtk . DialogFlags . MODAL , Gtk . MessageType . ERROR , Gtk . ButtonsType . OK , message ) dialog . run ( ) dialog . destroy ( )