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">
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="relief">none</property>
|
|
|
|
<property name="focus_on_click">False</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-01-21 13:26:08 +00:00
|
|
|
<property name="icon_name">image-missing</property>
|
2014-04-05 14:07:25 +00:00
|
|
|
<property name="use-fallback">True</property>
|
2013-03-23 11:17:15 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
<object class="GtkAdjustment" id="adjustment">
|
|
|
|
<property name="upper">100</property>
|
|
|
|
<property name="step_increment">2</property>
|
|
|
|
<property name="page_increment">20</property>
|
|
|
|
</object>
|
2014-01-30 02:20:22 +00:00
|
|
|
<object class="GtkPopover" id="dock">
|
|
|
|
<signal name="map" handler="cb_popup_mapped" swapped="no"/>
|
2013-03-23 11:17:15 +00:00
|
|
|
<child>
|
2014-01-30 02:20:22 +00:00
|
|
|
<object class="GtkBox" id="box">
|
2013-03-23 11:17:15 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</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">
|
2013-03-23 11:17:15 +00:00
|
|
|
<property name="visible">True</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<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">
|
2013-03-23 11:17:15 +00:00
|
|
|
<property name="visible">True</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="icon-name">list-add-symbolic</property>
|
2014-04-05 14:07:25 +00:00
|
|
|
<property name="use-fallback">True</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>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScale" id="scale">
|
|
|
|
<property name="height_request">100</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="adjustment">adjustment</property>
|
|
|
|
<property name="inverted">True</property>
|
|
|
|
<property name="round_digits">1</property>
|
|
|
|
<property name="draw_value">False</property>
|
|
|
|
<signal name="value-changed" handler="cb_scale_value_changed" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="minus_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<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">
|
2013-03-23 11:17:15 +00:00
|
|
|
<property name="visible">True</property>
|
2014-01-30 02:20:22 +00:00
|
|
|
<property name="icon-name">list-remove-symbolic</property>
|
2014-04-05 14:07:25 +00:00
|
|
|
<property name="use-fallback">True</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>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
2013-03-23 11:17:15 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|