2013-03-23 11:17:15 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-08-05 22:17:29 +00:00
|
|
|
<interface domain="gtk40">
|
2013-03-23 11:17:15 +00:00
|
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
|
|
<!-- interface-requires gtkprivate 3.10 -->
|
|
|
|
<template class="GtkScaleButton" parent="GtkButton">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="receives-default">1</property>
|
2013-03-23 11:17:15 +00:00
|
|
|
<property name="relief">none</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="focus-on-click">0</property>
|
2013-03-23 11:17:15 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="icon-name">image-missing</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="use-fallback">1</property>
|
2013-03-23 11:17:15 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
2014-01-30 02:20:22 +00:00
|
|
|
<object class="GtkPopover" id="dock">
|
|
|
|
<signal name="map" handler="cb_popup_mapped" swapped="no"/>
|
2014-07-08 14:44:30 +00:00
|
|
|
<style>
|
|
|
|
<class name="scale-popup"/>
|
|
|
|
</style>
|
2013-03-23 11:17:15 +00:00
|
|
|
<child>
|
2014-01-30 02:20:22 +00:00
|
|
|
<object class="GtkBox" id="box">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="margin">4</property>
|
|
|
|
<property name="spacing">4</property>
|
2013-03-23 11:17:15 +00:00
|
|
|
<child>
|
2014-01-30 02:20:22 +00:00
|
|
|
<object class="GtkButton" id="plus_button">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="receives-default">1</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="relief">none</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
2017-01-13 20:09:14 +00:00
|
|
|
<property name="icon-name">list-add-symbolic</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<signal name="button-press-event" handler="cb_button_press" swapped="no"/>
|
|
|
|
<signal name="button-release-event" handler="cb_button_release" swapped="no"/>
|
|
|
|
<signal name="clicked" handler="cb_button_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScale" id="scale">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="height-request">100</property>
|
|
|
|
<property name="can-focus">1</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="inverted">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="round-digits">1</property>
|
|
|
|
<property name="draw-value">0</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<signal name="value-changed" handler="cb_scale_value_changed" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="minus_button">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="receives-default">1</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="relief">none</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
2017-01-13 20:09:14 +00:00
|
|
|
<property name="icon-name">list-remove-symbolic</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<signal name="button-press-event" handler="cb_button_press" swapped="no"/>
|
|
|
|
<signal name="button-release-event" handler="cb_button_release" swapped="no"/>
|
|
|
|
<signal name="clicked" handler="cb_button_clicked" swapped="no"/>
|
2013-03-23 11:17:15 +00:00
|
|
|
</object>
|
2014-01-30 02:20:22 +00:00
|
|
|
<packing>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
2013-03-23 11:17:15 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|