summaryrefslogtreecommitdiffstats
path: root/panels/universal-access/cc-cursor-blinking-dialog.ui
blob: e31e6120c230cde1d2cb894a5ce004fffadff561 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <template class="CcCursorBlinkingDialog" parent="GtkDialog">
    <property name="title" translatable="yes">Cursor Blinking</property>
    <property name="resizable">False</property>
    <property name="modal">True</property>
    <property name="use_header_bar">1</property>
    <child internal-child="headerbar">
      <object class="GtkHeaderBar">
        <child>
          <object class="GtkSwitch" id="enable_switch">
            <property name="valign">center</property>
            <accessibility>
              <property name="label" translatable="yes">Enable</property>
            </accessibility>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="margin_start">12</property>
        <property name="margin_end">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel">
            <property name="use_underline">True</property>
            <property name="xalign">0</property>
            <property name="label" translatable="yes">Cursor blinks in text fields.</property>
            <property name="margin_start">12</property>
            <property name="margin_end">6</property>
            <property name="margin_top">6</property>
            <property name="margin_bottom">12</property>
          </object>
        </child>
        <child>
          <object class="GtkGrid">
            <property name="valign">start</property>
            <property name="margin_start">12</property>
            <property name="margin_end">6</property>
            <property name="margin_top">6</property>
            <property name="margin_bottom">12</property>
            <property name="orientation">vertical</property>
            <property name="row_spacing">18</property>
            <property name="column_spacing">24</property>
            <child>
              <object class="GtkBox">
                <property name="valign">start</property>
                <property name="orientation">vertical</property>
                <property name="spacing">6</property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">1</property>
                </layout>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel">
                        <property name="use_underline">True</property>
                        <property name="xalign">0</property>
                        <property name="label" translatable="yes">Speed</property>
                        <property name="mnemonic_widget">blink_time_scale</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkScale" id="blink_time_scale">
                <property name="hexpand">True</property>
                <property name="adjustment">blink_time_adjustment</property>
                <property name="draw_value">False</property>
                <property name="width-request">400</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">1</property>
                </layout>
                <accessibility>
                  <property name="label" translatable="yes">Cursor blinking speed</property>
                </accessibility>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkAdjustment" id="blink_time_adjustment">
    <property name="lower">100</property>
    <property name="upper">2500</property>
    <property name="value">1000</property>
    <property name="step_increment">200</property>
    <property name="page_increment">200</property>
  </object>
</interface>