gtk2/gtk/ui/gtkvolumebutton.ui

49 lines
2.2 KiB
Plaintext
Raw Normal View History

<interface domain="gtk40">
<object class="GtkAdjustment" id="adjustment">
<property name="upper">1</property>
<property name="step-increment">0.02</property>
<property name="page-increment">0.2</property>
</object>
<template class="GtkVolumeButton" parent="GtkScaleButton">
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="has-tooltip">1</property>
<property name="relief">none</property>
<property name="focus-on-click">0</property>
<property name="orientation">vertical</property>
<property name="adjustment">adjustment</property>
<property name="icons">audio-volume-muted
audio-volume-high
audio-volume-low
audio-volume-medium</property>
<child internal-child="accessible">
<object class="AtkObject" id="GtkVolumeButton-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Volume</property>
<property name="AtkObject::accessible-description" translatable="yes">Turns volume up or down</property>
</object>
</child>
<signal name="query-tooltip" handler="cb_query_tooltip" swapped="no"/>
<signal name="value-changed" handler="cb_value_changed" swapped="no"/>
<child internal-child="plus_button">
<object class="GtkButton" id="scalebutton-plus_button1">
<child internal-child="accessible">
<object class="AtkObject" id="scalebutton-plus_button1-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Volume Up</property>
<property name="AtkObject::accessible-description" translatable="yes">Increases the volume</property>
</object>
</child>
</object>
</child>
<child internal-child="minus_button">
<object class="GtkButton" id="scalebutton-minus_button1">
<child internal-child="accessible">
<object class="AtkObject" id="scalebutton-minus_button1-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Volume Down</property>
<property name="AtkObject::accessible-description" translatable="yes">Decreases the volume</property>
</object>
</child>
</object>
</child>
</template>
</interface>