Minor change: Added constant for strings
[wordblah.git] / wordblah_player.glade
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.22.2 -->
3 <interface>
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkListStore" id="store_across_clues">
6 <columns>
7 <!-- column-name ID -->
8 <column type="gint"/>
9 <!-- column-name Clue -->
10 <column type="gchararray"/>
11 </columns>
12 </object>
13 <object class="GtkListStore" id="store_down_clues">
14 <columns>
15 <!-- column-name ID -->
16 <column type="gint"/>
17 <!-- column-name Clue -->
18 <column type="gchararray"/>
19 </columns>
20 </object>
21 <object class="GtkWindow" id="main_window">
22 <property name="can_focus">False</property>
23 <property name="title" translatable="yes">Wordblah Player</property>
24 <property name="default_width">540</property>
25 <property name="default_height">400</property>
26 <signal name="destroy" handler="on_menu_exit_activate" swapped="no"/>
27 <child type="titlebar">
28 <placeholder/>
29 </child>
30 <child>
31 <object class="GtkBox">
32 <property name="visible">True</property>
33 <property name="can_focus">False</property>
34 <property name="orientation">vertical</property>
35 <child>
36 <object class="GtkMenuBar" id="main_menu">
37 <property name="visible">True</property>
38 <property name="can_focus">False</property>
39 <child>
40 <object class="GtkMenuItem" id="menu_puzzle">
41 <property name="visible">True</property>
42 <property name="can_focus">False</property>
43 <property name="label" translatable="yes">_Puzzle</property>
44 <property name="use_underline">True</property>
45 <child type="submenu">
46 <object class="GtkMenu">
47 <property name="visible">True</property>
48 <property name="can_focus">False</property>
49 <child>
50 <object class="GtkMenuItem" id="menu_open">
51 <property name="visible">True</property>
52 <property name="can_focus">False</property>
53 <property name="label" translatable="yes">_Open...</property>
54 <property name="use_underline">True</property>
55 <signal name="activate" handler="on_menu_open_activate" object="puzzle_area" swapped="no"/>
56 </object>
57 </child>
58 <child>
59 <object class="GtkSeparatorMenuItem">
60 <property name="visible">True</property>
61 <property name="can_focus">False</property>
62 </object>
63 </child>
64 <child>
65 <object class="GtkMenuItem" id="menu_exit">
66 <property name="visible">True</property>
67 <property name="can_focus">False</property>
68 <property name="label" translatable="yes">E_xit</property>
69 <property name="use_underline">True</property>
70 <signal name="activate" handler="on_menu_exit_activate" swapped="no"/>
71 </object>
72 </child>
73 </object>
74 </child>
75 </object>
76 </child>
77 <child>
78 <object class="GtkMenuItem" id="menu_grid">
79 <property name="visible">True</property>
80 <property name="can_focus">False</property>
81 <property name="label" translatable="yes">_Grid</property>
82 <property name="use_underline">True</property>
83 <child type="submenu">
84 <object class="GtkMenu">
85 <property name="visible">True</property>
86 <property name="can_focus">False</property>
87 <child>
88 <object class="GtkMenuItem" id="menu_save_grid_state">
89 <property name="visible">True</property>
90 <property name="can_focus">False</property>
91 <property name="label" translatable="yes">_Save Grid State...</property>
92 <property name="use_underline">True</property>
93 <signal name="activate" handler="on_menu_save_grid_state_activate" swapped="no"/>
94 </object>
95 </child>
96 <child>
97 <object class="GtkMenuItem" id="menu_load_grid_state">
98 <property name="visible">True</property>
99 <property name="can_focus">False</property>
100 <property name="label" translatable="yes">_Load Grid State...</property>
101 <property name="use_underline">True</property>
102 <signal name="activate" handler="on_menu_load_grid_state_activate" object="puzzle_area" swapped="no"/>
103 </object>
104 </child>
105 </object>
106 </child>
107 </object>
108 </child>
109 <child>
110 <object class="GtkMenuItem" id="menu_view">
111 <property name="visible">True</property>
112 <property name="can_focus">False</property>
113 <property name="label" translatable="yes">_View</property>
114 <property name="use_underline">True</property>
115 <child type="submenu">
116 <object class="GtkMenu">
117 <property name="visible">True</property>
118 <property name="can_focus">False</property>
119 <child>
120 <object class="GtkMenuItem" id="menu_reveal_solution">
121 <property name="visible">True</property>
122 <property name="can_focus">False</property>
123 <property name="label" translatable="yes">_Reveal Solution...</property>
124 <property name="use_underline">True</property>
125 <signal name="activate" handler="on_menu_reveal_solution_activate" object="puzzle_area" swapped="no"/>
126 </object>
127 </child>
128 </object>
129 </child>
130 </object>
131 </child>
132 <child>
133 <object class="GtkMenuItem" id="menu_help">
134 <property name="visible">True</property>
135 <property name="can_focus">False</property>
136 <property name="label" translatable="yes">_Help</property>
137 <property name="use_underline">True</property>
138 <child type="submenu">
139 <object class="GtkMenu">
140 <property name="visible">True</property>
141 <property name="can_focus">False</property>
142 <child>
143 <object class="GtkMenuItem" id="menu_about">
144 <property name="visible">True</property>
145 <property name="can_focus">False</property>
146 <property name="label" translatable="yes">_About...</property>
147 <property name="use_underline">True</property>
148 <signal name="activate" handler="on_menu_about_activate" swapped="no"/>
149 </object>
150 </child>
151 </object>
152 </child>
153 </object>
154 </child>
155 </object>
156 <packing>
157 <property name="expand">False</property>
158 <property name="fill">True</property>
159 <property name="position">0</property>
160 </packing>
161 </child>
162 <child>
163 <object class="GtkPaned">
164 <property name="visible">True</property>
165 <property name="can_focus">True</property>
166 <child>
167 <object class="GtkScrolledWindow">
168 <property name="width_request">80</property>
169 <property name="height_request">80</property>
170 <property name="visible">True</property>
171 <property name="can_focus">True</property>
172 <property name="shadow_type">in</property>
173 <child>
174 <object class="GtkViewport">
175 <property name="visible">True</property>
176 <property name="can_focus">False</property>
177 <property name="hscroll_policy">natural</property>
178 <property name="vscroll_policy">natural</property>
179 <child>
180 <object class="GtkDrawingArea" id="puzzle_area">
181 <property name="visible">True</property>
182 <property name="can_focus">True</property>
183 <property name="has_focus">True</property>
184 <property name="can_default">True</property>
185 <property name="has_default">True</property>
186 <signal name="button-press-event" handler="on_puzzle_area_button_press_event" swapped="no"/>
187 <signal name="draw" handler="on_puzzle_area_draw" swapped="no"/>
188 <signal name="key-press-event" handler="on_puzzle_area_key_press_event" swapped="no"/>
189 </object>
190 </child>
191 </object>
192 </child>
193 </object>
194 <packing>
195 <property name="resize">True</property>
196 <property name="shrink">True</property>
197 </packing>
198 </child>
199 <child>
200 <object class="GtkPaned">
201 <property name="visible">True</property>
202 <property name="can_focus">False</property>
203 <property name="orientation">vertical</property>
204 <child>
205 <object class="GtkScrolledWindow">
206 <property name="visible">True</property>
207 <property name="can_focus">False</property>
208 <property name="shadow_type">in</property>
209 <child>
210 <object class="GtkTreeView" id="list_across_clues">
211 <property name="visible">True</property>
212 <property name="can_focus">False</property>
213 <property name="model">store_across_clues</property>
214 <property name="enable_search">False</property>
215 <property name="search_column">0</property>
216 <property name="show_expanders">False</property>
217 <child internal-child="selection">
218 <object class="GtkTreeSelection">
219 <signal name="changed" handler="on_across_list_selection_changed" object="puzzle_area" swapped="no"/>
220 </object>
221 </child>
222 <child>
223 <object class="GtkTreeViewColumn" id="id">
224 <property name="resizable">True</property>
225 <property name="title" translatable="yes">Id</property>
226 <child>
227 <object class="GtkCellRendererText"/>
228 <attributes>
229 <attribute name="text">0</attribute>
230 </attributes>
231 </child>
232 </object>
233 </child>
234 <child>
235 <object class="GtkTreeViewColumn" id="ClueAcross">
236 <property name="resizable">True</property>
237 <property name="title" translatable="yes">Clues Across</property>
238 <child>
239 <object class="GtkCellRendererText"/>
240 <attributes>
241 <attribute name="text">1</attribute>
242 <attribute name="placeholder-text">1</attribute>
243 </attributes>
244 </child>
245 </object>
246 </child>
247 </object>
248 </child>
249 </object>
250 <packing>
251 <property name="resize">True</property>
252 <property name="shrink">True</property>
253 </packing>
254 </child>
255 <child>
256 <object class="GtkScrolledWindow">
257 <property name="visible">True</property>
258 <property name="can_focus">False</property>
259 <property name="shadow_type">in</property>
260 <child>
261 <object class="GtkTreeView" id="list_down_clues">
262 <property name="visible">True</property>
263 <property name="can_focus">False</property>
264 <property name="model">store_down_clues</property>
265 <property name="enable_search">False</property>
266 <property name="search_column">0</property>
267 <property name="show_expanders">False</property>
268 <child internal-child="selection">
269 <object class="GtkTreeSelection">
270 <signal name="changed" handler="on_down_list_selection_changed" object="puzzle_area" swapped="no"/>
271 </object>
272 </child>
273 <child>
274 <object class="GtkTreeViewColumn" id="ID">
275 <property name="resizable">True</property>
276 <property name="title" translatable="yes">Id</property>
277 <child>
278 <object class="GtkCellRendererText"/>
279 <attributes>
280 <attribute name="text">0</attribute>
281 </attributes>
282 </child>
283 </object>
284 </child>
285 <child>
286 <object class="GtkTreeViewColumn" id="ClueDown">
287 <property name="resizable">True</property>
288 <property name="title" translatable="yes">Clues Down</property>
289 <child>
290 <object class="GtkCellRendererText"/>
291 <attributes>
292 <attribute name="text">1</attribute>
293 </attributes>
294 </child>
295 </object>
296 </child>
297 </object>
298 </child>
299 </object>
300 <packing>
301 <property name="resize">True</property>
302 <property name="shrink">True</property>
303 </packing>
304 </child>
305 </object>
306 <packing>
307 <property name="resize">True</property>
308 <property name="shrink">True</property>
309 </packing>
310 </child>
311 </object>
312 <packing>
313 <property name="expand">True</property>
314 <property name="fill">True</property>
315 <property name="position">1</property>
316 </packing>
317 </child>
318 </object>
319 </child>
320 </object>
321 <object class="GtkDialog" id="password_dialog">
322 <property name="can_focus">False</property>
323 <property name="title" translatable="yes">Password</property>
324 <property name="resizable">False</property>
325 <property name="hide_titlebar_when_maximized">True</property>
326 <property name="type_hint">dialog</property>
327 <property name="transient_for">main_window</property>
328 <child type="titlebar">
329 <placeholder/>
330 </child>
331 <child internal-child="vbox">
332 <object class="GtkBox">
333 <property name="can_focus">False</property>
334 <property name="margin_left">10</property>
335 <property name="margin_right">10</property>
336 <property name="margin_top">10</property>
337 <property name="margin_bottom">10</property>
338 <property name="orientation">vertical</property>
339 <property name="spacing">2</property>
340 <child internal-child="action_area">
341 <object class="GtkButtonBox">
342 <property name="can_focus">False</property>
343 <property name="layout_style">end</property>
344 <child>
345 <object class="GtkButton" id="button1">
346 <property name="label">gtk-cancel</property>
347 <property name="visible">True</property>
348 <property name="can_focus">True</property>
349 <property name="receives_default">False</property>
350 <property name="use_stock">True</property>
351 <property name="always_show_image">True</property>
352 </object>
353 <packing>
354 <property name="expand">True</property>
355 <property name="fill">True</property>
356 <property name="position">0</property>
357 </packing>
358 </child>
359 <child>
360 <object class="GtkButton" id="button2">
361 <property name="label">gtk-ok</property>
362 <property name="visible">True</property>
363 <property name="can_focus">True</property>
364 <property name="can_default">True</property>
365 <property name="receives_default">False</property>
366 <property name="use_stock">True</property>
367 <property name="always_show_image">True</property>
368 </object>
369 <packing>
370 <property name="expand">True</property>
371 <property name="fill">True</property>
372 <property name="position">1</property>
373 </packing>
374 </child>
375 </object>
376 <packing>
377 <property name="expand">False</property>
378 <property name="fill">False</property>
379 <property name="position">0</property>
380 </packing>
381 </child>
382 <child>
383 <object class="GtkLabel">
384 <property name="visible">True</property>
385 <property name="can_focus">False</property>
386 <property name="label" translatable="yes">Password for revealing solution</property>
387 </object>
388 <packing>
389 <property name="expand">False</property>
390 <property name="fill">True</property>
391 <property name="position">1</property>
392 </packing>
393 </child>
394 <child>
395 <object class="GtkEntry" id="password_text">
396 <property name="visible">True</property>
397 <property name="can_focus">True</property>
398 <property name="max_length">256</property>
399 <property name="visibility">False</property>
400 <property name="invisible_char">●</property>
401 <property name="activates_default">True</property>
402 <property name="input_purpose">password</property>
403 </object>
404 <packing>
405 <property name="expand">False</property>
406 <property name="fill">True</property>
407 <property name="position">3</property>
408 </packing>
409 </child>
410 </object>
411 </child>
412 <action-widgets>
413 <action-widget response="-6">button1</action-widget>
414 <action-widget response="-3">button2</action-widget>
415 </action-widgets>
416 </object>
417 </interface>