testing-repository/Gtk4/gtk63_scale_gtk4/res/window.ui

208 lines
7.6 KiB
Plaintext
Raw Normal View History

2021-04-09 22:55:26 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">100</property>
<property name="step-increment">1</property>
<property name="page-increment">10</property>
</object>
<object class="GtkAdjustment" id="adjustment2">
<property name="upper">5</property>
<property name="step-increment">1</property>
<property name="page-increment">10</property>
</object>
<object class="GtkAdjustment" id="adjustment3">
<property name="upper">100</property>
<property name="step-increment">1</property>
<property name="page-increment">10</property>
</object>
<object class="GtkWindow" id="window">
<property name="can-focus">0</property>
<property name="child">
<object class="GtkBox">
<property name="can-focus">0</property>
<property name="orientation">vertical</property>
<property name="spacing">20</property>
<child>
<object class="GtkBox">
<property name="can-focus">0</property>
<child>
<object class="GtkScale" id="scale1">
<property name="draw-value">1</property>
<property name="orientation">vertical</property>
<property name="adjustment">adjustment1</property>
<property name="round-digits">1</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="hexpand">1</property>
<property name="can-focus">0</property>
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<child>
<object class="GtkScale" id="scale2">
<property name="draw-value">1</property>
<property name="adjustment">adjustment1</property>
<property name="round-digits">1</property>
</object>
</child>
<child>
<placeholder/>
</child>
<child>
<object class="GtkScrollbar">
<property name="valign">center</property>
<property name="can-focus">0</property>
<property name="adjustment">adjustment1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkCheckButton" id="btnshow">
<property name="label" translatable="yes">Display Value on scale widgets</property>
<property name="active">1</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="vexpand">1</property>
<property name="can-focus">0</property>
<property name="spacing">10</property>
<child>
<object class="GtkLabel">
<property name="can-focus">0</property>
<property name="label" translatable="yes">Scale Value Position:</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="hexpand">1</property>
<property name="can-focus">0</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<object class="GtkComboBoxText" id="combo_pos">
<property name="halign">center</property>
<property name="can-focus">0</property>
<property name="active">0</property>
<items>
<item>Top</item>
<item>Bottom</item>
<item>Left</item>
<item>Right</item>
</items>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="can-focus">0</property>
<property name="spacing">10</property>
<child>
<object class="GtkLabel">
<property name="can-focus">0</property>
<property name="label" translatable="yes">Scale Update Policy:</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="can-focus">0</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<object class="GtkComboBoxText" id="combo_update">
<property name="halign">center</property>
<property name="can-focus">0</property>
<property name="active">1</property>
<items>
<item>Continuous</item>
<item>Discontinuous</item>
<item>Delayed</item>
</items>
</object>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="can-focus">0</property>
<child>
<object class="GtkLabel">
<property name="can-focus">0</property>
<property name="label" translatable="yes">Scale Digits:</property>
</object>
</child>
<child>
<object class="GtkScale" id="digit_scale">
<property name="hexpand">1</property>
<property name="draw-value">1</property>
<property name="adjustment">adjustment2</property>
<property name="round-digits">1</property>
<property name="digits">0</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="can-focus">0</property>
<child>
<object class="GtkLabel">
<property name="can-focus">0</property>
<property name="label" translatable="yes">Scrollbar page size:</property>
</object>
</child>
<child>
<object class="GtkScale" id="size_scale">
<property name="hexpand">1</property>
<property name="draw-value">1</property>
<property name="adjustment">adjustment3</property>
<property name="round-digits">0</property>
<property name="digits">0</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="btnexit">
<property name="label" translatable="yes">Exit</property>
<property name="receives-default">1</property>
</object>
</child>
</object>
</property>
</object>
</interface>