diff options
Diffstat (limited to 'src/gui/window.ui')
-rw-r--r-- | src/gui/window.ui | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/gui/window.ui b/src/gui/window.ui index d9ca32c..7055695 100644 --- a/src/gui/window.ui +++ b/src/gui/window.ui @@ -1,10 +1,36 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> + + <menu id="main_menu_model"> + <section> + <item> + <attribute name="label" translatable="yes">Preferences</attribute> + </item> + <item> + <attribute name="label" translatable="yes">About</attribute> + <attribute name="action">win.about</attribute> + </item> + </section> + </menu> + <template class="GtkFrameworkWindow" parent="GtkApplicationWindow"> <property name="title" translatable="no">Chrysalide</property> <property name="default-width">800</property> <property name="default-height">600</property> <property name="icon-name">chrysalide-logo</property> + + <child type="titlebar"> + <object class="GtkHeaderBar"> + <child type="end"> + <object class="GtkMenuButton"> + <property name="icon-name">open-menu-symbolic</property> + <property name="menu-model">main_menu_model</property> + </object> + </child> + + </object> + </child> + <child> <object class="GtkBox"> <property name="orientation">vertical</property> @@ -15,5 +41,7 @@ </child> </object> </child> + </template> + </interface> |