gtk/demos/gtk-demo/scale.ui

117 lines
4.4 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2015-07-31 20:36:02 +00:00
<interface>
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">4</property>
<property name="value">2</property>
<property name="step-increment">0.1</property>
<property name="page-increment">1</property>
2015-07-31 20:36:02 +00:00
</object>
<object class="GtkAdjustment" id="adjustment2">
<property name="upper">4</property>
<property name="value">2</property>
<property name="step-increment">0.1</property>
<property name="page-increment">1</property>
2015-07-31 20:36:02 +00:00
</object>
<object class="GtkAdjustment" id="adjustment3">
<property name="upper">4</property>
<property name="value">2</property>
<property name="step-increment">0.1</property>
<property name="page-increment">1</property>
2015-07-31 20:36:02 +00:00
</object>
<object class="GtkWindow" id="window1">
<property name="title" translatable="yes">Scales</property>
<property name="resizable">0</property>
2015-07-31 20:36:02 +00:00
<child>
<object class="GtkGrid" id="grid1">
<property name="row-spacing">10</property>
<property name="column-spacing">10</property>
<property name="margin-start">20</property>
<property name="margin-end">20</property>
<property name="margin-top">20</property>
<property name="margin-bottom">20</property>
2015-07-31 20:36:02 +00:00
<child>
<object class="GtkLabel" id="label_plain">
2015-07-31 20:36:02 +00:00
<property name="label">Plain</property>
<property name="xalign">0</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
2015-07-31 20:36:02 +00:00
</object>
</child>
<child>
<object class="GtkScale" id="scale_plain">
2015-07-31 20:36:02 +00:00
<property name="width-request">200</property>
<property name="draw-value">0</property>
2015-07-31 20:36:02 +00:00
<property name="adjustment">adjustment1</property>
2015-09-09 21:34:32 +00:00
<property name="hexpand">1</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
2015-07-31 20:36:02 +00:00
</object>
</child>
<child>
<object class="GtkLabel" id="label_marks">
2015-07-31 20:36:02 +00:00
<property name="label">Marks</property>
<property name="xalign">0</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
2015-07-31 20:36:02 +00:00
</object>
</child>
<child>
<object class="GtkScale" id="scale_marks">
2015-07-31 20:36:02 +00:00
<property name="width-request">200</property>
<property name="draw-value">0</property>
2015-07-31 20:36:02 +00:00
<property name="adjustment">adjustment2</property>
2015-09-09 21:34:32 +00:00
<property name="hexpand">1</property>
2015-07-31 20:36:02 +00:00
<marks>
<mark value="0" position="bottom"></mark>
<mark value="1" position="bottom"></mark>
<mark value="2" position="bottom"></mark>
<mark value="3" position="bottom"></mark>
<mark value="4" position="bottom"></mark>
2015-07-31 20:36:02 +00:00
</marks>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
2015-07-31 20:36:02 +00:00
</object>
</child>
<child>
<object class="GtkLabel" id="label_discrete">
2015-07-31 20:36:02 +00:00
<property name="label">Discrete</property>
<property name="xalign">0</property>
<layout>
<property name="column">0</property>
<property name="row">2</property>
</layout>
2015-07-31 20:36:02 +00:00
</object>
</child>
<child>
<object class="GtkScale" id="scale_discrete">
2015-07-31 20:36:02 +00:00
<property name="width-request">200</property>
<property name="round-digits">0</property>
<property name="draw-value">0</property>
2015-07-31 20:36:02 +00:00
<property name="adjustment">adjustment3</property>
2015-09-09 21:34:32 +00:00
<property name="hexpand">1</property>
2015-07-31 20:36:02 +00:00
<marks>
<mark value="0" position="bottom"></mark>
<mark value="1" position="bottom"></mark>
<mark value="2" position="bottom"></mark>
<mark value="3" position="bottom"></mark>
<mark value="4" position="bottom"></mark>
2015-07-31 20:36:02 +00:00
</marks>
<layout>
<property name="column">1</property>
<property name="row">2</property>
</layout>
2015-07-31 20:36:02 +00:00
</object>
</child>
</object>
</child>
</object>
</interface>