Created
April 19, 2022 14:49
-
-
Save feliwir/34fb5e0313e39caacdf5bfb35983d53a to your computer and use it in GitHub Desktop.
This file contains hidden or 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" /> | |
<object class="GListStore" id="image_list"> | |
<property name="item-type">VoyagerExifImage</property> | |
</object> | |
<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="valign">fill</property> | |
<property name="vexpand">true</property> | |
<property name="start-child"> | |
<object class="GtkScrolledWindow"> | |
<property name="hscrollbar-policy">never</property> | |
<property name="vscrollbar-policy">automatic</property> | |
<child> | |
<object class="GtkGridView" id="image_grid"> | |
<property name="model"> | |
<object class="GtkNoSelection"> | |
<property name="model">image_list</property> | |
</object> | |
</property> | |
<property name="min-columns">1</property> | |
<property name="max-columns">9</property> | |
</object> | |
</child> | |
</object> | |
</property> | |
<property name="end-child"> | |
<object class="VoyagerImageMap" id="image_map"> | |
<property name="halign">fill</property> | |
<property name="valign">fill</property> | |
</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