blob: 92f636a8caa2cf9697f7f32314e27e21e2eb3a1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window">
<property name="width_request">600</property>
<property name="height_request">400</property>
<property name="decorated">0</property>
<property name="child">
<object class="GtkGrid">
<property name="valign">center</property>
<property name="halign">center</property>
<property name="column-spacing">10</property>
<property name="row-spacing">10</property>
<child>
<object class="GtkLabel">
<property name="label">default width:</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<!-- This binding should never do anything because the text is set to
the correct value from the start, all we do is make sure it doesn't change -->
<property name="label" bind-source="window" bind-property="default-width">600</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label">default height:</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<!-- This binding should never do anything because the text is set to
the correct value from the start, all we do is make sure it doesn't change -->
<property name="label" bind-source="window" bind-property="default-height">400</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
</object>
</child>
</object>
</property>
</object>
</interface>
|