mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
b9322433d3
Replace translatable="1" by translatable="yes" so xgettext stays happy and extracts the strings.
195 lines
7.6 KiB
XML
195 lines
7.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkAdjustment" id="basic_adjustment">
|
|
<property name="lower">-10000</property>
|
|
<property name="upper">10000</property>
|
|
<property name="step_increment">0.5</property>
|
|
<property name="page_increment">100</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="hex_adjustment">
|
|
<property name="upper">255</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">16</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="time_adjustment">
|
|
<property name="upper">1410</property>
|
|
<property name="step_increment">30</property>
|
|
<property name="page_increment">60</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="month_adjustment">
|
|
<property name="lower">1</property>
|
|
<property name="upper">12</property>
|
|
<property name="value">1</property>
|
|
<property name="step_increment">1</property>
|
|
<property name="page_increment">5</property>
|
|
</object>
|
|
<object class="GtkWindow" id="window">
|
|
<property name="title" translatable="yes">Spin Button</property>
|
|
<child>
|
|
<object class="GtkGrid">
|
|
<property name="visible">1</property>
|
|
<property name="margin">20</property>
|
|
<property name="row-spacing">10</property>
|
|
<property name="column-spacing">10</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label">_Numeric</property>
|
|
<property name="use_underline">1</property>
|
|
<property name="mnemonic_widget">basic_spin</property>
|
|
<property name="xalign">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="basic_spin">
|
|
<property name="visible">1</property>
|
|
<property name="halign">start</property>
|
|
<property name="width_chars">5</property>
|
|
<property name="adjustment">basic_adjustment</property>
|
|
<property name="climb_rate">1</property>
|
|
<property name="digits">2</property>
|
|
<property name="numeric">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="basic_label">
|
|
<property name="visible">1</property>
|
|
<property name="width_chars">10</property>
|
|
<property name="xalign">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label">_Hexadecimal</property>
|
|
<property name="use_underline">1</property>
|
|
<property name="mnemonic_widget">hex_spin</property>
|
|
<property name="xalign">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="hex_spin">
|
|
<property name="visible">1</property>
|
|
<property name="halign">start</property>
|
|
<property name="width_chars">4</property>
|
|
<property name="adjustment">hex_adjustment</property>
|
|
<signal name="input" handler="hex_spin_input"/>
|
|
<signal name="output" handler="hex_spin_output"/>
|
|
<property name="wrap">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="hex_label">
|
|
<property name="visible">1</property>
|
|
<property name="width_chars">10</property>
|
|
<property name="xalign">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label">_Time</property>
|
|
<property name="use_underline">1</property>
|
|
<property name="mnemonic_widget">time_spin</property>
|
|
<property name="xalign">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="time_spin">
|
|
<property name="visible">1</property>
|
|
<property name="halign">start</property>
|
|
<property name="width_chars">5</property>
|
|
<property name="adjustment">time_adjustment</property>
|
|
<signal name="input" handler="time_spin_input"/>
|
|
<signal name="output" handler="time_spin_output"/>
|
|
<property name="wrap">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="time_label">
|
|
<property name="visible">1</property>
|
|
<property name="width_chars">10</property>
|
|
<property name="xalign">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label">_Month</property>
|
|
<property name="use_underline">1</property>
|
|
<property name="mnemonic_widget">month_spin</property>
|
|
<property name="xalign">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinButton" id="month_spin">
|
|
<property name="visible">1</property>
|
|
<property name="halign">start</property>
|
|
<property name="width_chars">9</property>
|
|
<signal name="input" handler="month_spin_input"/>
|
|
<signal name="output" handler="month_spin_output"/>
|
|
<property name="adjustment">month_adjustment</property>
|
|
<property name="wrap">1</property>
|
|
<property name="update_policy">if-valid</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="month_label">
|
|
<property name="visible">1</property>
|
|
<property name="width_chars">10</property>
|
|
<property name="xalign">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|