hdy-demo-window.ui 93.5 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
Guido Gunther's avatar
Guido Gunther committed
2
<!-- Generated with glade 3.22.1 -->
3
<interface>
Guido Gunther's avatar
Guido Gunther committed
4
5
  <requires lib="gtk+" version="3.16"/>
  <requires lib="libhandy" version="0.0"/>
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  <object class="GtkPopover" id="menu_popover">
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="spacing">6</property>
        <property name="margin">18</property>
        <property name="orientation">vertical</property>
        <property name="width_request">200</property>
        <child>
          <object class="GtkModelButton">
            <property name="action-name">app.preferences</property>
            <property name="can-focus">True</property>
            <property name="text" translatable="yes">Preferences</property>
            <property name="visible">True</property>
          </object>
        </child>
      </object>
    </child>
  </object>
25
  <template class="HdyDemoWindow" parent="GtkApplicationWindow">
26
    <property name="can_focus">False</property>
27
    <property name="title">Handy Demo</property>
28
29
30
    <property name="default_width">360</property>
    <property name="default_height">576</property>
    <signal name="key-press-event" handler="key_pressed_cb" after="yes" swapped="no"/>
31
    <child type="titlebar">
Adrien Plazas's avatar
Adrien Plazas committed
32
      <object class="HdyTitleBar">
33
34
        <property name="visible">True</property>
        <child>
Adrien Plazas's avatar
Adrien Plazas committed
35
          <object class="HdyLeaflet" id="header_box">
Adrien Plazas's avatar
Adrien Plazas committed
36
            <property name="transition-type" bind-source="content_box" bind-property="transition-type" bind-flags="sync-create"/>
37
            <property name="visible">True</property>
Adrien Plazas's avatar
Adrien Plazas committed
38
            <property name="visible-child-name" bind-source="content_box" bind-property="visible-child-name" bind-flags="sync-create"/>
Adrien Plazas's avatar
Adrien Plazas committed
39
40
            <signal name="notify::visible-child" handler="notify_header_visible_child_cb" swapped="no"/>
            <signal name="notify::fold" handler="notify_fold_cb" after="yes" swapped="no"/>
Adrien Plazas's avatar
Adrien Plazas committed
41
            <child>
Adrien Plazas's avatar
Adrien Plazas committed
42
43
              <object class="GtkHeaderBar" id="header_bar">
                <property name="visible">True</property>
44
                <property name="can_focus">False</property>
45
                <property name="title">Handy Demo</property>
Adrien Plazas's avatar
Adrien Plazas committed
46
                <property name="show_close_button">True</property>
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
                <child>
                  <object class="GtkMenuButton" id="menu_button">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="focus_on_click">False</property>
                    <property name="popover">menu_popover</property>
                    <child>
                      <object class="GtkImage">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="icon_name">open-menu-symbolic</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="pack_type">end</property>
                  </packing>
                </child>
Adrien Plazas's avatar
Adrien Plazas committed
65
66
67
68
69
70
71
72
73
74
              </object>
              <packing>
                <property name="name">sidebar</property>
              </packing>
            </child>
            <child>
              <object class="GtkSeparator">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="orientation">vertical</property>
Adrien Plazas's avatar
Adrien Plazas committed
75
                <style>
Adrien Plazas's avatar
Adrien Plazas committed
76
                  <class name="sidebar"/>
Adrien Plazas's avatar
Adrien Plazas committed
77
                </style>
Adrien Plazas's avatar
Adrien Plazas committed
78
79
80
81
82
83
84
              </object>
            </child>
            <child>
              <object class="GtkHeaderBar" id="sub_header_bar">
                <property name="visible">True</property>
                <property name="expand">True</property>
                <property name="show_close_button">True</property>
Adrien Plazas's avatar
Adrien Plazas committed
85
                <child>
Adrien Plazas's avatar
Adrien Plazas committed
86
                  <object class="GtkButton" id="back">
87
                    <property name="can_focus">False</property>
Adrien Plazas's avatar
Adrien Plazas committed
88
89
90
                    <property name="receives_default">False</property>
                    <property name="valign">center</property>
                    <property name="use-underline">True</property>
91
                    <property name="visible" bind-source="header_box" bind-property="folded" bind-flags="sync-create"/>
Adrien Plazas's avatar
Adrien Plazas committed
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
                    <signal name="clicked" handler="back_clicked_cb"/>
                    <style>
                      <class name="image-button"/>
                    </style>
                    <child internal-child="accessible">
                      <object class="AtkObject" id="a11y-back">
                        <property name="accessible-name" translatable="yes">Back</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkImage" id="back_image">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="icon_name">go-previous-symbolic</property>
                        <property name="icon_size">1</property>
                      </object>
                    </child>
Adrien Plazas's avatar
Adrien Plazas committed
109
110
                  </object>
                </child>
111
112
113
114
115
116
117
118
119
120
121
122
                <child>
                  <object class="GtkToggleButton" id="search_button">
                    <property name="can_focus">False</property>
                    <property name="receives_default">False</property>
                    <property name="valign">center</property>
                    <property name="use-underline">True</property>
                    <property name="active" bind-source="search_bar" bind-property="search-mode-enabled" bind-flags="sync-create|bidirectional"/>
                    <style>
                      <class name="image-button"/>
                    </style>
                    <child internal-child="accessible">
                      <object class="AtkObject" id="a11y-search">
123
                        <property name="accessible-name" translatable="yes">Search</property>
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
                      </object>
                    </child>
                    <child>
                      <object class="GtkImage" id="search_image">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="icon_name">edit-find-symbolic</property>
                        <property name="icon_size">1</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="pack_type">end</property>
                  </packing>
                </child>
Adrien Plazas's avatar
Adrien Plazas committed
139
              </object>
Adrien Plazas's avatar
Adrien Plazas committed
140
141
142
              <packing>
                <property name="name">content</property>
              </packing>
Adrien Plazas's avatar
Adrien Plazas committed
143
            </child>
144
145
146
147
148
          </object>
        </child>
      </object>
    </child>
    <child>
Adrien Plazas's avatar
Adrien Plazas committed
149
      <object class="HdyLeaflet" id="content_box">
150
        <property name="visible">True</property>
151
        <property name="can_focus">False</property>
152
153
        <child>
          <object class="GtkStackSidebar" id="sidebar">
154
            <property name="width_request">270</property>
155
            <property name="visible">True</property>
156
            <property name="can_focus">False</property>
157
158
            <property name="stack">stack</property>
          </object>
Adrien Plazas's avatar
Adrien Plazas committed
159
160
161
          <packing>
            <property name="name">sidebar</property>
          </packing>
162
        </child>
163
164
165
166
167
168
169
170
171
172
        <child>
          <object class="GtkSeparator">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="orientation">vertical</property>
            <style>
              <class name="sidebar"/>
            </style>
          </object>
        </child>
173
        <child>
174
          <object class="GtkScrolledWindow" id="scrolled_window">
175
            <property name="hscrollbar_policy">never</property>
176
177
            <property name="visible">True</property>
            <child>
178
              <object class="GtkStack" id="stack">
179
180
                <property name="visible">True</property>
                <property name="can_focus">False</property>
181
182
                <property name="vhomogeneous">False</property>
                <signal name="notify::visible-child" handler="notify_visible_child_cb" after="yes" swapped="no"/>
183
                <child>
184
                  <object class="GtkBox" id="welcome">
185
186
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
187
                    <property name="halign">center</property>
188
189
190
                    <property name="valign">center</property>
                    <property name="orientation">vertical</property>
                    <child>
191
                      <object class="GtkImage" id="icon">
192
193
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
194
195
196
197
198
199
200
201
                        <property name="valign">center</property>
                        <property name="margin_bottom">18</property>
                        <property name="pixel_size">128</property>
                        <property name="icon_name">phone-symbolic</property>
                        <property name="icon_size">0</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
202
203
204
205
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
206
                        <property name="position">0</property>
207
208
209
                      </packing>
                    </child>
                    <child>
210
                      <object class="GtkBox" id="box">
211
212
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
213
214
215
216
217
218
219
220
221
222
                        <property name="orientation">vertical</property>
                        <property name="margin_start">12</property>
                        <property name="margin_end">12</property>
                        <child>
                          <object class="GtkLabel" id="label">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="opacity">0.5</property>
                            <property name="halign">center</property>
                            <property name="margin_bottom">12</property>
223
                            <property name="label" translatable="yes">Welcome to Handy Demo</property>
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
                            <property name="justify">center</property>
                            <property name="wrap">True</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                              <attribute name="scale" value="2"/>
                            </attributes>
                          </object>
                          <packing>
                            <property name="expand">False</property>
                            <property name="fill">True</property>
                            <property name="position">0</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkLabel" id="empty-state-label">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="opacity">0.5</property>
242
                            <property name="label" translatable="yes">This is a tour of the features the library has to offer.</property>
243
244
245
246
247
248
249
250
251
252
                            <property name="justify">center</property>
                            <property name="wrap">True</property>
                            <property name="use_markup">True</property>
                          </object>
                          <packing>
                            <property name="expand">False</property>
                            <property name="fill">True</property>
                            <property name="position">1</property>
                          </packing>
                        </child>
253
254
255
256
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
257
                        <property name="position">1</property>
258
259
260
261
                      </packing>
                    </child>
                  </object>
                  <packing>
262
263
                    <property name="name">welcome</property>
                    <property name="title">Welcome</property>
264
265
                  </packing>
                </child>
Adrien Plazas's avatar
Adrien Plazas committed
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
                <child>
                  <object class="HdyColumn">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="halign">fill</property>
                    <property name="valign">fill</property>
                    <property name="margin-bottom">32</property>
                    <property name="margin-start">12</property>
                    <property name="margin-end">12</property>
                    <property name="margin-top">32</property>
                    <property name="expand">True</property>
                    <property name="maximum-width">400</property>
                    <property name="linear-growth-width">300</property>
                    <child>
                      <object class="GtkBox">
                        <property name="visible">True</property>
                        <property name="orientation">vertical</property>
                        <property name="can_focus">False</property>
                        <property name="valign">start</property>
                        <property name="expand">True</property>
                        <child>
                          <object class="GtkBox">
                            <property name="visible">True</property>
                            <property name="orientation">vertical</property>
                            <property name="can_focus">False</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <property name="margin-bottom">32</property>
                            <property name="expand">True</property>
                            <child>
                              <object class="GtkImage">
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="valign">center</property>
                                <property name="pixel_size">128</property>
                                <property name="icon_name">view-dual-symbolic</property>
                                <property name="icon-size">0</property>
                                <property name="margin-bottom">18</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <property name="visible">True</property>
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
                                    <property name="opacity">0.5</property>
                                    <property name="can_focus">False</property>
                                    <property name="label" translatable="yes">Leaflet</property>
                                    <property name="halign">center</property>
                                    <property name="xalign">0</property>
                                    <property name="margin-bottom">12</property>
                                    <attributes>
                                      <attribute name="weight" value="bold"/>
                                      <attribute name="scale" value="2"/>
                                    </attributes>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
                                    <property name="opacity">0.5</property>
                                    <property name="can_focus">False</property>
                                    <property name="label" translatable="yes">A widget showing either all its children or only one, depending on the available space. This window is using leaflets, you can control them with the settings below.</property>
                                    <property name="justify">center</property>
                                    <property name="use_markup">true</property>
                                    <property name="wrap">True</property>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="expand">True</property>
                            <property name="label" translatable="yes">Leaflet</property>
                            <property name="justify">left</property>
                            <property name="halign">start</property>
                            <property name="margin-bottom">12</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                            </attributes>
                          </object>
                        </child>
                        <child>
                          <object class="GtkListBox">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="expand">True</property>
                            <property name="selection-mode">none</property>
                            <style>
                              <class name="frame"/>
                            </style>
                            <child>
                              <object class="HdyComboRow" id="leaflet_transition_row">
                                <property name="subtitle" translatable="yes">The type of transition to use when the leaflets adapt its size or when changing the visible child</property>
                                <property name="title" translatable="yes">Transition type</property>
                                <property name="visible">True</property>
                                <signal name="notify::selected-index" handler="notify_leaflet_transition_cb" swapped="no"/>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="name">leaflet</property>
                    <property name="title">Leaflet</property>
                  </packing>
                </child>
Guido Gunther's avatar
Guido Gunther committed
400
                <child>
401
                  <object class="HdyColumn">
Guido Gunther's avatar
Guido Gunther committed
402
                    <property name="visible">True</property>
403
                    <property name="can_focus">False</property>
404
405
                    <property name="halign">fill</property>
                    <property name="valign">fill</property>
406
                    <property name="margin-bottom">32</property>
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
                    <property name="margin-start">12</property>
                    <property name="margin-end">12</property>
                    <property name="margin-top">32</property>
                    <property name="expand">True</property>
                    <property name="maximum-width">400</property>
                    <property name="linear-growth-width">300</property>
                    <child>
                      <object class="GtkBox">
                        <property name="visible">True</property>
                        <property name="orientation">vertical</property>
                        <property name="can_focus">False</property>
                        <property name="valign">start</property>
                        <property name="expand">True</property>
                        <child>
                          <object class="GtkBox">
                            <property name="visible">True</property>
                            <property name="orientation">vertical</property>
                            <property name="can_focus">False</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <property name="margin-bottom">32</property>
                            <property name="expand">True</property>
                            <child>
                              <object class="GtkImage">
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="valign">center</property>
                                <property name="pixel_size">128</property>
                                <property name="icon_name">input-dialpad-symbolic</property>
                                <property name="icon-size">0</property>
                                <property name="margin-bottom">18</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <property name="visible">True</property>
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
                                    <property name="opacity">0.5</property>
                                    <property name="can_focus">False</property>
                                    <property name="label" translatable="yes">Keypad</property>
                                    <property name="halign">center</property>
                                    <property name="xalign">0</property>
                                    <property name="margin-bottom">12</property>
                                    <attributes>
                                      <attribute name="weight" value="bold"/>
                                      <attribute name="scale" value="2"/>
                                    </attributes>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
                                    <property name="opacity">0.5</property>
                                    <property name="can_focus">False</property>
                                    <property name="label" translatable="yes">A number keypad.</property>
                                    <property name="justify">center</property>
                                    <property name="use_markup">true</property>
                                    <property name="wrap">True</property>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="HdyColumn">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="maximum-width">300</property>
                            <property name="linear-growth-width">300</property>
                            <child>
                              <object class="GtkBox" id="box_keypad">
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="valign">center</property>
                                <property name="hexpand">True</property>
                                <property name="orientation">vertical</property>
                                <property name="spacing">12</property>
                                <child>
                                  <object class="GtkListBox" id="keypad_listbox">
                                    <property name="visible">True</property>
                                    <property name="can_focus">False</property>
                                    <property name="expand">True</property>
                                    <property name="selection-mode">none</property>
                                    <style>
                                      <class name="frame"/>
                                    </style>
                                    <child>
                                      <object class="HdyActionRow">
                                        <property name="visible">True</property>
                                        <property name="can_focus">False</property>
                                        <property name="title" translatable="yes">Show extra symbols</property>
                                        <child type="action">
                                          <object class="GtkSwitch" id="keypad_show_symbols">
                                            <property name="visible">True</property>
                                            <property name="can_focus">True</property>
                                            <property name="state">True</property>
                                            <property name="valign">center</property>
                                          </object>
                                        </child>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="HdyActionRow">
                                        <property name="visible">True</property>
                                        <property name="can_focus">False</property>
                                        <property name="title" translatable="yes">Show only digits</property>
                                        <child type="action">
                                          <object class="GtkSwitch" id="keypad_only_digits">
                                            <property name="visible">True</property>
                                            <property name="can_focus">True</property>
                                            <property name="valign">center</property>
                                          </object>
                                        </child>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkEntry" id="entry_keypad">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="HdyKeypad" id="keypad">
                                    <property name="visible">True</property>
                                    <property name="can_focus">False</property>
                                    <property name="column_spacing">10</property>
                                    <property name="row_spacing">8</property>
                                    <property name="only_digits">FALSE</property>
                                    <property name="halign">center</property>
                                    <property name="entry">entry_keypad</property>
                                    <property name="only-digits" bind-source="keypad_only_digits" bind-property="state" bind-flags="sync-create | bidirectional"/>
                                    <property name="show-symbols" bind-source="keypad_show_symbols" bind-property="state" bind-flags="sync-create | bidirectional"/>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                    <property name="pack_type">end</property>
                                    <property name="position">1</property>
                                  </packing>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="name">keypad</property>
                    <property name="title">Keypad</property>
                  </packing>
                </child>
                <child>
                  <object class="HdyColumn">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="halign">fill</property>
                    <property name="valign">fill</property>
                    <property name="margin-bottom">32</property>
591
592
                    <property name="margin-start">12</property>
                    <property name="margin-end">12</property>
593
594
595
596
                    <property name="margin-top">32</property>
                    <property name="expand">True</property>
                    <property name="maximum-width">400</property>
                    <property name="linear-growth-width">300</property>
597
                    <child>
598
                      <object class="GtkBox">
599
                        <property name="visible">True</property>
600
                        <property name="orientation">vertical</property>
601
602
603
                        <property name="can_focus">False</property>
                        <property name="valign">start</property>
                        <property name="expand">True</property>
604
                        <child>
605
                          <object class="GtkBox">
606
                            <property name="visible">True</property>
607
                            <property name="orientation">vertical</property>
608
                            <property name="can_focus">False</property>
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <property name="margin-bottom">32</property>
                            <property name="expand">True</property>
                            <child>
                              <object class="GtkImage">
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="valign">center</property>
                                <property name="pixel_size">128</property>
                                <property name="icon_name">input-dialpad-symbolic</property>
                                <property name="icon-size">0</property>
                                <property name="margin-bottom">18</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <property name="visible">True</property>
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
                                    <property name="opacity">0.5</property>
                                    <property name="can_focus">False</property>
                                    <property name="label" translatable="yes">Dialer</property>
                                    <property name="halign">center</property>
                                    <property name="xalign">0</property>
                                    <property name="margin-bottom">12</property>
                                    <attributes>
                                      <attribute name="weight" value="bold"/>
                                      <attribute name="scale" value="2"/>
                                    </attributes>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
                                    <property name="opacity">0.5</property>
                                    <property name="can_focus">False</property>
                                    <property name="label" translatable="yes">A number dialer.</property>
                                    <property name="justify">center</property>
                                    <property name="use_markup">true</property>
                                    <property name="wrap">True</property>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
675
676
677
                          </object>
                        </child>
                        <child>
678
                          <object class="HdyColumn">
679
680
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
                            <property name="maximum-width">300</property>
                            <property name="linear-growth-width">300</property>
                            <child>
                              <object class="GtkBox" id="box_dialer">
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="valign">center</property>
                                <property name="hexpand">True</property>
                                <property name="orientation">vertical</property>
                                <property name="spacing">12</property>
                                <child>
                                  <object class="GtkLabel" id="display">
                                    <property name="visible">True</property>
                                    <property name="can_focus">False</property>
                                    <property name="single_line_mode">True</property>
                                    <attributes>
                                      <attribute name="scale" value="1.6"/>
                                    </attributes>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                    <property name="position">0</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="HdyDialer" id="dialer">
                                    <property name="visible">True</property>
                                    <property name="can_focus">False</property>
                                    <property name="column_spacing">10</property>
                                    <property name="hexpand">True</property>
                                    <property name="row_spacing">8</property>
                                    <property name="valign">center</property>
                                    <signal name="deleted" handler="deleted_cb" after="yes" swapped="no"/>
                                    <signal name="submitted" handler="submitted_cb" after="yes" swapped="no"/>
                                    <signal name="symbol-clicked" handler="symbol_clicked_cb" after="yes" swapped="no"/>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                    <property name="position">1</property>
                                  </packing>
                                </child>
                              </object>
                            </child>
726
727
                          </object>
                        </child>
728
729
                      </object>
                    </child>
Guido Gunther's avatar
Guido Gunther committed
730
                  </object>
Guido Gunther's avatar
Guido Gunther committed
731
                  <packing>
732
733
                    <property name="name">dialer</property>
                    <property name="title">Dialer</property>
Guido Gunther's avatar
Guido Gunther committed
734
735
736
                  </packing>
                </child>
                <child>
737
                  <object class="HdyColumn">
Guido Gunther's avatar
Guido Gunther committed
738
739
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
740
                    <property name="halign">fill</property>
741
742
743
744
745
                    <property name="valign">fill</property>
                    <property name="margin-bottom">32</property>
                    <property name="margin-start">12</property>
                    <property name="margin-end">12</property>
                    <property name="margin-top">32</property>
Adrien Plazas's avatar
Adrien Plazas committed
746
                    <property name="expand">True</property>
747
748
                    <property name="maximum-width" bind-source="column_width_adjustment" bind-property="value" bind-flags="sync-create"/>
                    <property name="linear-growth-width" bind-source="column_linear_width_adjustment" bind-property="value" bind-flags="sync-create"/>
Adrien Plazas's avatar
Adrien Plazas committed
749
750
751
752
753
                    <child>
                      <object class="GtkBox">
                        <property name="visible">True</property>
                        <property name="orientation">vertical</property>
                        <property name="can_focus">False</property>
754
                        <property name="valign">start</property>
Adrien Plazas's avatar
Adrien Plazas committed
755
756
757
758
759
                        <property name="expand">True</property>
                        <child>
                          <object class="GtkBox">
                            <property name="visible">True</property>
                            <property name="orientation">vertical</property>
760
761
762
763
764
                            <property name="can_focus">False</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <property name="margin-bottom">32</property>
                            <property name="expand">True</property>
Adrien Plazas's avatar
Adrien Plazas committed
765
                            <child>
766
                              <object class="GtkImage">
Adrien Plazas's avatar
Adrien Plazas committed
767
768
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
769
770
771
772
773
774
775
776
                                <property name="valign">center</property>
                                <property name="pixel_size">128</property>
                                <property name="icon_name">edit-select-symbolic</property>
                                <property name="icon-size">0</property>
                                <property name="margin-bottom">18</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
Adrien Plazas's avatar
Adrien Plazas committed
777
778
779
780
781
782
783
784
785
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <property name="visible">True</property>
786
                                <property name="orientation">vertical</property>
Adrien Plazas's avatar
Adrien Plazas committed
787
788
789
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
790
                                    <property name="opacity">0.5</property>
Adrien Plazas's avatar
Adrien Plazas committed
791
                                    <property name="can_focus">False</property>
792
793
                                    <property name="label" translatable="yes">Column</property>
                                    <property name="halign">center</property>
Adrien Plazas's avatar
Adrien Plazas committed
794
                                    <property name="xalign">0</property>
795
796
797
798
799
                                    <property name="margin-bottom">12</property>
                                    <attributes>
                                      <attribute name="weight" value="bold"/>
                                      <attribute name="scale" value="2"/>
                                    </attributes>
Adrien Plazas's avatar
Adrien Plazas committed
800
801
                                  </object>
                                  <packing>
802
                                    <property name="expand">False</property>
Adrien Plazas's avatar
Adrien Plazas committed
803
804
805
806
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                                <child>
807
                                  <object class="GtkLabel">
Adrien Plazas's avatar
Adrien Plazas committed
808
                                    <property name="visible">True</property>
809
                                    <property name="opacity">0.5</property>
Adrien Plazas's avatar
Adrien Plazas committed
810
                                    <property name="can_focus">False</property>
811
812
813
814
                                    <property name="label" translatable="yes">This column smoothly grows up to a maximum width.</property>
                                    <property name="justify">center</property>
                                    <property name="use_markup">true</property>
                                    <property name="wrap">True</property>
Adrien Plazas's avatar
Adrien Plazas committed
815
816
817
818
819
820
821
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                              </object>
822
823
824
825
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
Adrien Plazas's avatar
Adrien Plazas committed
826
                            </child>
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="expand">True</property>
                            <property name="label" translatable="yes">Column</property>
                            <property name="justify">left</property>
                            <property name="halign">start</property>
                            <property name="margin-bottom">12</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                            </attributes>
                          </object>
                        </child>
                        <child>
844
                          <object class="GtkListBox" id="column_listbox">
845
846
847
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="expand">True</property>
848
849
850
851
                            <property name="selection-mode">none</property>
                            <style>
                              <class name="frame"/>
                            </style>
852
                            <child>
853
                              <object class="HdyActionRow">
854
                                <property name="can_focus">False</property>
855
856
857
858
859
860
                                <property name="title" translatable="yes">Maximum width</property>
                                <property name="visible">True</property>
                                <child type="action">
                                  <object class="GtkSpinButton">
                                    <property name="adjustment">column_width_adjustment</property>
                                    <property name="valign">center</property>
Adrien Plazas's avatar
Adrien Plazas committed
861
                                    <property name="visible">True</property>
862
                                  </object>
863
                                </child>
864
865
866
867
868
869
870
871
872
873
874
                              </object>
                            </child>
                            <child>
                              <object class="HdyActionRow">
                                <property name="can_focus">False</property>
                                <property name="title" translatable="yes">Linear growth width</property>
                                <property name="visible">True</property>
                                <child type="action">
                                  <object class="GtkSpinButton">
                                    <property name="adjustment">column_linear_width_adjustment</property>
                                    <property name="valign">center</property>
Adrien Plazas's avatar
Adrien Plazas committed
875
                                    <property name="visible">True</property>
876
877
878
879
                                  </object>
                                </child>
                              </object>
                            </child>
Adrien Plazas's avatar
Adrien Plazas committed
880
881
882
883
884
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
885
886
887
888
                  <packing>
                    <property name="name">column</property>
                    <property name="title">Column</property>
                  </packing>
Adrien Plazas's avatar
Adrien Plazas committed
889
                </child>
Adrien Plazas's avatar
Adrien Plazas committed
890
891
892
893
894
895
896
897
898
899
900
                <child>
                  <object class="HdyColumn">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="halign">fill</property>
                    <property name="valign">fill</property>
                    <property name="margin-bottom">32</property>
                    <property name="margin-start">12</property>
                    <property name="margin-end">12</property>
                    <property name="margin-top">32</property>
                    <property name="expand">True</property>
901
902
                    <property name="maximum-width">400</property>
                    <property name="linear-growth-width">300</property>
Adrien Plazas's avatar
Adrien Plazas committed
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
                    <child>
                      <object class="GtkBox">
                        <property name="visible">True</property>
                        <property name="orientation">vertical</property>
                        <property name="can_focus">False</property>
                        <property name="valign">start</property>
                        <property name="expand">True</property>
                        <child>
                          <object class="GtkBox">
                            <property name="visible">True</property>
                            <property name="orientation">vertical</property>
                            <property name="can_focus">False</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <property name="margin-bottom">32</property>
                            <property name="expand">True</property>
                            <child>
                              <object class="GtkImage">
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="valign">center</property>
                                <property name="pixel_size">128</property>
                                <property name="icon_name">format-justify-fill-symbolic</property>
                                <property name="icon-size">0</property>
                                <property name="margin-bottom">18</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <property name="visible">True</property>
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
                                    <property name="opacity">0.5</property>
                                    <property name="can_focus">False</property>
                                    <property name="label" translatable="yes">Lists</property>
                                    <property name="halign">center</property>
                                    <property name="xalign">0</property>
                                    <property name="margin-bottom">12</property>
                                    <attributes>
                                      <attribute name="weight" value="bold"/>
                                      <attribute name="scale" value="2"/>
                                    </attributes>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="visible">True</property>
                                    <property name="opacity">0.5</property>
                                    <property name="can_focus">False</property>
                                    <property name="label" translatable="yes">Rows and helpers for &lt;i&gt;GtkListBox&lt;/i&gt;.</property>
                                    <property name="justify">center</property>
                                    <property name="use_markup">true</property>
                                    <property name="wrap">True</property>
                                  </object>
                                  <packing>
                                    <property name="expand">False</property>
                                    <property name="fill">True</property>
                                  </packing>
                                </child>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                              </packing>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="expand">True</property>
                            <property name="label" translatable="yes">Lists</property>
                            <property name="justify">left</property>
                            <property name="halign">start</property>
                            <property name="margin-bottom">12</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                            </attributes>
                          </object>
                        </child>
                        <child>
998
                          <object class="GtkListBox" id="lists_listbox">
Adrien Plazas's avatar
Adrien Plazas committed
999
1000
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>