summaryrefslogtreecommitdiffstats
path: root/panels/sound/cc-balance-slider.ui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--panels/sound/cc-balance-slider.ui30
1 files changed, 30 insertions, 0 deletions
diff --git a/panels/sound/cc-balance-slider.ui b/panels/sound/cc-balance-slider.ui
new file mode 100644
index 0000000..871a915
--- /dev/null
+++ b/panels/sound/cc-balance-slider.ui
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <template class="CcBalanceSlider" parent="GtkBox">
+ <child>
+ <object class="GtkScale">
+ <property name="visible">True</property>
+ <property name="hexpand">True</property>
+ <property name="draw_value">False</property>
+ <property name="has_origin">False</property>
+ <property name="adjustment">adjustment</property>
+ <accessibility>
+ <property name="label" translatable="yes">Balance</property>
+ </accessibility>
+ <marks>
+ <mark value="-1" translatable="yes">Left</mark>
+ <mark value="0"/>
+ <mark value="1" translatable="yes">Right</mark>
+ </marks>
+ </object>
+ </child>
+ </template>
+ <object class="GtkAdjustment" id="adjustment">
+ <property name="lower">-1.0</property>
+ <property name="upper">1.0</property>
+ <property name="step_increment">0.5</property>
+ <property name="page_increment">0.5</property>
+ <signal name="value_changed" handler="changed_cb" object="CcBalanceSlider" swapped="yes"/>
+ </object>
+</interface>