summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/path_text.ui
blob: ffd96a7d6b7b147d32ed4e6e0a3898c2ab5adeed (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="GtkWindow" id="window">
    <property name="title" translatable="yes">Text along a Path</property>
    <child type="titlebar">
      <object class="GtkHeaderBar">
        <child type="end">
          <object class="GtkToggleButton" id="edit-toggle">
            <property name="icon-name">document-edit-symbolic</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkRevealer">
            <property name="reveal-child" bind-source="edit-toggle" bind-property="active" bind-flags="sync-create"></property>
            <child>
              <object class="GtkEntry" id="text">
                <property name="text">Through the looking glass</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkPathWidget" id="view">
            <property name="editable" bind-source="edit-toggle" bind-property="active" bind-flags="sync-create"></property>
            <property name="text" bind-source="text" bind-property="text" bind-flags="sync-create"></property>
            <property name="hexpand">true</property>
            <property name="vexpand">true</property>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>