Created
December 24, 2022 17:27
-
-
Save MightyCreak/50abba6e225971e6c8cec735d37463d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<interface> | |
<requires lib="gtk" version="4.0"/> | |
<template class="RomEditorWindow" parent="GtkApplicationWindow"> | |
<property name="default-width">600</property> | |
<property name="default-height">300</property> | |
<child type="titlebar"> | |
<object class="GtkHeaderBar" id="header_bar"> | |
<child type="end"> | |
<object class="GtkMenuButton"> | |
<property name="icon-name">open-menu-symbolic</property> | |
<property name="menu-model">primary_menu</property> | |
</object> | |
</child> | |
</object> | |
</child> | |
<child> | |
<object class="GtkLabel" id="label"> | |
<property name="label">Hello, World!</property> | |
<style> | |
<class name="title-1"/> | |
</style> | |
</object> | |
</child> | |
</template> | |
<menu id="primary_menu"> | |
<section> | |
<item> | |
<attribute name="label" translatable="yes">_Preferences</attribute> | |
<attribute name="action">app.preferences</attribute> | |
</item> | |
<item> | |
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute> | |
<attribute name="action">win.show-help-overlay</attribute> | |
</item> | |
<item> | |
<attribute name="label" translatable="yes">_About ROM Editor</attribute> | |
<attribute name="action">app.about</attribute> | |
</item> | |
</section> | |
</menu> | |
</interface> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment