summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-c-gnome3/hello.ui
blob: a68f926fcffd9c1941a28f89e6b11293203faa29 (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
<?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="alignment">
            <property name="visible">True</property>
            <property name="xalign">0.5</property>
            <property name="yalign">0.5</property>
            <property name="xscale">0</property>
            <property name="yscale">0</property>
            <property name="vexpand">True</property>
            <child>
              <object class="GtkLabel" id="label">
                <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" translatable="yes">Update text</property>
                <property name="use_stock">False</property>
              </object>
              <packing>
                <property name="pack-type">end</property>
              </packing>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>