def METHOD_NAME(self, message):
    dlg = Gtk.MessageDialog(None, 0, Gtk.MessageType.ERROR,
                            Gtk.ButtonsType.CLOSE,
                            message)
    dlg.set_position(Gtk.WindowPosition.MOUSE)
    dlg.show_all()
    dlg.run()
    dlg.destroy()