summaryrefslogtreecommitdiffstats
path: root/panels/keyboard/cc-xkb-modifier-dialog.ui
blob: e5612ba67b4a01c9f1fa161971cb92f95467e9f3 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="CcXkbModifierDialog" parent="GtkDialog">
    <property name="modal">True</property>
    <property name="resizable">False</property>
    <property name="default_width">500</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>

        <child>
          <object class="GtkBox">
            <property name="margin-top">18</property>
            <property name="margin-bottom">18</property>
            <property name="margin-start">18</property>
            <property name="margin-end">18</property>
            <property name="spacing">18</property>
            <property name="orientation">vertical</property>

            <child>
              <object class="GtkLabel" id="description_label">
                <property name="margin_top">6</property>
                <property name="wrap">True</property>
                <property name="width_chars">40</property>
                <property name="max_width_chars">40</property>
                <property name="xalign">0</property>
              </object>
            </child>

            <child>
              <object class="GtkListBox" id="switch_listbox">
                <style>
                  <class name="boxed-list"/>
                </style>
                <child>
                  <object class="AdwActionRow" id="switch_row">
                    <property name="activatable">False</property>
                    <property name="selectable">False</property>
                    <child>
                      <object class="GtkSwitch" id="enabled_switch">
                        <property name="valign">center</property>
                        <accessibility>
                          <property name="label" translatable="yes">Enabled</property>
                        </accessibility>
                        <signal name="state-set" handler="enable_switch_changed_cb" object="CcXkbModifierDialog" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkListBox" id="listbox">
                <style>
                  <class name="boxed-list"/>
                </style>
              </object>
            </child>

          </object>
        </child>

      </object>
    </child>

    <child internal-child="headerbar">
      <object class="GtkHeaderBar">
        <property name="show-title-buttons">True</property>
      </object>
    </child>
  </template>
</interface>