2020-12-26 02:05:34 -08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<interface>
|
2021-01-23 23:36:28 -08:00
|
|
|
<template class="IvImageView" parent="AdwBin">
|
2020-12-26 02:05:34 -08:00
|
|
|
<property name="css-name">imageview</property>
|
2021-09-05 05:51:34 -07:00
|
|
|
<property name="focusable">True</property>
|
2021-09-14 19:48:24 -07:00
|
|
|
<property name="focus-on-click">True</property>
|
2021-01-23 23:36:28 -08:00
|
|
|
<property name="child">
|
2020-12-26 02:05:34 -08:00
|
|
|
<object class="GtkOverlay">
|
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
|
<child>
|
2021-12-13 18:19:23 -08:00
|
|
|
<object class="IvImage" id="picture">
|
2020-12-26 02:05:34 -08:00
|
|
|
<property name="halign">center</property>
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child type="overlay">
|
2021-09-24 05:58:55 -07:00
|
|
|
<object class="GtkBox" id="controls">
|
2021-09-24 01:14:56 -07:00
|
|
|
<property name="vexpand">True</property>
|
2020-12-26 02:05:34 -08:00
|
|
|
<child>
|
2021-09-24 01:14:56 -07:00
|
|
|
<object class="GtkButton" id="prev_button">
|
|
|
|
|
<property name="halign">start</property>
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
<property name="margin-start">18</property>
|
|
|
|
|
<property name="margin-end">18</property>
|
|
|
|
|
<property name="icon-name">go-previous-symbolic</property>
|
|
|
|
|
<property name="action-name">iv.previous</property>
|
2021-09-29 00:36:13 -07:00
|
|
|
<property name="tooltip-text" translatable="yes">Previous Image</property>
|
2020-12-26 02:05:34 -08:00
|
|
|
<style>
|
|
|
|
|
<class name="osd"/>
|
2021-09-24 01:14:56 -07:00
|
|
|
<class name="circular"/>
|
2020-12-26 02:05:34 -08:00
|
|
|
</style>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
2021-09-24 01:14:56 -07:00
|
|
|
<object class="GtkButton" id="next_button">
|
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
|
<property name="halign">end</property>
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
<property name="margin-start">18</property>
|
|
|
|
|
<property name="margin-end">18</property>
|
|
|
|
|
<property name="icon-name">go-next-symbolic</property>
|
|
|
|
|
<property name="action-name">iv.next</property>
|
2021-09-29 00:36:13 -07:00
|
|
|
<property name="tooltip-text" translatable="yes">Next Image</property>
|
2021-09-24 01:14:56 -07:00
|
|
|
<style>
|
|
|
|
|
<class name="osd"/>
|
|
|
|
|
<class name="circular"/>
|
|
|
|
|
</style>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkGestureClick" id="click_gesture">
|
|
|
|
|
<property name="button">3</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkGestureLongPress" id="press_gesture">
|
|
|
|
|
<property name="touch-only">True</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkPopoverMenu" id="popover">
|
|
|
|
|
<property name="has-arrow">False</property>
|
2021-09-24 06:12:37 -07:00
|
|
|
<property name="menu-model">image_menu</property>
|
2020-12-26 02:05:34 -08:00
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
2021-01-23 23:36:28 -08:00
|
|
|
</property>
|
2021-09-05 05:51:34 -07:00
|
|
|
<child>
|
|
|
|
|
<object class="GtkShortcutController">
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkShortcut">
|
|
|
|
|
<property name="trigger">Left</property>
|
|
|
|
|
<property name="action">action(iv.previous)</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkShortcut">
|
|
|
|
|
<property name="trigger">Right</property>
|
|
|
|
|
<property name="action">action(iv.next)</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2020-12-26 02:05:34 -08:00
|
|
|
<style>
|
|
|
|
|
<class name="image-view"/>
|
|
|
|
|
</style>
|
|
|
|
|
</template>
|
2021-09-24 06:12:37 -07:00
|
|
|
<menu id="image_menu">
|
|
|
|
|
<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>
|
2021-09-29 00:33:47 -07:00
|
|
|
<attribute name="label" translatable="yes">_Set as Wallpaper</attribute>
|
2021-09-24 06:12:37 -07:00
|
|
|
<attribute name="action">win.set-wallpaper</attribute>
|
|
|
|
|
</item>
|
|
|
|
|
</section>
|
|
|
|
|
</menu>
|
2020-12-26 02:05:34 -08:00
|
|
|
</interface>
|