2013-03-23 11:17:15 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface domain="gtk30">
|
|
|
|
<!-- 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">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
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>
|
|
|
|
<object class="GtkAdjustment" id="adjustment">
|
|
|
|
<property name="upper">100</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="step-increment">2</property>
|
|
|
|
<property name="page-increment">20</property>
|
2013-03-23 11:17:15 +00:00
|
|
|
</object>
|
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">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<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">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
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>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
2013-03-23 11:17:15 +00:00
|
|
|
<child>
|
2014-01-30 02:20:22 +00:00
|
|
|
<object class="GtkImage">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="icon-name">list-add-symbolic</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>
|
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>
|
|
|
|
<packing>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="fill">0</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScale" id="scale">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="height-request">100</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="adjustment">adjustment</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">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
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>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
2013-03-23 11:17:15 +00:00
|
|
|
<child>
|
2014-01-30 02:20:22 +00:00
|
|
|
<object class="GtkImage">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="icon-name">list-remove-symbolic</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>
|
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>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="fill">0</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
2013-03-23 11:17:15 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|