Debian Codegraph @

demos/icon-browser/window.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <!-- interface-requires gtk+ 3.8 -->
4 <object class="IconStore" id="store">
5 </object>
6 <object class="GtkTreeModelFilter" id="filter_model">
7 <property name="child_model">store</property>
8 </object>
9 <template class="IconBrowserWindow" parent="GtkApplicationWindow">
10 <property name="title" translatable="yes">Icon Browser</property>
11 <property name="default-width">1024</property>
12 <property name="default-height">768</property>
13 <signal name="key-press-event" handler="key_press_event_cb"/>
14 <child type="titlebar">
15 <object class="GtkHeaderBar" id="header">
16 <property name="visible">True</property>
17 <property name="title" translatable="yes">Icon Browser</property>
18 <property name="show-close-button">True</property>
19 <child type="title">
20 <object class="GtkBox">
21 <property name="visible">True</property>
22 <style>
23 <class name="linked"/>
24 </style>
25 <child>
26 <object class="GtkRadioButton" id="normal_radio">
27 <property name="visible">True</property>
28 <property name="draw_indicator">False</property>
29 <property name="label" translatable="yes">Normal</property>
30 </object>
31 </child>
32 <child>
33 <object class="GtkRadioButton" id="symbolic_radio">
34 <property name="visible">True</property>
35 <property name="draw_indicator">False</property>
36 <property name="label" translatable="yes">Symbolic</property>
37 <property name="group">normal_radio</property>
38 <signal name="toggled" handler="symbolic_toggled"/>
39 </object>
40 </child>
41 </object>
42 </child>
43 <child>
44 <object class="GtkToggleButton" id="search">
45 <property name="visible">True</property>
46 <style>
47 <class name="image-button"/>
48 </style>
49 <child>
50 <object class="GtkImage" id="search-icon">
51 <property name="visible">True</property>
52 <property name="icon-name">edit-find-symbolic</property>
53 <property name="icon-size">1</property>
54 </object>
55 </child>
56 </object>
57 <packing>
58 <property name="pack-type">end</property>
59 </packing>
60 </child>
61 </object>
62 </child>
63 <child>
64 <object class="GtkBox">
65 <property name="visible">True</property>
66 <property name="orientation">horizontal</property>
67 <child>
68 <object class="GtkListBox" id="context_list">
69 <property name="visible">True</property>
70 <property name="selection_mode">single</property>
71 <signal name="selected-rows-changed" handler="selected_context_changed"/>
72 </object>
73 </child>
74 <child>
75 <object class="GtkVSeparator">
76 <property name="visible">True</property>
77 </object>
78 </child>
79 <child>
80 <object class="GtkBox" id="content_box">
81 <property name="visible">True</property>
82 <property name="orientation">vertical</property>
83 <child>
84 <object class="GtkSearchBar" id="searchbar">
85 <property name="visible">True</property>
86 <property name="search-mode-enabled" bind-source="search" bind-property="active" bind-flags="bidirectional"/>
87 <child>
88 <object class="GtkSearchEntry" id="searchentry">
89 <property name="visible">True</property>
90 <signal name="search-changed" handler="search_text_changed"/>
91 </object>
92 </child>
93 </object>
94 </child>
95 <child>
96 <object class="GtkScrolledWindow" id="sw">
97 <property name="visible">True</property>
98 <property name="expand">True</property>
99 <property name="hscrollbar-policy">never</property>
100 <property name="vscrollbar-policy">automatic</property>
101 <child>
102 <object class="GtkIconView" id="list">
103 <property name="visible">True</property>
104 <property name="model">filter_model</property>
105 <property name="selection-mode">none</property>
106 <property name="activate-on-single-click">True</property>
107 <signal name="item_activated" handler="item_activated"/>
108 <child>
109 <object class="GtkCellRendererPixbuf" id="cell">
110 <property name="xpad">10</property>
111 <property name="ypad">10</property>
112 <property name="stock-size">6</property>
113 <property name="follow-state">True</property>
114 </object>
115 </child>
116 <child>
117 <object class="GtkCellRendererText" id="text_cell">
118 <property name="xpad">10</property>
119 <property name="ypad">10</property>
120 <property name="xalign">0.5</property>
121 </object>
122 </child>
123 </object>
124 </child>
125 </object>
126 </child>
127 </object>
128 </child>
129 </object>
130 </child>
131 </template>
132 <object class="GtkSizeGroup">
133 <property name="mode">vertical</property>
134 <widgets>
135 <widget name="normal_radio"/>
136 <widget name="symbolic_radio"/>
137 <widget name="search"/>
138 </widgets>
139 </object>
140 <object class="GtkDialog" id="details">
141 <property name="modal">True</property>
142 <property name="use-header-bar">1</property>
143 <property name="resizable">False</property>
144 <signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
145 <child internal-child="vbox">
146 <object class="GtkBox">
147 <child>
148 <object class="GtkGrid">
149 <property name="visible">True</property>
150 <property name="margin">10</property>
151 <property name="row-spacing">18</property>
152 <property name="column-spacing">18</property>
153 <property name="halign">center</property>
154 <child>
155 <object class="GtkEventBox">
156 <property name="visible">True</property>
157 <child>
158 <object class="GtkImage" id="image1">
159 <property name="visible">True</property>
160 <property name="halign">center</property>
161 <property name="valign">end</property>
162 </object>
163 </child>
164 </object>
165 <packing>
166 <property name="left-attach">0</property>
167 <property name="top-attach">1</property>
168 </packing>
169 </child>
170 <child>
171 <object class="GtkEventBox">
172 <property name="visible">True</property>
173 <child>
174 <object class="GtkImage" id="image2">
175 <property name="visible">True</property>
176 <property name="halign">center</property>
177 <property name="valign">end</property>
178 </object>
179 </child>
180 </object>
181 <packing>
182 <property name="left-attach">1</property>
183 <property name="top-attach">1</property>
184 </packing>
185 </child>
186 <child>
187 <object class="GtkEventBox">
188 <property name="visible">True</property>
189 <child>
190 <object class="GtkImage" id="image3">
191 <property name="visible">True</property>
192 <property name="halign">center</property>
193 <property name="valign">end</property>
194 </object>
195 </child>
196 </object>
197 <packing>
198 <property name="left-attach">2</property>
199 <property name="top-attach">1</property>
200 </packing>
201 </child>
202 <child>
203 <object class="GtkEventBox">
204 <property name="visible">True</property>
205 <child>
206 <object class="GtkImage" id="image4">
207 <property name="visible">True</property>
208 <property name="halign">center</property>
209 <property name="valign">end</property>
210 </object>
211 </child>
212 </object>
213 <packing>
214 <property name="left-attach">3</property>
215 <property name="top-attach">1</property>
216 </packing>
217 </child>
218 <child>
219 <object class="GtkEventBox">
220 <property name="visible">True</property>
221 <child>
222 <object class="GtkImage" id="image5">
223 <property name="visible">True</property>
224 <property name="halign">center</property>
225 <property name="valign">end</property>
226 </object>
227 </child>
228 </object>
229 <packing>
230 <property name="left-attach">4</property>
231 <property name="top-attach">1</property>
232 </packing>
233 </child>
234 <child>
235 <object class="GtkEventBox">
236 <property name="visible">True</property>
237 <child>
238 <object class="GtkImage" id="image6">
239 <property name="visible">True</property>
240 <property name="halign">center</property>
241 <property name="valign">end</property>
242 </object>
243 </child>
244 </object>
245 <packing>
246 <property name="left-attach">5</property>
247 <property name="top-attach">1</property>
248 </packing>
249 </child>
250
251 <child>
252 <object class="GtkLabel" id="label1">
253 <property name="visible">True</property>
254 <property name="halign">center</property>
255 <property name="valign">baseline</property>
256 <property name="label">16×16</property>
257 <style>
258 <class name="dim-label"/>
259 </style>
260 </object>
261 <packing>
262 <property name="left-attach">0</property>
263 <property name="top-attach">2</property>
264 </packing>
265 </child>
266 <child>
267 <object class="GtkLabel" id="label2">
268 <property name="visible">True</property>
269 <property name="halign">center</property>
270 <property name="valign">baseline</property>
271 <property name="label">24×24</property>
272 <style>
273 <class name="dim-label"/>
274 </style>
275 </object>
276 <packing>
277 <property name="left-attach">1</property>
278 <property name="top-attach">2</property>
279 </packing>
280 </child>
281 <child>
282 <object class="GtkLabel" id="label3">
283 <property name="visible">True</property>
284 <property name="halign">center</property>
285 <property name="valign">baseline</property>
286 <property name="label">32×32</property>
287 <style>
288 <class name="dim-label"/>
289 </style>
290 </object>
291 <packing>
292 <property name="left-attach">2</property>
293 <property name="top-attach">2</property>
294 </packing>
295 </child>
296 <child>
297 <object class="GtkLabel" id="label4">
298 <property name="visible">True</property>
299 <property name="halign">center</property>
300 <property name="valign">baseline</property>
301 <property name="label">48×48</property>
302 <style>
303 <class name="dim-label"/>
304 </style>
305 </object>
306 <packing>
307 <property name="left-attach">3</property>
308 <property name="top-attach">2</property>
309 </packing>
310 </child>
311 <child>
312 <object class="GtkLabel" id="label5">
313 <property name="visible">True</property>
314 <property name="halign">center</property>
315 <property name="valign">baseline</property>
316 <property name="label">64×64</property>
317 <style>
318 <class name="dim-label"/>
319 </style>
320 </object>
321 <packing>
322 <property name="left-attach">4</property>
323 <property name="top-attach">2</property>
324 </packing>
325 </child>
326 <child>
327 <object class="GtkLabel" id="label6">
328 <property name="visible">True</property>
329 <property name="halign">center</property>
330 <property name="valign">baseline</property>
331 <property name="label">scalable</property>
332 <style>
333 <class name="dim-label"/>
334 </style>
335 </object>
336 <packing>
337 <property name="left-attach">5</property>
338 <property name="top-attach">2</property>
339 </packing>
340 </child>
341 </object>
342 </child>
343 <child>
344 <object class="GtkButton">
345 <property name="visible">True</property>
346 <property name="label" translatable="yes">Copy to Clipboard</property>
347 <property name="halign">center</property>
348 <property name="valign">center</property>
349 <property name="margin">20</property>
350 <signal name="clicked" handler="copy_to_clipboard"/>
351 </object>
352 </child>
353 <child>
354 <object class="GtkLabel" id="description">
355 <property name="margin">10</property>
356 <property name="visible">True</property>
357 <property name="wrap">True</property>
358 <property name="max-width-chars">60</property>
359 <property name="valign">start</property>
360 </object>
361 </child>
362 </object>
363 </child>
364 </object>
365 </interface>