2020-12-26 02:05:34 -08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<interface>
|
2021-01-14 21:36:30 -08:00
|
|
|
<template class="IvWindow" parent="AdwApplicationWindow">
|
2020-12-26 02:05:34 -08:00
|
|
|
<property name="default-width">600</property>
|
|
|
|
|
<property name="default-height">498</property>
|
|
|
|
|
<property name="width-request">360</property>
|
|
|
|
|
<property name="title">Image Viewer</property>
|
2021-09-05 05:51:34 -07:00
|
|
|
<property name="content">
|
2021-09-24 01:14:56 -07:00
|
|
|
<object class="AdwFlap" id="flap">
|
2020-12-26 02:05:34 -08:00
|
|
|
<property name="orientation">vertical</property>
|
2021-09-24 01:14:56 -07:00
|
|
|
<property name="fold-policy">never</property>
|
|
|
|
|
<property name="locked">true</property>
|
|
|
|
|
<property name="modal">false</property>
|
|
|
|
|
<property name="flap">
|
2020-12-26 02:05:34 -08:00
|
|
|
<object class="GtkHeaderBar" id="headerbar">
|
2021-09-24 01:14:56 -07:00
|
|
|
<property name="show_title_buttons" bind-source="IvWindow" bind-property="fullscreened" bind-flags="sync-create|invert-boolean"/>
|
2021-09-24 05:58:55 -07:00
|
|
|
<binding name="opacity">
|
|
|
|
|
<lookup type="GtkWidget" name="opacity">
|
|
|
|
|
<lookup name="controls">image_view</lookup>
|
|
|
|
|
</lookup>
|
|
|
|
|
</binding>
|
2020-12-26 02:05:34 -08:00
|
|
|
<child type="end">
|
|
|
|
|
<object class="GtkMenuButton" id="menu_button">
|
|
|
|
|
<property name="icon-name">open-menu-symbolic</property>
|
|
|
|
|
<property name="menu-model">primary_menu</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child type="end">
|
2021-09-24 01:14:56 -07:00
|
|
|
<object class="GtkButton" id="fullscreen_button">
|
2020-12-26 02:05:34 -08:00
|
|
|
<property name="icon-name">view-fullscreen-symbolic</property>
|
|
|
|
|
<property name="action-name">win.toggle-fullscreen</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
2021-09-24 01:14:56 -07:00
|
|
|
</property>
|
|
|
|
|
<property name="content">
|
2020-12-26 02:05:34 -08:00
|
|
|
<object class="GtkStack" id="stack">
|
|
|
|
|
<property name="visible-child">status_page</property>
|
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
|
<child>
|
2021-01-14 21:36:30 -08:00
|
|
|
<object class="AdwStatusPage" id="status_page">
|
2020-12-26 02:05:34 -08:00
|
|
|
<property name="title" translatable="yes">Image Viewer</property>
|
2021-09-29 00:28:27 -07:00
|
|
|
<property name="description" translatable="yes">Click here or drag an image here to open a file.</property>
|
2020-12-26 02:05:34 -08:00
|
|
|
<child>
|
|
|
|
|
<object class="GtkGestureClick" id="open_gesture"/>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
2021-09-24 06:12:37 -07:00
|
|
|
<object class="IvImageView" id="image_view"/>
|
2020-12-26 02:05:34 -08:00
|
|
|
</child>
|
|
|
|
|
</object>
|
2021-09-24 01:14:56 -07:00
|
|
|
</property>
|
|
|
|
|
<style>
|
|
|
|
|
<class name="fullscreen-widget"/>
|
|
|
|
|
</style>
|
2020-12-26 02:05:34 -08:00
|
|
|
</object>
|
|
|
|
|
</property>
|
|
|
|
|
</template>
|
|
|
|
|
<menu id="primary_menu">
|
|
|
|
|
<section>
|
|
|
|
|
<item>
|
|
|
|
|
<attribute name="label" translatable="yes">_New Window</attribute>
|
|
|
|
|
<attribute name="action">app.new-window</attribute>
|
|
|
|
|
</item>
|
|
|
|
|
</section>
|
|
|
|
|
<section>
|
|
|
|
|
<item>
|
|
|
|
|
<attribute name="label" translatable="yes">_Open With…</attribute>
|
|
|
|
|
<attribute name="action">win.open-with</attribute>
|
|
|
|
|
</item>
|
|
|
|
|
<!--<item>
|
|
|
|
|
<attribute name="label" translatable="yes">_Display On…</attribute>
|
|
|
|
|
<attribute name="action">win.display-on</attribute>
|
|
|
|
|
</item>-->
|
|
|
|
|
<item>
|
|
|
|
|
<attribute name="label" translatable="yes">_Print…</attribute>
|
|
|
|
|
<attribute name="action">win.print</attribute>
|
|
|
|
|
</item>
|
|
|
|
|
<!--<item>
|
|
|
|
|
<attribute name="label" translatable="yes">_Rotate</attribute>
|
|
|
|
|
<attribute name="action">win.rotate-image</attribute>
|
|
|
|
|
</item>-->
|
|
|
|
|
<item>
|
|
|
|
|
<attribute name="label" translatable="yes">_Set As Wallpaper</attribute>
|
|
|
|
|
<attribute name="action">win.set-wallpaper</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">_Keyboard Shortcuts</attribute>
|
|
|
|
|
<attribute name="action">win.show-help-overlay</attribute>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<attribute name="label" translatable="yes">_About Image Viewer</attribute>
|
|
|
|
|
<attribute name="action">app.about</attribute>
|
|
|
|
|
</item>
|
|
|
|
|
</section>
|
|
|
|
|
</menu>
|
|
|
|
|
</interface>
|