Debian Codegraph @

demos/gtk-demo/spinbutton.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <object class="GtkAdjustment" id="basic_adjustment">
4 <property name="lower">-10000</property>
5 <property name="upper">10000</property>
6 <property name="step_increment">0.5</property>
7 <property name="page_increment">100</property>
8 </object>
9 <object class="GtkAdjustment" id="hex_adjustment">
10 <property name="upper">255</property>
11 <property name="step_increment">1</property>
12 <property name="page_increment">16</property>
13 </object>
14 <object class="GtkAdjustment" id="time_adjustment">
15 <property name="upper">1410</property>
16 <property name="step_increment">30</property>
17 <property name="page_increment">60</property>
18 </object>
19 <object class="GtkAdjustment" id="month_adjustment">
20 <property name="lower">1</property>
21 <property name="upper">12</property>
22 <property name="value">1</property>
23 <property name="step_increment">1</property>
24 <property name="page_increment">5</property>
25 </object>
26 <object class="GtkWindow" id="window">
27 <property name="title" translatable="yes">Spin Button</property>
28 <child>
29 <object class="GtkGrid">
30 <property name="visible">1</property>
31 <property name="margin">20</property>
32 <property name="row-spacing">10</property>
33 <property name="column-spacing">10</property>
34 <child>
35 <object class="GtkLabel">
36 <property name="visible">1</property>
37 <property name="label">_Numeric</property>
38 <property name="use_underline">1</property>
39 <property name="mnemonic_widget">basic_spin</property>
40 <property name="xalign">1</property>
41 </object>
42 <packing>
43 <property name="left_attach">0</property>
44 <property name="top_attach">0</property>
45 </packing>
46 </child>
47 <child>
48 <object class="GtkSpinButton" id="basic_spin">
49 <property name="visible">1</property>
50 <property name="halign">start</property>
51 <property name="width_chars">5</property>
52 <property name="adjustment">basic_adjustment</property>
53 <property name="climb_rate">1</property>
54 <property name="digits">2</property>
55 <property name="numeric">1</property>
56 </object>
57 <packing>
58 <property name="left_attach">1</property>
59 <property name="top_attach">0</property>
60 </packing>
61 </child>
62 <child>
63 <object class="GtkLabel" id="basic_label">
64 <property name="visible">1</property>
65 <property name="width_chars">10</property>
66 <property name="xalign">1</property>
67 </object>
68 <packing>
69 <property name="left_attach">2</property>
70 <property name="top_attach">0</property>
71 </packing>
72 </child>
73 <child>
74 <object class="GtkLabel">
75 <property name="visible">1</property>
76 <property name="label">_Hexadecimal</property>
77 <property name="use_underline">1</property>
78 <property name="mnemonic_widget">hex_spin</property>
79 <property name="xalign">1</property>
80 </object>
81 <packing>
82 <property name="left_attach">0</property>
83 <property name="top_attach">1</property>
84 </packing>
85 </child>
86 <child>
87 <object class="GtkSpinButton" id="hex_spin">
88 <property name="visible">1</property>
89 <property name="halign">start</property>
90 <property name="width_chars">4</property>
91 <property name="adjustment">hex_adjustment</property>
92 <signal name="input" handler="hex_spin_input"/>
93 <signal name="output" handler="hex_spin_output"/>
94 <property name="wrap">1</property>
95 </object>
96 <packing>
97 <property name="left_attach">1</property>
98 <property name="top_attach">1</property>
99 </packing>
100 </child>
101 <child>
102 <object class="GtkLabel" id="hex_label">
103 <property name="visible">1</property>
104 <property name="width_chars">10</property>
105 <property name="xalign">1</property>
106 </object>
107 <packing>
108 <property name="left_attach">2</property>
109 <property name="top_attach">1</property>
110 </packing>
111 </child>
112 <child>
113 <object class="GtkLabel">
114 <property name="visible">1</property>
115 <property name="label">_Time</property>
116 <property name="use_underline">1</property>
117 <property name="mnemonic_widget">time_spin</property>
118 <property name="xalign">1</property>
119 </object>
120 <packing>
121 <property name="left_attach">0</property>
122 <property name="top_attach">2</property>
123 </packing>
124 </child>
125 <child>
126 <object class="GtkSpinButton" id="time_spin">
127 <property name="visible">1</property>
128 <property name="halign">start</property>
129 <property name="width_chars">5</property>
130 <property name="adjustment">time_adjustment</property>
131 <signal name="input" handler="time_spin_input"/>
132 <signal name="output" handler="time_spin_output"/>
133 <property name="wrap">1</property>
134 </object>
135 <packing>
136 <property name="left_attach">1</property>
137 <property name="top_attach">2</property>
138 </packing>
139 </child>
140 <child>
141 <object class="GtkLabel" id="time_label">
142 <property name="visible">1</property>
143 <property name="width_chars">10</property>
144 <property name="xalign">1</property>
145 </object>
146 <packing>
147 <property name="left_attach">2</property>
148 <property name="top_attach">2</property>
149 </packing>
150 </child>
151 <child>
152 <object class="GtkLabel">
153 <property name="visible">1</property>
154 <property name="label">_Month</property>
155 <property name="use_underline">1</property>
156 <property name="mnemonic_widget">month_spin</property>
157 <property name="xalign">1</property>
158 </object>
159 <packing>
160 <property name="left_attach">0</property>
161 <property name="top_attach">3</property>
162 </packing>
163 </child>
164 <child>
165 <object class="GtkSpinButton" id="month_spin">
166 <property name="visible">1</property>
167 <property name="halign">start</property>
168 <property name="width_chars">9</property>
169 <signal name="input" handler="month_spin_input"/>
170 <signal name="output" handler="month_spin_output"/>
171 <property name="adjustment">month_adjustment</property>
172 <property name="wrap">1</property>
173 <property name="update_policy">if-valid</property>
174 </object>
175 <packing>
176 <property name="left_attach">1</property>
177 <property name="top_attach">3</property>
178 </packing>
179 </child>
180 <child>
181 <object class="GtkLabel" id="month_label">
182 <property name="visible">1</property>
183 <property name="width_chars">10</property>
184 <property name="xalign">1</property>
185 </object>
186 <packing>
187 <property name="left_attach">2</property>
188 <property name="top_attach">3</property>
189 </packing>
190 </child>
191 </object>
192 </child>
193 </object>
194 </interface>