Debian Codegraph @

src/tools/ui/tool-text.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface domain="drawing">
3 <object class="GtkPopover" id="insertion-popover">
4 <property name="visible">True</property>
5 <child>
6 <object class="GtkBox">
7 <property name="visible">True</property>
8 <property name="margin">2</property>
9 <property name="spacing">2</property>
10 <property name="orientation">vertical</property>
11 <child>
12 <object class="GtkFrame">
13 <property name="visible">True</property>
14 <child>
15 <object class="GtkTextView" id="entry">
16 <property name="visible">True</property>
17 <property name="accepts-tab">False</property>
18 </object>
19 </child>
20 </object>
21 </child>
22 <child>
23 <object class="GtkBox">
24 <property name="visible">True</property>
25 <property name="orientation">horizontal</property>
26 <child>
27 <object class="GtkButton">
28 <property name="visible">True</property>
29 <property name="action-name">win.text-cancel</property>
30 <property name="tooltip_text" translatable="yes">Cancel</property>
31 <child>
32 <object class="GtkImage">
33 <property name="icon-name">window-close-symbolic</property>
34 <property name="visible">True</property>
35 </object>
36 </child>
37 </object>
38 </child>
39 <child>
40 <object class="GtkButton">
41 <property name="visible">True</property>
42 <property name="action-name">win.text-preview</property>
43 <property name="tooltip_text" translatable="yes">Preview</property>
44 <child>
45 <object class="GtkImage">
46 <property name="icon-name">view-refresh-symbolic</property>
47 <property name="visible">True</property>
48 </object>
49 </child>
50 </object>
51 </child>
52 <child>
53 <object class="GtkButton">
54 <property name="visible">True</property>
55 <property name="expand">True</property>
56 <property name="action-name">win.text-insert</property>
57 <property name="tooltip_text" translatable="yes">Insert here</property>
58 <property name="label" translatable="yes">Insert here</property>
59 <style><class name="suggested-action"/></style>
60 </object>
61 <packing>
62 <property name="pack-type">end</property>
63 </packing>
64 </child>
65 <style><class name="linked"/></style>
66 </object>
67 </child>
68 </object>
69 </child>
70 </object>
71
72 <!-- -->
73
74 <menu id="options-menu">
75 <section>
76 <attribute name="label" translatable="yes">Font</attribute>
77 <item>
78 <attribute name="label" translatable="yes">Select a font…</attribute>
79 <attribute name="action">win.text-set-font</attribute>
80 </item>
81 <item>
82 <attribute name="label" translatable="yes">Italic</attribute>
83 <attribute name="action">win.text-italic</attribute>
84 </item>
85 <item>
86 <attribute name="label" translatable="yes">Bold</attribute>
87 <attribute name="action">win.text-bold</attribute>
88 </item>
89 </section>
90 <section>
91 <!-- Context: the types of background behind the inserted text -->
92 <attribute name="label" translatable="yes">Background</attribute>
93 <section>
94 <item>
95 <!-- Context: a type of background behind the inserted text -->
96 <attribute name="label" translatable="yes">No background</attribute>
97 <attribute name="action">win.text-background</attribute>
98 <attribute name="target">none</attribute>
99 </item>
100 <item>
101 <!-- Context: a type of background behind the inserted text -->
102 <attribute name="label" translatable="yes">Shadow</attribute>
103 <attribute name="action">win.text-background</attribute>
104 <attribute name="target">shadow</attribute>
105 </item>
106 <item>
107 <!-- Context: a type of background behind the inserted text -->
108 <attribute name="label" translatable="yes">Thin outline</attribute>
109 <attribute name="action">win.text-background</attribute>
110 <attribute name="target">thin-outline</attribute>
111 </item>
112 <item>
113 <!-- Context: a type of background behind the inserted text -->
114 <attribute name="label" translatable="yes">Thick outline</attribute>
115 <attribute name="action">win.text-background</attribute>
116 <attribute name="target">thick-outline</attribute>
117 </item>
118 <item>
119 <!-- Context: a type of background behind the inserted text -->
120 <attribute name="label" translatable="yes">Rectangle background</attribute>
121 <attribute name="action">win.text-background</attribute>
122 <attribute name="target">rectangle</attribute>
123 </item>
124 </section>
125 </section>
126 <section>
127 <item>
128 <attribute name="label" translatable="yes">Antialiasing</attribute>
129 <attribute name="action">win.antialias</attribute>
130 </item>
131 </section>
132 <section>
133 <attribute name="display-hint">horizontal-buttons</attribute>
134 <item>
135 <attribute name="label" translatable="yes">Cancel</attribute>
136 <attribute name="action">win.text-cancel</attribute>
137 <attribute name="verb-icon">window-close-symbolic</attribute>
138 </item>
139 <item>
140 <attribute name="label" translatable="yes">Preview</attribute>
141 <attribute name="action">win.text-preview</attribute>
142 <attribute name="verb-icon">view-refresh-symbolic</attribute>
143 </item>
144 <item>
145 <attribute name="label" translatable="yes">Insert here</attribute>
146 <attribute name="action">win.text-insert</attribute>
147 <attribute name="verb-icon">insert-text-symbolic</attribute>
148 </item>
149 </section>
150 </menu>
151 </interface>