Debian Codegraph @

demos/gtk-demo/blendmodes.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <requires lib="gtk+" version="3.20"/>
4 <object class="GtkWindow" id="window">
5 <property name="can_focus">False</property>
6 <property name="resizable">False</property>
7 <property name="title">CSS Blend Modes</property>
8 <property name="default_width">400</property>
9 <property name="default_height">300</property>
10 <child>
11 <object class="GtkGrid">
12 <property name="visible">True</property>
13 <property name="can_focus">False</property>
14 <property name="border_width">12</property>
15 <property name="row_spacing">12</property>
16 <property name="column_spacing">12</property>
17 <child>
18 <object class="GtkLabel">
19 <property name="visible">True</property>
20 <property name="can_focus">False</property>
21 <property name="label" translatable="yes">Blend mode:</property>
22 <property name="xalign">0</property>
23 <style>
24 <class name="dim-label"/>
25 </style>
26 </object>
27 <packing>
28 <property name="left_attach">0</property>
29 <property name="top_attach">0</property>
30 </packing>
31 </child>
32 <child>
33 <object class="GtkScrolledWindow" id="scrolledwindow">
34 <property name="visible">True</property>
35 <property name="can_focus">True</property>
36 <property name="vexpand">True</property>
37 <property name="shadow_type">in</property>
38 <property name="min_content_width">150</property>
39 </object>
40 <packing>
41 <property name="left_attach">0</property>
42 <property name="top_attach">1</property>
43 </packing>
44 </child>
45 <child>
46 <object class="GtkStackSwitcher">
47 <property name="visible">True</property>
48 <property name="can_focus">False</property>
49 <property name="halign">center</property>
50 <property name="hexpand">True</property>
51 <property name="stack">stack</property>
52 </object>
53 <packing>
54 <property name="left_attach">1</property>
55 <property name="top_attach">0</property>
56 </packing>
57 </child>
58 <child>
59 <object class="GtkStack" id="stack">
60 <property name="visible">True</property>
61 <property name="can_focus">False</property>
62 <property name="hexpand">True</property>
63 <property name="vexpand">True</property>
64 <property name="hhomogeneous">False</property>
65 <property name="vhomogeneous">False</property>
66 <property name="transition_type">crossfade</property>
67 <child>
68 <object class="GtkGrid">
69 <property name="visible">True</property>
70 <property name="can_focus">False</property>
71 <property name="halign">center</property>
72 <property name="valign">center</property>
73 <property name="hexpand">False</property>
74 <property name="vexpand">True</property>
75 <property name="row_spacing">12</property>
76 <property name="column_spacing">12</property>
77 <child>
78 <object class="GtkLabel">
79 <property name="visible">True</property>
80 <property name="can_focus">False</property>
81 <property name="label" translatable="yes">Duck</property>
82 </object>
83 <packing>
84 <property name="left_attach">0</property>
85 <property name="top_attach">0</property>
86 </packing>
87 </child>
88 <child>
89 <object class="GtkLabel">
90 <property name="visible">True</property>
91 <property name="can_focus">False</property>
92 <property name="label" translatable="yes">Background</property>
93 </object>
94 <packing>
95 <property name="left_attach">1</property>
96 <property name="top_attach">0</property>
97 </packing>
98 </child>
99 <child>
100 <object class="GtkImage">
101 <property name="visible">True</property>
102 <property name="can_focus">False</property>
103 <style>
104 <class name="duck"/>
105 </style>
106 </object>
107 <packing>
108 <property name="left_attach">0</property>
109 <property name="top_attach">1</property>
110 </packing>
111 </child>
112 <child>
113 <object class="GtkImage">
114 <property name="visible">True</property>
115 <property name="can_focus">False</property>
116 <style>
117 <class name="gradient"/>
118 </style>
119 </object>
120 <packing>
121 <property name="left_attach">1</property>
122 <property name="top_attach">1</property>
123 </packing>
124 </child>
125 <child>
126 <object class="GtkLabel">
127 <property name="visible">True</property>
128 <property name="can_focus">False</property>
129 <property name="label" translatable="yes">
130 Blended picture</property>
131 </object>
132 <packing>
133 <property name="left_attach">0</property>
134 <property name="top_attach">2</property>
135 <property name="width">2</property>
136 </packing>
137 </child>
138 <child>
139 <object class="GtkImage">
140 <property name="visible">True</property>
141 <property name="can_focus">False</property>
142 <property name="halign">center</property>
143 <style>
144 <class name="blend0"/>
145 </style>
146 </object>
147 <packing>
148 <property name="left_attach">0</property>
149 <property name="top_attach">3</property>
150 <property name="width">2</property>
151 </packing>
152 </child>
153 </object>
154 <packing>
155 <property name="name">page0</property>
156 <property name="title" translatable="yes">Ducky</property>
157 </packing>
158 </child>
159 <child>
160 <object class="GtkGrid">
161 <property name="visible">True</property>
162 <property name="can_focus">False</property>
163 <property name="halign">center</property>
164 <property name="valign">center</property>
165 <property name="hexpand">False</property>
166 <property name="vexpand">True</property>
167 <property name="row_spacing">12</property>
168 <property name="column_spacing">12</property>
169 <child>
170 <object class="GtkLabel">
171 <property name="visible">True</property>
172 <property name="can_focus">False</property>
173 <property name="label" translatable="yes">Red</property>
174 </object>
175 <packing>
176 <property name="left_attach">0</property>
177 <property name="top_attach">0</property>
178 </packing>
179 </child>
180 <child>
181 <object class="GtkLabel">
182 <property name="visible">True</property>
183 <property name="can_focus">False</property>
184 <property name="label" translatable="yes">Blue</property>
185 </object>
186 <packing>
187 <property name="left_attach">1</property>
188 <property name="top_attach">0</property>
189 </packing>
190 </child>
191 <child>
192 <object class="GtkImage">
193 <property name="visible">True</property>
194 <property name="can_focus">False</property>
195 <style>
196 <class name="red"/>
197 </style>
198 </object>
199 <packing>
200 <property name="left_attach">0</property>
201 <property name="top_attach">1</property>
202 </packing>
203 </child>
204 <child>
205 <object class="GtkImage">
206 <property name="visible">True</property>
207 <property name="can_focus">False</property>
208 <style>
209 <class name="blue"/>
210 </style>
211 </object>
212 <packing>
213 <property name="left_attach">1</property>
214 <property name="top_attach">1</property>
215 </packing>
216 </child>
217 <child>
218 <object class="GtkLabel">
219 <property name="visible">True</property>
220 <property name="can_focus">False</property>
221 <property name="label" translatable="yes">
222 Blended picture</property>
223 </object>
224 <packing>
225 <property name="left_attach">0</property>
226 <property name="top_attach">2</property>
227 <property name="width">2</property>
228 </packing>
229 </child>
230 <child>
231 <object class="GtkImage">
232 <property name="visible">True</property>
233 <property name="can_focus">False</property>
234 <property name="halign">center</property>
235 <style>
236 <class name="blend1"/>
237 </style>
238 </object>
239 <packing>
240 <property name="left_attach">0</property>
241 <property name="top_attach">3</property>
242 <property name="width">2</property>
243 </packing>
244 </child>
245 </object>
246 <packing>
247 <property name="name">page1</property>
248 <property name="title" translatable="yes">Blends</property>
249 </packing>
250 </child>
251 <child>
252 <object class="GtkGrid">
253 <property name="visible">True</property>
254 <property name="can_focus">False</property>
255 <property name="halign">center</property>
256 <property name="valign">center</property>
257 <property name="hexpand">True</property>
258 <property name="vexpand">True</property>
259 <property name="row_spacing">6</property>
260 <property name="column_spacing">12</property>
261 <child>
262 <object class="GtkImage">
263 <property name="visible">True</property>
264 <property name="can_focus">False</property>
265 <style>
266 <class name="cyan"/>
267 </style>
268 </object>
269 <packing>
270 <property name="left_attach">0</property>
271 <property name="top_attach">1</property>
272 </packing>
273 </child>
274 <child>
275 <object class="GtkImage">
276 <property name="visible">True</property>
277 <property name="can_focus">False</property>
278 <style>
279 <class name="magenta"/>
280 </style>
281 </object>
282 <packing>
283 <property name="left_attach">1</property>
284 <property name="top_attach">1</property>
285 </packing>
286 </child>
287 <child>
288 <object class="GtkImage">
289 <property name="visible">True</property>
290 <property name="can_focus">False</property>
291 <style>
292 <class name="yellow"/>
293 </style>
294 </object>
295 <packing>
296 <property name="left_attach">0</property>
297 <property name="top_attach">3</property>
298 </packing>
299 </child>
300 <child>
301 <object class="GtkImage">
302 <property name="visible">True</property>
303 <property name="can_focus">False</property>
304 <property name="halign">center</property>
305 <style>
306 <class name="blend2"/>
307 </style>
308 </object>
309 <packing>
310 <property name="left_attach">1</property>
311 <property name="top_attach">3</property>
312 </packing>
313 </child>
314 <child>
315 <object class="GtkLabel">
316 <property name="visible">True</property>
317 <property name="can_focus">False</property>
318 <property name="label" translatable="yes">Cyan</property>
319 <property name="xalign">0</property>
320 <style>
321 <class name="dim-label"/>
322 </style>
323 </object>
324 <packing>
325 <property name="left_attach">0</property>
326 <property name="top_attach">0</property>
327 </packing>
328 </child>
329 <child>
330 <object class="GtkLabel">
331 <property name="visible">True</property>
332 <property name="can_focus">False</property>
333 <property name="label" translatable="yes">Magenta</property>
334 <property name="xalign">0</property>
335 <style>
336 <class name="dim-label"/>
337 </style>
338 </object>
339 <packing>
340 <property name="left_attach">1</property>
341 <property name="top_attach">0</property>
342 </packing>
343 </child>
344 <child>
345 <object class="GtkLabel">
346 <property name="visible">True</property>
347 <property name="can_focus">False</property>
348 <property name="label" translatable="yes">Yellow</property>
349 <property name="xalign">0</property>
350 <style>
351 <class name="dim-label"/>
352 </style>
353 </object>
354 <packing>
355 <property name="left_attach">0</property>
356 <property name="top_attach">2</property>
357 </packing>
358 </child>
359 <child>
360 <object class="GtkLabel">
361 <property name="visible">True</property>
362 <property name="can_focus">False</property>
363 <property name="label" translatable="yes">Blended picture</property>
364 <property name="xalign">0</property>
365 <attributes>
366 <attribute name="weight" value="bold"/>
367 </attributes>
368 </object>
369 <packing>
370 <property name="left_attach">1</property>
371 <property name="top_attach">2</property>
372 </packing>
373 </child>
374 </object>
375 <packing>
376 <property name="name">page2</property>
377 <property name="title" translatable="yes">CMYK</property>
378 </packing>
379 </child>
380 </object>
381 <packing>
382 <property name="left_attach">1</property>
383 <property name="top_attach">1</property>
384 </packing>
385 </child>
386 </object>
387 </child>
388 <child type="titlebar">
389 <placeholder/>
390 </child>
391 </object>
392 </interface>