def METHOD_NAME(self, widget):
    # MessageDialog usage code
    md = gtk.MessageDialog(self, gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR,
                           gtk.BUTTONS_CLOSE, "Welcome to GstShark.")
    md.run()
    md.destroy()