def on_about(self, action=None, param=None): print("About button pressed") about_dialog = Gtk.AboutDialog(transient_for=self._window, modal=True) about_dialog.present()