diff options
-rwxr-xr-x | python-gnome-app | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python-gnome-app b/python-gnome-app index 67d36d0..61f9c77 100755 --- a/python-gnome-app +++ b/python-gnome-app @@ -35,6 +35,10 @@ class PythonApp(Gtk.Application): section.append_item(quit_item) self.set_app_menu(appmenu) + button = Gtk.Button( + label="Hello world!", action_name="app.hello-world") + self.window.add(button) + def on_activate(self, app): self.window.show_all() |