Created
March 28, 2022 19:43
-
-
Save feliwir/31230638e97237e95bb2b73dc8325b2d 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" /> | |
<menu id="primary-menu"> | |
<section> | |
<item> | |
<attribute name="label" translatable="yes">_Open</attribute> | |
<attribute name="action">win.open</attribute> | |
</item> | |
</section> | |
<section> | |
<item> | |
<attribute name="label" translatable="yes">_Help</attribute> | |
<attribute name="action">app.help</attribute> | |
</item> | |
<item> | |
<attribute name="label" translatable="yes">_About Voyager</attribute> | |
<attribute name="action">app.about</attribute> | |
</item> | |
</section> | |
</menu> | |
<template class="VoyagerWindow" parent="AdwApplicationWindow"> | |
<property name="can_focus">False</property> | |
<property name="title" translatable="yes">Voyager</property> | |
<property name="default_width">800</property> | |
<property name="default_height">600</property> | |
<child> | |
<object class="GtkBox"> | |
<property name="orientation">vertical</property> | |
<property name="hexpand">True</property> | |
<child> | |
<object class="AdwHeaderBar" id="header_bar"> | |
<child type="end"> | |
<object class="GtkMenuButton" id="menu_button"> | |
<property name="tooltip-text" translatable="yes">Menu</property> | |
<property name="menu_model">primary-menu</property> | |
<property name="icon_name">open-menu-symbolic</property> | |
<property name="tooltip-text" translatable="yes">Main Menu</property> | |
</object> | |
</child> | |
</object> | |
</child> | |
<child> | |
<object class="GtkPaned"> | |
<property name="start-child"> | |
<object class="GtkScrolledWindow"> | |
<property name="hexpand">true</property> | |
<property name="halign">fill</property> | |
<property name="vexpand">true</property> | |
<property name="valign">fill</property> | |
<child> | |
<object class="GtkFlowBox" id="image_box"> | |
<property name="hexpand">true</property> | |
<property name="halign">fill</property> | |
<property name="valign">fill</property> | |
<property name="vexpand">true</property> | |
<property name="min-children-per-line">2</property> | |
<property name="max-children-per-line">8</property> | |
</object> | |
</child> | |
</object> | |
</property> | |
<property name="end-child"> | |
<object class="GtkBox"> | |
<property name="orientation">vertical</property> | |
<property name="halign">fill</property> | |
<property name="hexpand">true</property> | |
<property name="vexpand">true</property> | |
<property name="valign">fill</property> | |
<child> | |
<object class="VoyagerImageMap" id="image_map"></object> | |
</child> | |
</object> | |
</property> | |
</object> | |
</child> | |
</object> | |
</child> | |
</template> | |
</interface> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment