File: TextView.ui

package info (click to toggle)
apostrophe 3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,408 kB
  • sloc: python: 5,733; xml: 226; sh: 66; javascript: 50; makefile: 2
file content (96 lines) | stat: -rw-r--r-- 3,811 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0" />
  <object class="ApostropheTextBuffer" id="buffer">
    <signal name="mark-set" handler="_on_mark_set" />
    <signal name="paste-done" handler="_on_paste_done" />
    <signal name="changed" handler="_on_text_changed" />
  </object>
  <template class="ApostropheTextView" parent="GtkSourceView">
    <property name="wrap-mode">word-char</property>
    <property name="pixels-above-lines">4</property>
    <property name="pixels-below-lines">4</property>
    <property name="pixels-inside-wrap">8</property>
    <property name="indent-on-tab">False</property>
    <property name="buffer">buffer</property>
    <child>
      <object class="GtkGestureClick" id="gesture_controller_context">
        <property name="button">0</property>
        <signal name="pressed" handler="_on_button_pressed_event" swapped="no" />
      </object>
    </child>
    <child>
      <object class="GtkGestureClick" id="gesture_controller">
        <signal name="released" handler="_on_button_release_event" swapped="no" />
      </object>
    </child>
    <child>
      <object class='GtkShortcutController'>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;i</property>
            <property name='action'>action(win.insert-italic)</property>
          </object>
        </child>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;b</property>
            <property name='action'>action(win.insert-bold)</property>
          </object>
        </child>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;r</property>
            <property name='action'>action(win.insert-hrule)</property>
          </object>
        </child>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;u</property>
            <property name='action'>action(win.insert-listitem)</property>
          </object>
        </child>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;&lt;Shift&gt;d</property>
            <property name='action'>action(win.insert-strikethrough)</property>
          </object>
        </child>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;1</property>
            <property name='action'>action(win.insert-header)</property>
            <property name='arguments'>1</property>
          </object>
        </child>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;2</property>
            <property name='action'>action(win.insert-header)</property>
            <property name='arguments'>2</property>
          </object>
        </child>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;3</property>
            <property name='action'>action(win.insert-header)</property>
            <property name='arguments'>3</property>
          </object>
        </child>
        <child>
          <object class='GtkShortcut'>
            <property name='trigger'>&lt;Control&gt;4</property>
            <property name='action'>action(win.insert-header)</property>
            <property name='arguments'>4</property>
          </object>
        </child>
      </object>
    </child>
    <style>
      <class name="apostrophe-editor" />
    </style>
    <signal name="notify::focus-mode" handler="_on_focus_mode_update" />
    <signal name="notify::spellcheck" handler="_on_spellcheck_update" />
    <signal name="notify::bigger-text" handler="update_font_size" />
  </template>
</interface>