Debian Codegraph @

src/ui/toolbar.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface domain="drawing">
3 <object class="GtkBox" id="toolbar">
4 <property name="orientation">horizontal</property>
5 <child>
6 <object class="GtkToolbar">
7 <property name="show-arrow">True</property>
8 <property name="icon-size">large-toolbar</property>
9 <child>
10 <object class="GtkMenuToolButton" id="new_menu_btn">
11 <property name="action-name">win.new_tab</property>
12 <property name="icon-name">tab-new</property>
13 <property name="tooltip-text" translatable="yes">New Image</property>
14 <property name="label" translatable="yes">New Image</property>
15 </object>
16 <packing>
17 <property name="homogeneous">False</property>
18 </packing>
19 </child>
20 <child>
21 <object class="GtkToolButton">
22 <property name="is-important">True</property>
23 <property name="action-name">win.open</property>
24 <property name="icon-name">document-open</property>
25 <property name="tooltip-text" translatable="yes">Open an image</property>
26 <property name="label" translatable="yes">Open</property>
27 </object>
28 <packing>
29 <property name="homogeneous">False</property>
30 </packing>
31 </child>
32 <child>
33 <object class="GtkSeparatorToolItem" />
34 </child>
35 <child>
36 <object class="GtkToolButton">
37 <property name="action-name">win.import</property>
38 <property name="icon-name">insert-image</property>
39 <property name="tooltip-text" translatable="yes">Import</property>
40 <property name="label" translatable="yes">Import</property>
41 </object>
42 <packing>
43 <property name="homogeneous">False</property>
44 </packing>
45 </child>
46 <child>
47 <object class="GtkToolButton">
48 <property name="action-name">win.paste</property>
49 <property name="icon-name">edit-paste</property>
50 <property name="tooltip-text" translatable="yes">Paste</property>
51 <property name="label" translatable="yes">Paste</property>
52 </object>
53 <packing>
54 <property name="homogeneous">False</property>
55 </packing>
56 </child>
57 <child>
58 <object class="GtkSeparatorToolItem" />
59 </child>
60 <child>
61 <object class="GtkToolButton">
62 <property name="is-important">True</property>
63 <property name="action-name">win.undo</property>
64 <property name="icon-name">edit-undo</property>
65 <property name="tooltip-text" translatable="yes">Undo</property>
66 <property name="label" translatable="yes">Undo</property>
67 </object>
68 <packing>
69 <property name="homogeneous">False</property>
70 </packing>
71 </child>
72 <child>
73 <object class="GtkToolButton">
74 <property name="action-name">win.redo</property>
75 <property name="icon-name">edit-redo</property>
76 <property name="tooltip-text" translatable="yes">Redo</property>
77 <property name="label" translatable="yes">Redo</property>
78 </object>
79 <packing>
80 <property name="homogeneous">False</property>
81 </packing>
82 </child>
83 <child>
84 <object class="GtkSeparatorToolItem" />
85 </child>
86 <child>
87 <object class="GtkMenuToolButton" id="save_menu_btn">
88 <property name="is-important">True</property>
89 <property name="action-name">win.save</property>
90 <property name="icon-name">document-save</property>
91 <property name="tooltip-text" translatable="yes">Save</property>
92 <property name="label" translatable="yes">Save</property>
93 </object>
94 <packing>
95 <property name="homogeneous">False</property>
96 </packing>
97 </child>
98 <child>
99 <object class="GtkSeparatorToolItem" />
100 </child>
101 <child>
102 <object class="GtkToolButton">
103 <property name="action-name">win.print</property>
104 <property name="icon-name">document-print</property>
105 <property name="tooltip-text" translatable="yes">Print</property>
106 <property name="label" translatable="yes">Print</property>
107 </object>
108 <packing>
109 <property name="homogeneous">False</property>
110 </packing>
111 </child>
112 <child>
113 <object class="GtkToolButton">
114 <property name="action-name">win.to_clipboard</property>
115 <property name="icon-name">send-to</property>
116 <property name="tooltip-text" translatable="yes">Copy to clipboard</property>
117 <property name="label" translatable="yes">Copy to clipboard</property>
118 </object>
119 <packing>
120 <property name="homogeneous">False</property>
121 </packing>
122 </child>
123 <child>
124 <object class="GtkSeparatorToolItem" />
125 </child>
126 <child>
127 <object class="GtkToolButton">
128 <property name="action-name">win.zoom_out</property>
129 <property name="icon-name">zoom-out</property>
130 <property name="tooltip-text" translatable="yes">Zoom Out</property>
131 <property name="label" translatable="yes">Zoom Out</property>
132 </object>
133 <packing>
134 <property name="homogeneous">False</property>
135 </packing>
136 </child>
137 <child>
138 <object class="GtkToolButton">
139 <property name="action-name">win.zoom_100</property>
140 <property name="icon-name">zoom-original</property>
141 <property name="tooltip-text" translatable="yes">Original Zoom</property>
142 <property name="label" translatable="yes">Original Zoom</property>
143 </object>
144 <packing>
145 <property name="homogeneous">False</property>
146 </packing>
147 </child>
148 <child>
149 <object class="GtkToolButton">
150 <property name="action-name">win.zoom_in</property>
151 <property name="icon-name">zoom-in</property>
152 <property name="tooltip-text" translatable="yes">Zoom In</property>
153 <property name="label" translatable="yes">Zoom In</property>
154 </object>
155 <packing>
156 <property name="homogeneous">False</property>
157 </packing>
158 </child>
159 </object>
160 </child>
161 <child>
162 <object class="GtkMenuButton" id="main_menu_btn">
163 <property name="relief">none</property>
164 <property name="valign">center</property>
165 <child>
166 <object class="GtkImage">
167 <property name="icon-name">open-menu</property>
168 <property name="visible">True</property>
169 </object>
170 </child>
171 </object>
172 <packing>
173 <property name="pack-type">end</property>
174 </packing>
175 </child>
176 </object>
177 </interface>