summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-c-gnome3/hello.ui
blob: 9dc5c087bde4bb3492522fe239bbc6d6c3153ca8 (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>
  <!-- interface-requires gtk+ 3.10 -->
  <template class="HelloApplicationWindow" parent="GtkApplicationWindow">
    <property name="title" translatable="yes">Example Application</property>
    <property name="default-width">600</property>
    <property name="default-height">400</property>
    <child>
      <object class="GtkBox" id="panel">
        <property name="visible">True</property>
        <property name="orientation">vertical</property>
        <child>
	  <object class="GtkAlignment" id="label1aligned">
            <property name="visible">True</property>
            <property name="xalign">0.0</property>
            <property name="yalign">0.5</property>
            <property name="xscale">0</property>
            <property name="yscale">0</property>
            <child>
	      <object class="GtkLabel" id="label1">
		<property name="visible">True</property>
                <property name="label" translatable="yes">Hello, world!</property>
	      </object>
	    </child>
	  </object>
        </child>
        <child>
	  <object class="GtkAlignment" id="label2aligned">
            <property name="visible">True</property>
            <property name="xalign">0.0</property>
            <property name="yalign">0.5</property>
            <property name="xscale">0</property>
            <property name="yscale">0</property>
            <child>
	      <object class="GtkLabel" id="label2">
		<property name="visible">True</property>
	      </object>
	    </child>
	  </object>
        </child>
        <child>
	  <object class="GtkHButtonBox" id="buttonbar">
            <property name="visible">True</property>
	    <child>
	      <object class="GtkButton" id="button">
		<property name="visible">True</property>
                <property name="label">gtk-ok</property>
                <property name="use_stock">True</property>
	      </object>
	    </child>
	  </object>
        </child>
      </object>
    </child>
  </template>
</interface>