forked from AuroraMiddleware/gtk
8ca612c966
This is rarely what you want, so lets turn it off by default. Update the one place in our demos where we want to draw a value, add support for this to gtk-builder-tool, add a test and mention this change in the migration guide.
97 lines
3.7 KiB
XML
97 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkAdjustment" id="adjustment1">
|
|
<property name="lower">0</property>
|
|
<property name="upper">100</property>
|
|
<property name="page-size">0</property>
|
|
<property name="value">5</property>
|
|
<property name="step-increment">1</property>
|
|
<property name="page-increment">10</property>
|
|
</object>
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="can_focus">False</property>
|
|
<property name="decorated">0</property>
|
|
<property name="default-width">100</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="name">scales</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkScale">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="draw-value">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScale">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="value-pos">bottom</property>
|
|
<property name="draw-value">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScale">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="draw-value">0</property>
|
|
<property name="show-fill-level">1</property>
|
|
<property name="fill-level">50</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScale">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="draw-value">0</property>
|
|
<property name="inverted">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScale">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="draw-value">0</property>
|
|
<marks>
|
|
<mark value="10" position="top">ten</mark>
|
|
<mark value="20" position="top">twenty</mark>
|
|
</marks>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScale">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="draw-value">0</property>
|
|
<marks>
|
|
<mark value="10" position="top">ten</mark>
|
|
<mark value="20" position="bottom">twenty</mark>
|
|
</marks>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScale">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="draw-value">0</property>
|
|
<marks>
|
|
<mark value="10" position="bottom">ten</mark>
|
|
<mark value="20" position="bottom">twenty</mark>
|
|
</marks>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|