Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/gui.stetic @ 43:4e127ce8682f
Re #86: Complete initial GTK# UI
* Keep UI tidier by hiding category tree until we have an army
* Implement reloading files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 11 Aug 2010 19:23:43 +0000 |
parents | 8bc24ef82258 |
children | 5584860fb44b |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <stetic-interface> | |
3 <configuration> | |
4 <images-root-path>..</images-root-path> | |
5 | 5 <target-gtk-version>2.12</target-gtk-version> |
0 | 6 </configuration> |
7 <import> | |
12
685532d43a96
Re #88: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
8 <widget-library name="../../IBBoard.GtkSharp/bin/Debug/IBBoard.GtkSharp.dll" /> |
0 | 9 <widget-library name="../bin/Debug/WarFoundryGTK.exe" internal="true" /> |
10 </import> | |
5 | 11 <widget class="Gtk.Window" id="IBBoard.WarFoundry.GTK.FrmMainWindow" design-size="832 659"> |
0 | 12 <action-group name="Default"> |
13 <action id="menuFile"> | |
14 <property name="Type">Action</property> | |
15 <property name="Label" translatable="yes">File</property> | |
16 <property name="ShortLabel" translatable="yes">File</property> | |
17 </action> | |
18 <action id="miCreateArmy"> | |
19 <property name="Type">Action</property> | |
20 <property name="Label" translatable="yes">Create army</property> | |
21 <property name="ShortLabel" translatable="yes">Create army</property> | |
22 | 22 <property name="StockId">gtk-new</property> |
0 | 23 <signal name="Activated" handler="OnCreateArmyActivated" /> |
24 </action> | |
25 <action id="miOpenArmy"> | |
26 <property name="Type">Action</property> | |
27 <property name="Label" translatable="yes">Open army</property> | |
28 <property name="ShortLabel" translatable="yes">Open army</property> | |
22 | 29 <property name="StockId">gtk-open</property> |
0 | 30 <signal name="Activated" handler="OnOpenArmyActivated" /> |
31 </action> | |
32 <action id="miSaveArmy"> | |
33 <property name="Type">Action</property> | |
34 <property name="Label" translatable="yes">Save army</property> | |
35 <property name="Sensitive">False</property> | |
36 <property name="ShortLabel" translatable="yes">Save army</property> | |
22 | 37 <property name="StockId">gtk-save</property> |
0 | 38 <signal name="Activated" handler="OnSaveArmyActivated" /> |
39 </action> | |
40 <action id="miSaveArmyAs"> | |
41 <property name="Type">Action</property> | |
42 <property name="Label" translatable="yes">Save army as</property> | |
43 <property name="Sensitive">False</property> | |
44 <property name="ShortLabel" translatable="yes">Save army as</property> | |
22 | 45 <property name="StockId">gtk-save-as</property> |
0 | 46 <signal name="Activated" handler="OnSaveArmyAsActivated" /> |
47 </action> | |
48 <action id="miCloseArmy"> | |
49 <property name="Type">Action</property> | |
50 <property name="Label" translatable="yes">Close army</property> | |
51 <property name="Sensitive">False</property> | |
52 <property name="ShortLabel" translatable="yes">Close army</property> | |
22 | 53 <property name="StockId">gtk-close</property> |
0 | 54 <signal name="Activated" handler="OnCloseArmyActivated" /> |
55 </action> | |
43
4e127ce8682f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
37
diff
changeset
|
56 <action id="refreshAction"> |
0 | 57 <property name="Type">Action</property> |
58 <property name="Label" translatable="yes">Reload files</property> | |
59 <property name="ShortLabel" translatable="yes">Reload files</property> | |
22 | 60 <property name="StockId">gtk-refresh</property> |
0 | 61 <signal name="Activated" handler="OnReloadFilesActivated" /> |
62 </action> | |
63 <action id="miExit"> | |
64 <property name="Type">Action</property> | |
65 <property name="Label" translatable="yes">Exit</property> | |
66 <property name="ShortLabel" translatable="yes">Exit</property> | |
22 | 67 <property name="StockId">gtk-quit</property> |
0 | 68 <signal name="Activated" handler="OnExitActivated" /> |
69 </action> | |
70 <action id="menuEdit"> | |
71 <property name="Type">Action</property> | |
72 <property name="Label" translatable="yes">Edit</property> | |
73 <property name="ShortLabel" translatable="yes">Edit</property> | |
74 </action> | |
75 <action id="miUndo"> | |
76 <property name="Type">Action</property> | |
77 <property name="Label" translatable="yes">Undo</property> | |
78 <property name="Sensitive">False</property> | |
79 <property name="ShortLabel" translatable="yes">Undo</property> | |
22 | 80 <property name="StockId">gtk-undo</property> |
0 | 81 </action> |
82 <action id="miRedo"> | |
83 <property name="Type">Action</property> | |
84 <property name="Label" translatable="yes">Redo</property> | |
85 <property name="Sensitive">False</property> | |
86 <property name="ShortLabel" translatable="yes">Redo</property> | |
22 | 87 <property name="StockId">gtk-redo</property> |
0 | 88 </action> |
89 <action id="menuHelp"> | |
90 <property name="Type">Action</property> | |
91 <property name="Label" translatable="yes">Help</property> | |
92 <property name="ShortLabel" translatable="yes">Help</property> | |
93 </action> | |
94 <action id="miAbout"> | |
95 <property name="Type">Action</property> | |
96 <property name="Label" translatable="yes">About</property> | |
97 <property name="ShortLabel" translatable="yes">About</property> | |
22 | 98 <property name="StockId">gtk-about</property> |
0 | 99 </action> |
100 <action id="miDebugInformation"> | |
101 <property name="Type">Action</property> | |
102 <property name="Label" translatable="yes">Debug Information</property> | |
103 <property name="ShortLabel" translatable="yes">Debug Information</property> | |
104 </action> | |
105 <action id="newArmyButton"> | |
106 <property name="Type">Action</property> | |
107 <property name="Label" translatable="yes" /> | |
108 <property name="StockId">gtk-new</property> | |
109 <signal name="Activated" handler="newTBButtonActivated" /> | |
110 </action> | |
111 <action id="openArmyButton"> | |
112 <property name="Type">Action</property> | |
113 <property name="Label" translatable="yes" /> | |
114 <property name="StockId">gtk-open</property> | |
115 <signal name="Activated" handler="openTBButtonActivated" /> | |
116 </action> | |
117 <action id="saveArmyButton"> | |
118 <property name="Type">Action</property> | |
119 <property name="Label" translatable="yes" /> | |
120 <property name="Sensitive">False</property> | |
121 <property name="StockId">gtk-save</property> | |
122 <signal name="Activated" handler="saveTBButtonActivated" /> | |
123 </action> | |
124 <action id="undoActionButton"> | |
125 <property name="Type">Action</property> | |
126 <property name="Label" translatable="yes" /> | |
127 <property name="Sensitive">False</property> | |
128 <property name="StockId">gtk-undo</property> | |
129 <signal name="Activated" handler="undoTBButtonActivated" /> | |
130 </action> | |
131 <action id="redoActionButton"> | |
132 <property name="Type">Action</property> | |
133 <property name="Label" translatable="yes" /> | |
134 <property name="Sensitive">False</property> | |
135 <property name="StockId">gtk-redo</property> | |
136 <signal name="Activated" handler="redoTBButtonActivated" /> | |
137 </action> | |
138 <action id="goDown"> | |
139 <property name="Type">Action</property> | |
140 <property name="Label" translatable="yes" /> | |
141 </action> | |
142 <action id="add"> | |
143 <property name="Type">Action</property> | |
144 <property name="Label" translatable="yes" /> | |
145 <property name="StockId">gtk-add</property> | |
146 </action> | |
28 | 147 <action id="miExportArmy"> |
148 <property name="Type">Action</property> | |
149 <property name="Label" translatable="yes">Export army as...</property> | |
29 | 150 <property name="Sensitive">False</property> |
28 | 151 <property name="ShortLabel" translatable="yes">Export army</property> |
152 <property name="StockId">gtk-convert</property> | |
153 </action> | |
154 <action id="miExportAsBasicHtml"> | |
155 <property name="Type">Action</property> | |
156 <property name="Label" translatable="yes">Basic HTML</property> | |
157 <property name="ShortLabel" translatable="yes">Basic HTML</property> | |
158 <signal name="Activated" handler="OnMiExportAsBasicHtmlActivated" /> | |
159 </action> | |
0 | 160 </action-group> |
161 <property name="MemberName" /> | |
162 <property name="Title" translatable="yes">MainWindow</property> | |
163 <property name="Icon">resource:App.ico</property> | |
164 <child> | |
165 <widget class="Gtk.VBox" id="vbox1"> | |
166 <property name="MemberName" /> | |
167 <child> | |
168 <widget class="Gtk.MenuBar" id="menubar1"> | |
169 <property name="MemberName" /> | |
170 <node name="menubar1" type="Menubar"> | |
171 <node type="Menu" action="menuFile"> | |
172 <node type="Menuitem" action="miCreateArmy" /> | |
173 <node type="Menuitem" action="miOpenArmy" /> | |
174 <node type="Menuitem" action="miSaveArmy" /> | |
175 <node type="Menuitem" action="miSaveArmyAs" /> | |
28 | 176 <node type="Menu" action="miExportArmy"> |
177 <node type="Menuitem" action="miExportAsBasicHtml" /> | |
178 </node> | |
0 | 179 <node type="Menuitem" action="miCloseArmy" /> |
180 <node type="Separator" /> | |
43
4e127ce8682f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
37
diff
changeset
|
181 <node type="Menuitem" action="refreshAction" /> |
0 | 182 <node type="Separator" /> |
183 <node type="Menuitem" action="miExit" /> | |
184 </node> | |
185 <node type="Menu" action="menuEdit"> | |
186 <node type="Menuitem" action="miUndo" /> | |
187 <node type="Menuitem" action="miRedo" /> | |
188 </node> | |
189 <node type="Menu" action="menuHelp"> | |
190 <node type="Menuitem" action="miAbout" /> | |
191 <node type="Menuitem" action="miDebugInformation" /> | |
192 </node> | |
193 </node> | |
194 </widget> | |
195 <packing> | |
196 <property name="Position">0</property> | |
197 <property name="AutoSize">True</property> | |
198 <property name="Expand">False</property> | |
199 <property name="Fill">False</property> | |
200 </packing> | |
201 </child> | |
202 <child> | |
203 <widget class="Gtk.Toolbar" id="toolbar"> | |
204 <property name="MemberName" /> | |
205 <property name="HeightRequest">36</property> | |
206 <property name="ShowArrow">False</property> | |
207 <property name="ButtonStyle">Icons</property> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
208 <property name="IconSize">LargeToolbar</property> |
0 | 209 <node name="toolbar" type="Toolbar"> |
210 <node type="Toolitem" action="newArmyButton" /> | |
211 <node type="Toolitem" action="openArmyButton" /> | |
212 <node type="Toolitem" action="saveArmyButton" /> | |
213 <node type="Separator" /> | |
214 <node type="Toolitem" action="undoActionButton" /> | |
215 <node type="Toolitem" action="redoActionButton" /> | |
216 <node type="Separator" /> | |
217 </node> | |
218 </widget> | |
219 <packing> | |
220 <property name="Position">1</property> | |
221 <property name="AutoSize">True</property> | |
222 <property name="Expand">False</property> | |
223 <property name="Fill">False</property> | |
224 </packing> | |
225 </child> | |
226 <child> | |
227 <widget class="Gtk.HPaned" id="hpaned2"> | |
228 <property name="MemberName" /> | |
43
4e127ce8682f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
37
diff
changeset
|
229 <property name="Visible">False</property> |
0 | 230 <property name="CanFocus">True</property> |
231 <property name="Position">178</property> | |
232 <child> | |
233 <widget class="Gtk.TreeView" id="treeUnits"> | |
234 <property name="MemberName" /> | |
235 <property name="CanFocus">True</property> | |
236 <signal name="RowActivated" handler="ArmyRowActivated" /> | |
30
5fafbb1b4592
Re #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
29
diff
changeset
|
237 <signal name="PopupMenu" handler="OnTreeUnitsPopupMenu" /> |
5fafbb1b4592
Re #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
29
diff
changeset
|
238 <signal name="ButtonPressEvent" handler="UnitTreeButtonPressed" /> |
0 | 239 </widget> |
240 <packing> | |
241 <property name="Resize">False</property> | |
242 </packing> | |
243 </child> | |
244 <child> | |
245 <widget class="Gtk.Notebook" id="unitsNotebook"> | |
246 <property name="MemberName" /> | |
247 <property name="CanFocus">True</property> | |
248 <property name="CurrentPage">-1</property> | |
249 </widget> | |
250 </child> | |
251 </widget> | |
252 <packing> | |
253 <property name="Position">2</property> | |
254 <property name="AutoSize">True</property> | |
255 </packing> | |
256 </child> | |
257 <child> | |
258 <widget class="Gtk.Statusbar" id="statusbar1"> | |
259 <property name="MemberName" /> | |
260 <property name="Spacing">2</property> | |
261 <child> | |
262 <placeholder /> | |
263 </child> | |
264 <child> | |
265 <placeholder /> | |
266 </child> | |
267 </widget> | |
268 <packing> | |
269 <property name="Position">3</property> | |
270 <property name="AutoSize">True</property> | |
271 <property name="Expand">False</property> | |
272 <property name="Fill">False</property> | |
273 </packing> | |
274 </child> | |
275 </widget> | |
276 </child> | |
277 </widget> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
278 <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.GTK.FrmNewArmy" design-size="370 348"> |
0 | 279 <property name="MemberName" /> |
280 <property name="Events">ButtonPressMask</property> | |
281 <property name="Title" translatable="yes">Create new army</property> | |
282 <property name="Icon">stock:gtk-new Menu</property> | |
283 <property name="WindowPosition">CenterOnParent</property> | |
284 <property name="SkipPagerHint">True</property> | |
285 <property name="SkipTaskbarHint">True</property> | |
286 <property name="Buttons">2</property> | |
287 <property name="HelpButton">False</property> | |
288 <child internal-child="VBox"> | |
289 <widget class="Gtk.VBox" id="dialog_VBox"> | |
290 <property name="MemberName" /> | |
291 <property name="CanFocus">True</property> | |
292 <property name="Events">ButtonPressMask</property> | |
293 <property name="BorderWidth">2</property> | |
294 <child> | |
295 <widget class="Gtk.Table" id="table1"> | |
296 <property name="MemberName" /> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
297 <property name="NRows">4</property> |
0 | 298 <property name="NColumns">2</property> |
299 <property name="RowSpacing">6</property> | |
300 <property name="ColumnSpacing">6</property> | |
301 <child> | |
302 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow"> | |
303 <property name="MemberName" /> | |
304 <property name="ShadowType">In</property> | |
305 <child> | |
306 <widget class="Gtk.TreeView" id="lstRaces"> | |
307 <property name="MemberName" /> | |
308 <property name="HeightRequest">150</property> | |
309 <property name="CanFocus">True</property> | |
310 <property name="ShowScrollbars">True</property> | |
311 <property name="HeadersVisible">False</property> | |
312 <property name="RulesHint">True</property> | |
313 </widget> | |
314 </child> | |
315 </widget> | |
316 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
317 <property name="TopAttach">1</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
318 <property name="BottomAttach">2</property> |
0 | 319 <property name="LeftAttach">1</property> |
320 <property name="RightAttach">2</property> | |
321 <property name="AutoSize">True</property> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
322 <property name="XOptions">Fill</property> |
0 | 323 <property name="YOptions">Fill</property> |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
324 <property name="XExpand">False</property> |
0 | 325 <property name="XFill">True</property> |
326 <property name="XShrink">False</property> | |
327 <property name="YExpand">False</property> | |
328 <property name="YFill">True</property> | |
329 <property name="YShrink">False</property> | |
330 </packing> | |
331 </child> | |
332 <child> | |
333 <widget class="Gtk.HBox" id="hbox2"> | |
334 <property name="MemberName" /> | |
335 <child> | |
336 <widget class="Gtk.SpinButton" id="sbPointsValue"> | |
337 <property name="MemberName" /> | |
338 <property name="WidthRequest">150</property> | |
339 <property name="CanFocus">True</property> | |
340 <property name="Upper">2000000000</property> | |
341 <property name="PageIncrement">1000</property> | |
342 <property name="StepIncrement">100</property> | |
343 <property name="ClimbRate">100</property> | |
344 <property name="Numeric">True</property> | |
345 <property name="Value">1000</property> | |
346 <signal name="ChangeValue" handler="OnSpinChangeValue" /> | |
347 <signal name="ValueChanged" handler="OnSpinValueChanged" /> | |
348 <signal name="Changed" handler="OnSpinValueChanged" /> | |
349 </widget> | |
350 <packing> | |
351 <property name="Position">0</property> | |
352 <property name="AutoSize">True</property> | |
353 <property name="Expand">False</property> | |
354 <property name="Fill">False</property> | |
355 </packing> | |
356 </child> | |
357 <child> | |
358 <placeholder /> | |
359 </child> | |
360 </widget> | |
361 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
362 <property name="TopAttach">3</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
363 <property name="BottomAttach">4</property> |
0 | 364 <property name="LeftAttach">1</property> |
365 <property name="RightAttach">2</property> | |
366 <property name="AutoSize">True</property> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
367 <property name="XOptions">Fill</property> |
0 | 368 <property name="YOptions">Fill</property> |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
369 <property name="XExpand">False</property> |
0 | 370 <property name="XFill">True</property> |
371 <property name="XShrink">False</property> | |
372 <property name="YExpand">False</property> | |
373 <property name="YFill">True</property> | |
374 <property name="YShrink">False</property> | |
375 </packing> | |
376 </child> | |
377 <child> | |
378 <widget class="Gtk.Label" id="label1"> | |
379 <property name="MemberName" /> | |
380 <property name="LabelProp" translatable="yes">Race</property> | |
381 </widget> | |
382 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
383 <property name="TopAttach">1</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
384 <property name="BottomAttach">2</property> |
0 | 385 <property name="AutoSize">True</property> |
386 <property name="XOptions">Fill</property> | |
387 <property name="YOptions">Fill</property> | |
388 <property name="XExpand">False</property> | |
389 <property name="XFill">True</property> | |
390 <property name="XShrink">False</property> | |
391 <property name="YExpand">False</property> | |
392 <property name="YFill">True</property> | |
393 <property name="YShrink">False</property> | |
394 </packing> | |
395 </child> | |
396 <child> | |
397 <widget class="Gtk.Label" id="label2"> | |
398 <property name="MemberName" /> | |
399 <property name="LabelProp" translatable="yes">Army name</property> | |
400 </widget> | |
401 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
402 <property name="TopAttach">2</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
403 <property name="BottomAttach">3</property> |
0 | 404 <property name="AutoSize">True</property> |
405 <property name="XOptions">Fill</property> | |
406 <property name="YOptions">Fill</property> | |
407 <property name="XExpand">False</property> | |
408 <property name="XFill">True</property> | |
409 <property name="XShrink">False</property> | |
410 <property name="YExpand">False</property> | |
411 <property name="YFill">True</property> | |
412 <property name="YShrink">False</property> | |
413 </packing> | |
414 </child> | |
415 <child> | |
416 <widget class="Gtk.Label" id="label3"> | |
417 <property name="MemberName" /> | |
418 <property name="LabelProp" translatable="yes">Points value</property> | |
419 </widget> | |
420 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
421 <property name="TopAttach">3</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
422 <property name="BottomAttach">4</property> |
0 | 423 <property name="AutoSize">True</property> |
424 <property name="XOptions">Fill</property> | |
425 <property name="YOptions">Fill</property> | |
426 <property name="XExpand">False</property> | |
427 <property name="XFill">True</property> | |
428 <property name="XShrink">False</property> | |
429 <property name="YExpand">False</property> | |
430 <property name="YFill">True</property> | |
431 <property name="YShrink">False</property> | |
432 </packing> | |
433 </child> | |
434 <child> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
435 <widget class="Gtk.Label" id="label4"> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
436 <property name="MemberName" /> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
437 <property name="LabelProp" translatable="yes">game system</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
438 </widget> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
439 <packing> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
440 <property name="AutoSize">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
441 <property name="XOptions">Fill</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
442 <property name="YOptions">Fill</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
443 <property name="XExpand">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
444 <property name="XFill">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
445 <property name="XShrink">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
446 <property name="YExpand">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
447 <property name="YFill">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
448 <property name="YShrink">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
449 </packing> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
450 </child> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
451 <child> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
452 <widget class="Gtk.ComboBoxEntry" id="systemCombo"> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
453 <property name="MemberName" /> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
454 <property name="IsTextCombo">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
455 <property name="Items" translatable="yes" /> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
456 <signal name="Changed" handler="OnSystemComboChanged" /> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
457 </widget> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
458 <packing> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
459 <property name="LeftAttach">1</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
460 <property name="RightAttach">2</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
461 <property name="AutoSize">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
462 <property name="YOptions">Fill</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
463 <property name="XExpand">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
464 <property name="XFill">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
465 <property name="XShrink">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
466 <property name="YExpand">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
467 <property name="YFill">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
468 <property name="YShrink">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
469 </packing> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
470 </child> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
471 <child> |
0 | 472 <widget class="Gtk.Entry" id="txtArmyName"> |
473 <property name="MemberName" /> | |
474 <property name="CanFocus">True</property> | |
475 <property name="IsEditable">True</property> | |
476 <property name="InvisibleChar">•</property> | |
477 <signal name="Changed" handler="OnTextChanged" /> | |
478 </widget> | |
479 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
480 <property name="TopAttach">2</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
481 <property name="BottomAttach">3</property> |
0 | 482 <property name="LeftAttach">1</property> |
483 <property name="RightAttach">2</property> | |
484 <property name="AutoSize">True</property> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
485 <property name="XOptions">Fill</property> |
0 | 486 <property name="YOptions">Fill</property> |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
487 <property name="XExpand">False</property> |
0 | 488 <property name="XFill">True</property> |
489 <property name="XShrink">False</property> | |
490 <property name="YExpand">False</property> | |
491 <property name="YFill">True</property> | |
492 <property name="YShrink">False</property> | |
493 </packing> | |
494 </child> | |
495 </widget> | |
496 <packing> | |
497 <property name="Position">0</property> | |
498 <property name="AutoSize">True</property> | |
499 <property name="Expand">False</property> | |
500 <property name="Fill">False</property> | |
501 <property name="Padding">6</property> | |
502 </packing> | |
503 </child> | |
504 </widget> | |
505 </child> | |
506 <child internal-child="ActionArea"> | |
507 <widget class="Gtk.HButtonBox" id="WarFoundrySharp.FrmNewArmy_ActionArea"> | |
508 <property name="MemberName" /> | |
509 <property name="CanFocus">True</property> | |
510 <property name="Events">ButtonPressMask</property> | |
511 <property name="Spacing">6</property> | |
512 <property name="BorderWidth">5</property> | |
513 <property name="Size">2</property> | |
514 <property name="LayoutStyle">End</property> | |
515 <child> | |
516 <widget class="Gtk.Button" id="bttnCancel"> | |
517 <property name="MemberName" /> | |
518 <property name="CanFocus">True</property> | |
519 <property name="UseStock">True</property> | |
520 <property name="Type">StockItem</property> | |
521 <property name="StockId">gtk-cancel</property> | |
522 <property name="ResponseId">-6</property> | |
523 <signal name="Clicked" handler="OnCancelClicked" /> | |
524 <property name="label">gtk-cancel</property> | |
525 </widget> | |
526 <packing> | |
527 <property name="Expand">False</property> | |
528 <property name="Fill">False</property> | |
529 </packing> | |
530 </child> | |
531 <child> | |
532 <widget class="Gtk.Button" id="bttnCreate"> | |
533 <property name="MemberName" /> | |
534 <property name="Sensitive">False</property> | |
535 <property name="CanDefault">True</property> | |
536 <property name="CanFocus">True</property> | |
537 <property name="Type">TextAndIcon</property> | |
538 <property name="Icon">stock:gtk-ok Menu</property> | |
539 <property name="Label" translatable="yes">C_reate</property> | |
540 <property name="UseUnderline">True</property> | |
541 <property name="ResponseId">-5</property> | |
542 <signal name="Clicked" handler="OnCreateClicked" /> | |
543 </widget> | |
544 <packing> | |
545 <property name="Position">1</property> | |
546 <property name="Expand">False</property> | |
547 <property name="Fill">False</property> | |
548 </packing> | |
549 </child> | |
550 </widget> | |
551 </child> | |
552 </widget> | |
5 | 553 <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.GTK.FrmNewUnit" design-size="400 318"> |
0 | 554 <property name="MemberName" /> |
555 <property name="Title" translatable="yes">Add new unit</property> | |
556 <property name="Icon">stock:gtk-new Menu</property> | |
557 <property name="WindowPosition">CenterOnParent</property> | |
558 <property name="Modal">True</property> | |
559 <property name="SkipPagerHint">True</property> | |
560 <property name="SkipTaskbarHint">True</property> | |
561 <property name="Buttons">2</property> | |
562 <property name="HelpButton">False</property> | |
563 <child internal-child="VBox"> | |
564 <widget class="Gtk.VBox" id="dialog1_VBox"> | |
565 <property name="MemberName" /> | |
566 <property name="BorderWidth">2</property> | |
567 <child> | |
568 <widget class="Gtk.VBox" id="vbox2"> | |
569 <property name="MemberName" /> | |
570 <property name="Spacing">6</property> | |
571 <child> | |
572 <widget class="Gtk.HBox" id="hbox1"> | |
573 <property name="MemberName" /> | |
574 <property name="Spacing">6</property> | |
575 <child> | |
576 <widget class="Gtk.Label" id="label1"> | |
577 <property name="MemberName" /> | |
578 <property name="LabelProp" translatable="yes">Unit Type:</property> | |
579 </widget> | |
580 <packing> | |
581 <property name="Position">0</property> | |
582 <property name="AutoSize">True</property> | |
583 <property name="Expand">False</property> | |
584 <property name="Fill">False</property> | |
585 </packing> | |
586 </child> | |
587 <child> | |
588 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow"> | |
589 <property name="MemberName" /> | |
590 <property name="ShadowType">In</property> | |
591 <child> | |
592 <widget class="Gtk.TreeView" id="lstUnitTypes"> | |
593 <property name="MemberName" /> | |
594 <property name="HeightRequest">150</property> | |
595 <property name="CanFocus">True</property> | |
596 <property name="ShowScrollbars">True</property> | |
597 <property name="HeadersVisible">False</property> | |
598 <signal name="RowActivated" handler="OnRowActivated" /> | |
599 </widget> | |
600 </child> | |
601 </widget> | |
602 <packing> | |
603 <property name="Position">1</property> | |
604 <property name="AutoSize">True</property> | |
605 </packing> | |
606 </child> | |
607 </widget> | |
608 <packing> | |
609 <property name="Position">0</property> | |
610 <property name="AutoSize">True</property> | |
611 <property name="Expand">False</property> | |
612 <property name="Fill">False</property> | |
613 </packing> | |
614 </child> | |
615 <child> | |
616 <widget class="Gtk.Label" id="lblNewUnitWarning"> | |
617 <property name="MemberName" /> | |
618 <property name="Xalign">0</property> | |
619 <property name="Yalign">0</property> | |
620 </widget> | |
621 <packing> | |
622 <property name="Position">1</property> | |
623 <property name="AutoSize">True</property> | |
624 <property name="Expand">False</property> | |
625 <property name="Fill">False</property> | |
626 </packing> | |
627 </child> | |
628 </widget> | |
629 <packing> | |
630 <property name="Position">0</property> | |
631 <property name="AutoSize">True</property> | |
632 <property name="Expand">False</property> | |
633 <property name="Fill">False</property> | |
634 </packing> | |
635 </child> | |
636 </widget> | |
637 </child> | |
638 <child internal-child="ActionArea"> | |
639 <widget class="Gtk.HButtonBox" id="dialog1_ActionArea"> | |
640 <property name="MemberName" /> | |
641 <property name="Spacing">6</property> | |
642 <property name="BorderWidth">5</property> | |
643 <property name="Size">2</property> | |
644 <property name="LayoutStyle">End</property> | |
645 <child> | |
646 <widget class="Gtk.Button" id="buttonCancel"> | |
647 <property name="MemberName" /> | |
648 <property name="CanDefault">True</property> | |
649 <property name="CanFocus">True</property> | |
650 <property name="UseStock">True</property> | |
651 <property name="Type">StockItem</property> | |
652 <property name="StockId">gtk-cancel</property> | |
653 <property name="ResponseId">-6</property> | |
654 <signal name="Activated" handler="OnButtonCancelActivated" /> | |
655 <property name="label">gtk-cancel</property> | |
656 </widget> | |
657 <packing> | |
658 <property name="Expand">False</property> | |
659 <property name="Fill">False</property> | |
660 </packing> | |
661 </child> | |
662 <child> | |
663 <widget class="Gtk.Button" id="buttonOk"> | |
664 <property name="MemberName" /> | |
665 <property name="Sensitive">False</property> | |
666 <property name="CanDefault">True</property> | |
667 <property name="CanFocus">True</property> | |
668 <property name="UseStock">True</property> | |
669 <property name="Type">StockItem</property> | |
670 <property name="StockId">gtk-ok</property> | |
671 <property name="ResponseId">-5</property> | |
672 <signal name="Clicked" handler="OnButtonOkClicked" /> | |
673 <property name="label">gtk-ok</property> | |
674 </widget> | |
675 <packing> | |
676 <property name="Position">1</property> | |
677 <property name="Expand">False</property> | |
678 <property name="Fill">False</property> | |
679 </packing> | |
680 </child> | |
681 </widget> | |
682 </child> | |
683 </widget> | |
5 | 684 <widget class="Gtk.Bin" id="IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget" design-size="649 422"> |
0 | 685 <property name="MemberName" /> |
686 <child> | |
687 <widget class="Gtk.VBox" id="vbox1"> | |
688 <property name="MemberName" /> | |
689 <property name="Spacing">6</property> | |
690 <child> | |
691 <widget class="Gtk.HBox" id="hbox1"> | |
692 <property name="MemberName" /> | |
693 <property name="Spacing">6</property> | |
694 <child> | |
695 <widget class="Gtk.Entry" id="unitName"> | |
696 <property name="MemberName" /> | |
697 <property name="CanFocus">True</property> | |
698 <property name="IsEditable">True</property> | |
699 <property name="InvisibleChar">•</property> | |
700 <signal name="FocusOutEvent" handler="OnUnitNameFocusOut" /> | |
701 <signal name="KeyPressEvent" handler="OnUnitNameKeyPress" /> | |
702 </widget> | |
703 <packing> | |
704 <property name="Position">0</property> | |
705 <property name="AutoSize">True</property> | |
706 </packing> | |
707 </child> | |
708 <child> | |
709 <widget class="Gtk.SpinButton" id="unitSize"> | |
710 <property name="MemberName" /> | |
711 <property name="CanFocus">True</property> | |
712 <property name="Upper">100</property> | |
713 <property name="PageIncrement">10</property> | |
714 <property name="StepIncrement">1</property> | |
715 <property name="ClimbRate">1</property> | |
716 <property name="Numeric">True</property> | |
717 <signal name="FocusOutEvent" handler="OnUnitSizeFocusOut" /> | |
718 <signal name="KeyPressEvent" handler="OnUnitSizeKeyPress" /> | |
719 </widget> | |
720 <packing> | |
721 <property name="Position">1</property> | |
722 <property name="AutoSize">True</property> | |
723 <property name="Expand">False</property> | |
724 <property name="Fill">False</property> | |
725 </packing> | |
726 </child> | |
727 </widget> | |
728 <packing> | |
729 <property name="Position">0</property> | |
730 <property name="AutoSize">True</property> | |
731 <property name="Expand">False</property> | |
732 <property name="Fill">False</property> | |
733 </packing> | |
734 </child> | |
735 <child> | |
736 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow"> | |
737 <property name="MemberName" /> | |
738 <property name="ShadowType">In</property> | |
739 <child> | |
740 <widget class="Gtk.NodeView" id="unitStats"> | |
741 <property name="MemberName" /> | |
742 <property name="HeightRequest">75</property> | |
743 <property name="CanFocus">True</property> | |
744 <property name="ShowScrollbars">True</property> | |
745 </widget> | |
746 </child> | |
747 </widget> | |
748 <packing> | |
749 <property name="Position">1</property> | |
750 <property name="AutoSize">True</property> | |
751 </packing> | |
752 </child> | |
753 <child> | |
754 <widget class="Gtk.HSeparator" id="hseparator1"> | |
755 <property name="MemberName" /> | |
756 </widget> | |
757 <packing> | |
758 <property name="Position">2</property> | |
759 <property name="AutoSize">True</property> | |
760 <property name="Expand">False</property> | |
761 <property name="Fill">False</property> | |
762 </packing> | |
763 </child> | |
764 <child> | |
765 <widget class="Gtk.Table" id="table1"> | |
766 <property name="MemberName" /> | |
767 <property name="NRows">2</property> | |
10
c687bbe901f8
Re #37 - Resolve deprecation warnings
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
768 <property name="NColumns">3</property> |
0 | 769 <property name="RowSpacing">6</property> |
770 <property name="ColumnSpacing">6</property> | |
771 <child> | |
772 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow1"> | |
773 <property name="MemberName" /> | |
774 <property name="ShadowType">In</property> | |
775 <child> | |
776 <widget class="Gtk.NodeView" id="optionalEquipment"> | |
777 <property name="MemberName" /> | |
778 <property name="CanFocus">True</property> | |
779 <property name="ShowScrollbars">True</property> | |
780 </widget> | |
781 </child> | |
782 </widget> | |
783 <packing> | |
784 <property name="TopAttach">1</property> | |
785 <property name="BottomAttach">2</property> | |
786 <property name="LeftAttach">1</property> | |
787 <property name="RightAttach">2</property> | |
788 <property name="AutoSize">True</property> | |
789 <property name="YOptions">Fill</property> | |
790 <property name="XExpand">True</property> | |
791 <property name="XFill">True</property> | |
792 <property name="XShrink">False</property> | |
793 <property name="YExpand">False</property> | |
794 <property name="YFill">True</property> | |
795 <property name="YShrink">False</property> | |
796 </packing> | |
797 </child> | |
798 <child> | |
799 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow2"> | |
800 <property name="MemberName" /> | |
801 <property name="ShadowType">In</property> | |
802 <child> | |
803 <widget class="Gtk.NodeView" id="requiredEquipment"> | |
804 <property name="MemberName" /> | |
805 <property name="CanFocus">True</property> | |
806 <property name="ShowScrollbars">True</property> | |
807 </widget> | |
808 </child> | |
809 </widget> | |
810 <packing> | |
811 <property name="LeftAttach">1</property> | |
812 <property name="RightAttach">2</property> | |
813 <property name="AutoSize">True</property> | |
814 <property name="YOptions">Fill</property> | |
815 <property name="XExpand">True</property> | |
816 <property name="XFill">True</property> | |
817 <property name="XShrink">False</property> | |
818 <property name="YExpand">False</property> | |
819 <property name="YFill">True</property> | |
820 <property name="YShrink">False</property> | |
821 </packing> | |
822 </child> | |
823 <child> | |
824 <widget class="Gtk.Label" id="optionalEquipmentLabel"> | |
825 <property name="MemberName" /> | |
826 <property name="LabelProp" translatable="yes">Optional Equipment:</property> | |
827 </widget> | |
828 <packing> | |
829 <property name="TopAttach">1</property> | |
830 <property name="BottomAttach">2</property> | |
831 <property name="AutoSize">True</property> | |
832 <property name="XOptions">Fill</property> | |
833 <property name="YOptions">Fill</property> | |
834 <property name="XExpand">False</property> | |
835 <property name="XFill">True</property> | |
836 <property name="XShrink">False</property> | |
837 <property name="YExpand">False</property> | |
838 <property name="YFill">True</property> | |
839 <property name="YShrink">False</property> | |
840 </packing> | |
841 </child> | |
842 <child> | |
843 <widget class="Gtk.Label" id="requiredEquipmentLabel"> | |
844 <property name="MemberName" /> | |
845 <property name="LabelProp" translatable="yes">Required Equipment:</property> | |
846 </widget> | |
847 <packing> | |
848 <property name="AutoSize">True</property> | |
849 <property name="XOptions">Fill</property> | |
850 <property name="YOptions">Fill</property> | |
851 <property name="XExpand">False</property> | |
852 <property name="XFill">True</property> | |
853 <property name="XShrink">False</property> | |
854 <property name="YExpand">False</property> | |
855 <property name="YFill">True</property> | |
856 <property name="YShrink">False</property> | |
857 </packing> | |
858 </child> | |
859 <child> | |
860 <widget class="Gtk.VBox" id="vbox2"> | |
861 <property name="MemberName" /> | |
862 <property name="Spacing">6</property> | |
863 <child> | |
864 <widget class="Gtk.Button" id="bttnReplaceRequired"> | |
865 <property name="MemberName" /> | |
866 <property name="CanFocus">True</property> | |
867 <property name="Type">TextOnly</property> | |
868 <property name="Label" translatable="yes">Replace</property> | |
869 <property name="UseUnderline">True</property> | |
870 </widget> | |
871 <packing> | |
872 <property name="Position">0</property> | |
873 <property name="AutoSize">True</property> | |
874 <property name="Expand">False</property> | |
875 <property name="Fill">False</property> | |
876 </packing> | |
877 </child> | |
878 <child> | |
879 <widget class="Gtk.Button" id="bttnEditRequired"> | |
880 <property name="MemberName" /> | |
881 <property name="CanFocus">True</property> | |
882 <property name="Type">TextOnly</property> | |
883 <property name="Label" translatable="yes">Edit</property> | |
884 <property name="UseUnderline">True</property> | |
885 </widget> | |
886 <packing> | |
887 <property name="Position">1</property> | |
888 <property name="AutoSize">True</property> | |
889 <property name="Expand">False</property> | |
890 <property name="Fill">False</property> | |
891 </packing> | |
892 </child> | |
893 <child> | |
894 <placeholder /> | |
895 </child> | |
896 </widget> | |
897 <packing> | |
898 <property name="LeftAttach">2</property> | |
899 <property name="RightAttach">3</property> | |
900 <property name="AutoSize">True</property> | |
901 <property name="XOptions">Fill</property> | |
902 <property name="YOptions">Fill</property> | |
903 <property name="XExpand">False</property> | |
904 <property name="XFill">True</property> | |
905 <property name="XShrink">False</property> | |
906 <property name="YExpand">False</property> | |
907 <property name="YFill">True</property> | |
908 <property name="YShrink">False</property> | |
909 </packing> | |
910 </child> | |
911 <child> | |
912 <widget class="Gtk.VBox" id="vbox3"> | |
913 <property name="MemberName" /> | |
914 <property name="Spacing">6</property> | |
915 <child> | |
916 <widget class="Gtk.Button" id="bttnAddOptional"> | |
917 <property name="MemberName" /> | |
918 <property name="CanFocus">True</property> | |
919 <property name="Type">TextOnly</property> | |
920 <property name="Label" translatable="yes">Add</property> | |
921 <property name="UseUnderline">True</property> | |
922 </widget> | |
923 <packing> | |
924 <property name="Position">0</property> | |
925 <property name="AutoSize">True</property> | |
926 <property name="Expand">False</property> | |
927 <property name="Fill">False</property> | |
928 </packing> | |
929 </child> | |
930 <child> | |
931 <widget class="Gtk.Button" id="bttnEditOptional"> | |
932 <property name="MemberName" /> | |
933 <property name="CanFocus">True</property> | |
934 <property name="Type">TextOnly</property> | |
935 <property name="Label" translatable="yes">Edit</property> | |
936 <property name="UseUnderline">True</property> | |
937 </widget> | |
938 <packing> | |
939 <property name="Position">1</property> | |
940 <property name="AutoSize">True</property> | |
941 <property name="Expand">False</property> | |
942 <property name="Fill">False</property> | |
943 </packing> | |
944 </child> | |
945 <child> | |
946 <widget class="Gtk.Button" id="bttnRemove"> | |
947 <property name="MemberName" /> | |
948 <property name="CanFocus">True</property> | |
949 <property name="Type">TextOnly</property> | |
950 <property name="Label" translatable="yes">Remove</property> | |
951 <property name="UseUnderline">True</property> | |
952 </widget> | |
953 <packing> | |
954 <property name="Position">2</property> | |
955 <property name="AutoSize">True</property> | |
956 <property name="Expand">False</property> | |
957 <property name="Fill">False</property> | |
958 </packing> | |
959 </child> | |
960 </widget> | |
961 <packing> | |
962 <property name="TopAttach">1</property> | |
963 <property name="BottomAttach">2</property> | |
964 <property name="LeftAttach">2</property> | |
965 <property name="RightAttach">3</property> | |
966 <property name="AutoSize">True</property> | |
967 <property name="XOptions">Fill</property> | |
968 <property name="YOptions">Fill</property> | |
969 <property name="XExpand">False</property> | |
970 <property name="XFill">True</property> | |
971 <property name="XShrink">False</property> | |
972 <property name="YExpand">False</property> | |
973 <property name="YFill">True</property> | |
974 <property name="YShrink">False</property> | |
975 </packing> | |
976 </child> | |
977 </widget> | |
978 <packing> | |
979 <property name="Position">3</property> | |
980 <property name="AutoSize">True</property> | |
981 <property name="Expand">False</property> | |
982 <property name="Fill">False</property> | |
983 </packing> | |
984 </child> | |
985 <child> | |
986 <widget class="Gtk.HBox" id="hbox2"> | |
987 <property name="MemberName" /> | |
988 <property name="Spacing">6</property> | |
989 <child> | |
990 <placeholder /> | |
991 </child> | |
992 <child> | |
993 <placeholder /> | |
994 </child> | |
995 <child> | |
996 <placeholder /> | |
997 </child> | |
998 </widget> | |
999 <packing> | |
1000 <property name="Position">4</property> | |
1001 <property name="AutoSize">True</property> | |
1002 </packing> | |
1003 </child> | |
1004 </widget> | |
1005 </child> | |
1006 </widget> | |
1007 </stetic-interface> |