summaryrefslogtreecommitdiffstats
path: root/python-gnome-app
Commit message (Collapse)AuthorAgeFilesLines
* Add a button and link it to the hello-world actionDavid King2014-05-211-0/+4
| | | | | | Create a button, and link it to the "app.hello-world" action, so that clicking it does the same as selecting the menu item or pressing the keyboard shortcut for that action.
* Add an application menuDavid King2014-05-211-0/+9
| | | | | | Create a menu model, and add menu items into the model. Link the menu items to the "hello-world" and "quit" actions, which were added to the application. Set the menu to be the application menu.
* Add actions and handlers for hello world and quitDavid King2014-05-211-3/+22
| | | | | | | Create two actions, "hello-world" and "quit", and add them to the application (which is an implementation of GActionMap). Connect the "activate" signal of the actions to handlers. Add an accelerator for each action, so that they can be triggered with a keyboard shortcut.
* Terminate the application when closing the windowDavid King2014-05-211-3/+16
| | | | | Use GtkApplication to manage the application lifecycle, and quit the application when the window is closed.
* Add skeleton app, which shows an empty windowDavid King2014-05-211-0/+8
The appliction shows a window and runs forever. Closing the window does not stop the application, so it must be killed externally.