Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/gui.stetic @ 45:5584860fb44b
Fixes #145: Add UI to remove units from army
* Remove tab on unit deletion
* Remove tab from widget map on close
Also:
* Alias IBBoard.WarFoundry.API.Objects to make access easier (Unit clashes with a GTK class)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 Aug 2010 15:43:30 +0000 |
parents | 4e127ce8682f |
children | 3314f6a46661 |
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> | |
45
5584860fb44b
Fixes #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
249 <signal name="Removed" handler="NotebookPageRemoved" /> |
0 | 250 </widget> |
251 </child> | |
252 </widget> | |
253 <packing> | |
254 <property name="Position">2</property> | |
255 <property name="AutoSize">True</property> | |
256 </packing> | |
257 </child> | |
258 <child> | |
259 <widget class="Gtk.Statusbar" id="statusbar1"> | |
260 <property name="MemberName" /> | |
261 <property name="Spacing">2</property> | |
262 <child> | |
263 <placeholder /> | |
264 </child> | |
265 <child> | |
266 <placeholder /> | |
267 </child> | |
268 </widget> | |
269 <packing> | |
270 <property name="Position">3</property> | |
271 <property name="AutoSize">True</property> | |
272 <property name="Expand">False</property> | |
273 <property name="Fill">False</property> | |
274 </packing> | |
275 </child> | |
276 </widget> | |
277 </child> | |
278 </widget> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
279 <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.GTK.FrmNewArmy" design-size="370 348"> |
0 | 280 <property name="MemberName" /> |
281 <property name="Events">ButtonPressMask</property> | |
282 <property name="Title" translatable="yes">Create new army</property> | |
283 <property name="Icon">stock:gtk-new Menu</property> | |
284 <property name="WindowPosition">CenterOnParent</property> | |
285 <property name="SkipPagerHint">True</property> | |
286 <property name="SkipTaskbarHint">True</property> | |
287 <property name="Buttons">2</property> | |
288 <property name="HelpButton">False</property> | |
289 <child internal-child="VBox"> | |
290 <widget class="Gtk.VBox" id="dialog_VBox"> | |
291 <property name="MemberName" /> | |
292 <property name="CanFocus">True</property> | |
293 <property name="Events">ButtonPressMask</property> | |
294 <property name="BorderWidth">2</property> | |
295 <child> | |
296 <widget class="Gtk.Table" id="table1"> | |
297 <property name="MemberName" /> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
298 <property name="NRows">4</property> |
0 | 299 <property name="NColumns">2</property> |
300 <property name="RowSpacing">6</property> | |
301 <property name="ColumnSpacing">6</property> | |
302 <child> | |
303 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow"> | |
304 <property name="MemberName" /> | |
305 <property name="ShadowType">In</property> | |
306 <child> | |
307 <widget class="Gtk.TreeView" id="lstRaces"> | |
308 <property name="MemberName" /> | |
309 <property name="HeightRequest">150</property> | |
310 <property name="CanFocus">True</property> | |
311 <property name="ShowScrollbars">True</property> | |
312 <property name="HeadersVisible">False</property> | |
313 <property name="RulesHint">True</property> | |
314 </widget> | |
315 </child> | |
316 </widget> | |
317 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
318 <property name="TopAttach">1</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
319 <property name="BottomAttach">2</property> |
0 | 320 <property name="LeftAttach">1</property> |
321 <property name="RightAttach">2</property> | |
322 <property name="AutoSize">True</property> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
323 <property name="XOptions">Fill</property> |
0 | 324 <property name="YOptions">Fill</property> |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
325 <property name="XExpand">False</property> |
0 | 326 <property name="XFill">True</property> |
327 <property name="XShrink">False</property> | |
328 <property name="YExpand">False</property> | |
329 <property name="YFill">True</property> | |
330 <property name="YShrink">False</property> | |
331 </packing> | |
332 </child> | |
333 <child> | |
334 <widget class="Gtk.HBox" id="hbox2"> | |
335 <property name="MemberName" /> | |
336 <child> | |
337 <widget class="Gtk.SpinButton" id="sbPointsValue"> | |
338 <property name="MemberName" /> | |
339 <property name="WidthRequest">150</property> | |
340 <property name="CanFocus">True</property> | |
341 <property name="Upper">2000000000</property> | |
342 <property name="PageIncrement">1000</property> | |
343 <property name="StepIncrement">100</property> | |
344 <property name="ClimbRate">100</property> | |
345 <property name="Numeric">True</property> | |
346 <property name="Value">1000</property> | |
347 <signal name="ChangeValue" handler="OnSpinChangeValue" /> | |
348 <signal name="ValueChanged" handler="OnSpinValueChanged" /> | |
349 <signal name="Changed" handler="OnSpinValueChanged" /> | |
350 </widget> | |
351 <packing> | |
352 <property name="Position">0</property> | |
353 <property name="AutoSize">True</property> | |
354 <property name="Expand">False</property> | |
355 <property name="Fill">False</property> | |
356 </packing> | |
357 </child> | |
358 <child> | |
359 <placeholder /> | |
360 </child> | |
361 </widget> | |
362 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
363 <property name="TopAttach">3</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
364 <property name="BottomAttach">4</property> |
0 | 365 <property name="LeftAttach">1</property> |
366 <property name="RightAttach">2</property> | |
367 <property name="AutoSize">True</property> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
368 <property name="XOptions">Fill</property> |
0 | 369 <property name="YOptions">Fill</property> |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
370 <property name="XExpand">False</property> |
0 | 371 <property name="XFill">True</property> |
372 <property name="XShrink">False</property> | |
373 <property name="YExpand">False</property> | |
374 <property name="YFill">True</property> | |
375 <property name="YShrink">False</property> | |
376 </packing> | |
377 </child> | |
378 <child> | |
379 <widget class="Gtk.Label" id="label1"> | |
380 <property name="MemberName" /> | |
381 <property name="LabelProp" translatable="yes">Race</property> | |
382 </widget> | |
383 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
384 <property name="TopAttach">1</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
385 <property name="BottomAttach">2</property> |
0 | 386 <property name="AutoSize">True</property> |
387 <property name="XOptions">Fill</property> | |
388 <property name="YOptions">Fill</property> | |
389 <property name="XExpand">False</property> | |
390 <property name="XFill">True</property> | |
391 <property name="XShrink">False</property> | |
392 <property name="YExpand">False</property> | |
393 <property name="YFill">True</property> | |
394 <property name="YShrink">False</property> | |
395 </packing> | |
396 </child> | |
397 <child> | |
398 <widget class="Gtk.Label" id="label2"> | |
399 <property name="MemberName" /> | |
400 <property name="LabelProp" translatable="yes">Army name</property> | |
401 </widget> | |
402 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
403 <property name="TopAttach">2</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
404 <property name="BottomAttach">3</property> |
0 | 405 <property name="AutoSize">True</property> |
406 <property name="XOptions">Fill</property> | |
407 <property name="YOptions">Fill</property> | |
408 <property name="XExpand">False</property> | |
409 <property name="XFill">True</property> | |
410 <property name="XShrink">False</property> | |
411 <property name="YExpand">False</property> | |
412 <property name="YFill">True</property> | |
413 <property name="YShrink">False</property> | |
414 </packing> | |
415 </child> | |
416 <child> | |
417 <widget class="Gtk.Label" id="label3"> | |
418 <property name="MemberName" /> | |
419 <property name="LabelProp" translatable="yes">Points value</property> | |
420 </widget> | |
421 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
422 <property name="TopAttach">3</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
423 <property name="BottomAttach">4</property> |
0 | 424 <property name="AutoSize">True</property> |
425 <property name="XOptions">Fill</property> | |
426 <property name="YOptions">Fill</property> | |
427 <property name="XExpand">False</property> | |
428 <property name="XFill">True</property> | |
429 <property name="XShrink">False</property> | |
430 <property name="YExpand">False</property> | |
431 <property name="YFill">True</property> | |
432 <property name="YShrink">False</property> | |
433 </packing> | |
434 </child> | |
435 <child> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
436 <widget class="Gtk.Label" id="label4"> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
437 <property name="MemberName" /> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
438 <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
|
439 </widget> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
440 <packing> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
441 <property name="AutoSize">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
442 <property name="XOptions">Fill</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
443 <property name="YOptions">Fill</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
444 <property name="XExpand">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
445 <property name="XFill">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
446 <property name="XShrink">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
447 <property name="YExpand">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
448 <property name="YFill">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
449 <property name="YShrink">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
450 </packing> |
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 <child> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
453 <widget class="Gtk.ComboBoxEntry" id="systemCombo"> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
454 <property name="MemberName" /> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
455 <property name="IsTextCombo">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
456 <property name="Items" translatable="yes" /> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
457 <signal name="Changed" handler="OnSystemComboChanged" /> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
458 </widget> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
459 <packing> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
460 <property name="LeftAttach">1</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
461 <property name="RightAttach">2</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
462 <property name="AutoSize">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
463 <property name="YOptions">Fill</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
464 <property name="XExpand">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
465 <property name="XFill">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
466 <property name="XShrink">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
467 <property name="YExpand">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
468 <property name="YFill">True</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
469 <property name="YShrink">False</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
470 </packing> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
471 </child> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
472 <child> |
0 | 473 <widget class="Gtk.Entry" id="txtArmyName"> |
474 <property name="MemberName" /> | |
475 <property name="CanFocus">True</property> | |
476 <property name="IsEditable">True</property> | |
477 <property name="InvisibleChar">•</property> | |
478 <signal name="Changed" handler="OnTextChanged" /> | |
479 </widget> | |
480 <packing> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
481 <property name="TopAttach">2</property> |
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
482 <property name="BottomAttach">3</property> |
0 | 483 <property name="LeftAttach">1</property> |
484 <property name="RightAttach">2</property> | |
485 <property name="AutoSize">True</property> | |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
486 <property name="XOptions">Fill</property> |
0 | 487 <property name="YOptions">Fill</property> |
36
d68992a831df
Fixes #182: Make GTK# more like WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
32
diff
changeset
|
488 <property name="XExpand">False</property> |
0 | 489 <property name="XFill">True</property> |
490 <property name="XShrink">False</property> | |
491 <property name="YExpand">False</property> | |
492 <property name="YFill">True</property> | |
493 <property name="YShrink">False</property> | |
494 </packing> | |
495 </child> | |
496 </widget> | |
497 <packing> | |
498 <property name="Position">0</property> | |
499 <property name="AutoSize">True</property> | |
500 <property name="Expand">False</property> | |
501 <property name="Fill">False</property> | |
502 <property name="Padding">6</property> | |
503 </packing> | |
504 </child> | |
505 </widget> | |
506 </child> | |
507 <child internal-child="ActionArea"> | |
508 <widget class="Gtk.HButtonBox" id="WarFoundrySharp.FrmNewArmy_ActionArea"> | |
509 <property name="MemberName" /> | |
510 <property name="CanFocus">True</property> | |
511 <property name="Events">ButtonPressMask</property> | |
512 <property name="Spacing">6</property> | |
513 <property name="BorderWidth">5</property> | |
514 <property name="Size">2</property> | |
515 <property name="LayoutStyle">End</property> | |
516 <child> | |
517 <widget class="Gtk.Button" id="bttnCancel"> | |
518 <property name="MemberName" /> | |
519 <property name="CanFocus">True</property> | |
520 <property name="UseStock">True</property> | |
521 <property name="Type">StockItem</property> | |
522 <property name="StockId">gtk-cancel</property> | |
523 <property name="ResponseId">-6</property> | |
524 <signal name="Clicked" handler="OnCancelClicked" /> | |
525 <property name="label">gtk-cancel</property> | |
526 </widget> | |
527 <packing> | |
528 <property name="Expand">False</property> | |
529 <property name="Fill">False</property> | |
530 </packing> | |
531 </child> | |
532 <child> | |
533 <widget class="Gtk.Button" id="bttnCreate"> | |
534 <property name="MemberName" /> | |
535 <property name="Sensitive">False</property> | |
536 <property name="CanDefault">True</property> | |
537 <property name="CanFocus">True</property> | |
538 <property name="Type">TextAndIcon</property> | |
539 <property name="Icon">stock:gtk-ok Menu</property> | |
540 <property name="Label" translatable="yes">C_reate</property> | |
541 <property name="UseUnderline">True</property> | |
542 <property name="ResponseId">-5</property> | |
543 <signal name="Clicked" handler="OnCreateClicked" /> | |
544 </widget> | |
545 <packing> | |
546 <property name="Position">1</property> | |
547 <property name="Expand">False</property> | |
548 <property name="Fill">False</property> | |
549 </packing> | |
550 </child> | |
551 </widget> | |
552 </child> | |
553 </widget> | |
5 | 554 <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.GTK.FrmNewUnit" design-size="400 318"> |
0 | 555 <property name="MemberName" /> |
556 <property name="Title" translatable="yes">Add new unit</property> | |
557 <property name="Icon">stock:gtk-new Menu</property> | |
558 <property name="WindowPosition">CenterOnParent</property> | |
559 <property name="Modal">True</property> | |
560 <property name="SkipPagerHint">True</property> | |
561 <property name="SkipTaskbarHint">True</property> | |
562 <property name="Buttons">2</property> | |
563 <property name="HelpButton">False</property> | |
564 <child internal-child="VBox"> | |
565 <widget class="Gtk.VBox" id="dialog1_VBox"> | |
566 <property name="MemberName" /> | |
567 <property name="BorderWidth">2</property> | |
568 <child> | |
569 <widget class="Gtk.VBox" id="vbox2"> | |
570 <property name="MemberName" /> | |
571 <property name="Spacing">6</property> | |
572 <child> | |
573 <widget class="Gtk.HBox" id="hbox1"> | |
574 <property name="MemberName" /> | |
575 <property name="Spacing">6</property> | |
576 <child> | |
577 <widget class="Gtk.Label" id="label1"> | |
578 <property name="MemberName" /> | |
579 <property name="LabelProp" translatable="yes">Unit Type:</property> | |
580 </widget> | |
581 <packing> | |
582 <property name="Position">0</property> | |
583 <property name="AutoSize">True</property> | |
584 <property name="Expand">False</property> | |
585 <property name="Fill">False</property> | |
586 </packing> | |
587 </child> | |
588 <child> | |
589 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow"> | |
590 <property name="MemberName" /> | |
591 <property name="ShadowType">In</property> | |
592 <child> | |
593 <widget class="Gtk.TreeView" id="lstUnitTypes"> | |
594 <property name="MemberName" /> | |
595 <property name="HeightRequest">150</property> | |
596 <property name="CanFocus">True</property> | |
597 <property name="ShowScrollbars">True</property> | |
598 <property name="HeadersVisible">False</property> | |
599 <signal name="RowActivated" handler="OnRowActivated" /> | |
600 </widget> | |
601 </child> | |
602 </widget> | |
603 <packing> | |
604 <property name="Position">1</property> | |
605 <property name="AutoSize">True</property> | |
606 </packing> | |
607 </child> | |
608 </widget> | |
609 <packing> | |
610 <property name="Position">0</property> | |
611 <property name="AutoSize">True</property> | |
612 <property name="Expand">False</property> | |
613 <property name="Fill">False</property> | |
614 </packing> | |
615 </child> | |
616 <child> | |
617 <widget class="Gtk.Label" id="lblNewUnitWarning"> | |
618 <property name="MemberName" /> | |
619 <property name="Xalign">0</property> | |
620 <property name="Yalign">0</property> | |
621 </widget> | |
622 <packing> | |
623 <property name="Position">1</property> | |
624 <property name="AutoSize">True</property> | |
625 <property name="Expand">False</property> | |
626 <property name="Fill">False</property> | |
627 </packing> | |
628 </child> | |
629 </widget> | |
630 <packing> | |
631 <property name="Position">0</property> | |
632 <property name="AutoSize">True</property> | |
633 <property name="Expand">False</property> | |
634 <property name="Fill">False</property> | |
635 </packing> | |
636 </child> | |
637 </widget> | |
638 </child> | |
639 <child internal-child="ActionArea"> | |
640 <widget class="Gtk.HButtonBox" id="dialog1_ActionArea"> | |
641 <property name="MemberName" /> | |
642 <property name="Spacing">6</property> | |
643 <property name="BorderWidth">5</property> | |
644 <property name="Size">2</property> | |
645 <property name="LayoutStyle">End</property> | |
646 <child> | |
647 <widget class="Gtk.Button" id="buttonCancel"> | |
648 <property name="MemberName" /> | |
649 <property name="CanDefault">True</property> | |
650 <property name="CanFocus">True</property> | |
651 <property name="UseStock">True</property> | |
652 <property name="Type">StockItem</property> | |
653 <property name="StockId">gtk-cancel</property> | |
654 <property name="ResponseId">-6</property> | |
655 <signal name="Activated" handler="OnButtonCancelActivated" /> | |
656 <property name="label">gtk-cancel</property> | |
657 </widget> | |
658 <packing> | |
659 <property name="Expand">False</property> | |
660 <property name="Fill">False</property> | |
661 </packing> | |
662 </child> | |
663 <child> | |
664 <widget class="Gtk.Button" id="buttonOk"> | |
665 <property name="MemberName" /> | |
666 <property name="Sensitive">False</property> | |
667 <property name="CanDefault">True</property> | |
668 <property name="CanFocus">True</property> | |
669 <property name="UseStock">True</property> | |
670 <property name="Type">StockItem</property> | |
671 <property name="StockId">gtk-ok</property> | |
672 <property name="ResponseId">-5</property> | |
673 <signal name="Clicked" handler="OnButtonOkClicked" /> | |
674 <property name="label">gtk-ok</property> | |
675 </widget> | |
676 <packing> | |
677 <property name="Position">1</property> | |
678 <property name="Expand">False</property> | |
679 <property name="Fill">False</property> | |
680 </packing> | |
681 </child> | |
682 </widget> | |
683 </child> | |
684 </widget> | |
5 | 685 <widget class="Gtk.Bin" id="IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget" design-size="649 422"> |
0 | 686 <property name="MemberName" /> |
687 <child> | |
688 <widget class="Gtk.VBox" id="vbox1"> | |
689 <property name="MemberName" /> | |
690 <property name="Spacing">6</property> | |
691 <child> | |
692 <widget class="Gtk.HBox" id="hbox1"> | |
693 <property name="MemberName" /> | |
694 <property name="Spacing">6</property> | |
695 <child> | |
696 <widget class="Gtk.Entry" id="unitName"> | |
697 <property name="MemberName" /> | |
698 <property name="CanFocus">True</property> | |
699 <property name="IsEditable">True</property> | |
700 <property name="InvisibleChar">•</property> | |
701 <signal name="FocusOutEvent" handler="OnUnitNameFocusOut" /> | |
702 <signal name="KeyPressEvent" handler="OnUnitNameKeyPress" /> | |
703 </widget> | |
704 <packing> | |
705 <property name="Position">0</property> | |
706 <property name="AutoSize">True</property> | |
707 </packing> | |
708 </child> | |
709 <child> | |
710 <widget class="Gtk.SpinButton" id="unitSize"> | |
711 <property name="MemberName" /> | |
712 <property name="CanFocus">True</property> | |
713 <property name="Upper">100</property> | |
714 <property name="PageIncrement">10</property> | |
715 <property name="StepIncrement">1</property> | |
716 <property name="ClimbRate">1</property> | |
717 <property name="Numeric">True</property> | |
718 <signal name="FocusOutEvent" handler="OnUnitSizeFocusOut" /> | |
719 <signal name="KeyPressEvent" handler="OnUnitSizeKeyPress" /> | |
720 </widget> | |
721 <packing> | |
722 <property name="Position">1</property> | |
723 <property name="AutoSize">True</property> | |
724 <property name="Expand">False</property> | |
725 <property name="Fill">False</property> | |
726 </packing> | |
727 </child> | |
728 </widget> | |
729 <packing> | |
730 <property name="Position">0</property> | |
731 <property name="AutoSize">True</property> | |
732 <property name="Expand">False</property> | |
733 <property name="Fill">False</property> | |
734 </packing> | |
735 </child> | |
736 <child> | |
737 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow"> | |
738 <property name="MemberName" /> | |
739 <property name="ShadowType">In</property> | |
740 <child> | |
741 <widget class="Gtk.NodeView" id="unitStats"> | |
742 <property name="MemberName" /> | |
743 <property name="HeightRequest">75</property> | |
744 <property name="CanFocus">True</property> | |
745 <property name="ShowScrollbars">True</property> | |
746 </widget> | |
747 </child> | |
748 </widget> | |
749 <packing> | |
750 <property name="Position">1</property> | |
751 <property name="AutoSize">True</property> | |
752 </packing> | |
753 </child> | |
754 <child> | |
755 <widget class="Gtk.HSeparator" id="hseparator1"> | |
756 <property name="MemberName" /> | |
757 </widget> | |
758 <packing> | |
759 <property name="Position">2</property> | |
760 <property name="AutoSize">True</property> | |
761 <property name="Expand">False</property> | |
762 <property name="Fill">False</property> | |
763 </packing> | |
764 </child> | |
765 <child> | |
766 <widget class="Gtk.Table" id="table1"> | |
767 <property name="MemberName" /> | |
768 <property name="NRows">2</property> | |
10
c687bbe901f8
Re #37 - Resolve deprecation warnings
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
769 <property name="NColumns">3</property> |
0 | 770 <property name="RowSpacing">6</property> |
771 <property name="ColumnSpacing">6</property> | |
772 <child> | |
773 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow1"> | |
774 <property name="MemberName" /> | |
775 <property name="ShadowType">In</property> | |
776 <child> | |
777 <widget class="Gtk.NodeView" id="optionalEquipment"> | |
778 <property name="MemberName" /> | |
779 <property name="CanFocus">True</property> | |
780 <property name="ShowScrollbars">True</property> | |
781 </widget> | |
782 </child> | |
783 </widget> | |
784 <packing> | |
785 <property name="TopAttach">1</property> | |
786 <property name="BottomAttach">2</property> | |
787 <property name="LeftAttach">1</property> | |
788 <property name="RightAttach">2</property> | |
789 <property name="AutoSize">True</property> | |
790 <property name="YOptions">Fill</property> | |
791 <property name="XExpand">True</property> | |
792 <property name="XFill">True</property> | |
793 <property name="XShrink">False</property> | |
794 <property name="YExpand">False</property> | |
795 <property name="YFill">True</property> | |
796 <property name="YShrink">False</property> | |
797 </packing> | |
798 </child> | |
799 <child> | |
800 <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow2"> | |
801 <property name="MemberName" /> | |
802 <property name="ShadowType">In</property> | |
803 <child> | |
804 <widget class="Gtk.NodeView" id="requiredEquipment"> | |
805 <property name="MemberName" /> | |
806 <property name="CanFocus">True</property> | |
807 <property name="ShowScrollbars">True</property> | |
808 </widget> | |
809 </child> | |
810 </widget> | |
811 <packing> | |
812 <property name="LeftAttach">1</property> | |
813 <property name="RightAttach">2</property> | |
814 <property name="AutoSize">True</property> | |
815 <property name="YOptions">Fill</property> | |
816 <property name="XExpand">True</property> | |
817 <property name="XFill">True</property> | |
818 <property name="XShrink">False</property> | |
819 <property name="YExpand">False</property> | |
820 <property name="YFill">True</property> | |
821 <property name="YShrink">False</property> | |
822 </packing> | |
823 </child> | |
824 <child> | |
825 <widget class="Gtk.Label" id="optionalEquipmentLabel"> | |
826 <property name="MemberName" /> | |
827 <property name="LabelProp" translatable="yes">Optional Equipment:</property> | |
828 </widget> | |
829 <packing> | |
830 <property name="TopAttach">1</property> | |
831 <property name="BottomAttach">2</property> | |
832 <property name="AutoSize">True</property> | |
833 <property name="XOptions">Fill</property> | |
834 <property name="YOptions">Fill</property> | |
835 <property name="XExpand">False</property> | |
836 <property name="XFill">True</property> | |
837 <property name="XShrink">False</property> | |
838 <property name="YExpand">False</property> | |
839 <property name="YFill">True</property> | |
840 <property name="YShrink">False</property> | |
841 </packing> | |
842 </child> | |
843 <child> | |
844 <widget class="Gtk.Label" id="requiredEquipmentLabel"> | |
845 <property name="MemberName" /> | |
846 <property name="LabelProp" translatable="yes">Required Equipment:</property> | |
847 </widget> | |
848 <packing> | |
849 <property name="AutoSize">True</property> | |
850 <property name="XOptions">Fill</property> | |
851 <property name="YOptions">Fill</property> | |
852 <property name="XExpand">False</property> | |
853 <property name="XFill">True</property> | |
854 <property name="XShrink">False</property> | |
855 <property name="YExpand">False</property> | |
856 <property name="YFill">True</property> | |
857 <property name="YShrink">False</property> | |
858 </packing> | |
859 </child> | |
860 <child> | |
861 <widget class="Gtk.VBox" id="vbox2"> | |
862 <property name="MemberName" /> | |
863 <property name="Spacing">6</property> | |
864 <child> | |
865 <widget class="Gtk.Button" id="bttnReplaceRequired"> | |
866 <property name="MemberName" /> | |
867 <property name="CanFocus">True</property> | |
868 <property name="Type">TextOnly</property> | |
869 <property name="Label" translatable="yes">Replace</property> | |
870 <property name="UseUnderline">True</property> | |
871 </widget> | |
872 <packing> | |
873 <property name="Position">0</property> | |
874 <property name="AutoSize">True</property> | |
875 <property name="Expand">False</property> | |
876 <property name="Fill">False</property> | |
877 </packing> | |
878 </child> | |
879 <child> | |
880 <widget class="Gtk.Button" id="bttnEditRequired"> | |
881 <property name="MemberName" /> | |
882 <property name="CanFocus">True</property> | |
883 <property name="Type">TextOnly</property> | |
884 <property name="Label" translatable="yes">Edit</property> | |
885 <property name="UseUnderline">True</property> | |
886 </widget> | |
887 <packing> | |
888 <property name="Position">1</property> | |
889 <property name="AutoSize">True</property> | |
890 <property name="Expand">False</property> | |
891 <property name="Fill">False</property> | |
892 </packing> | |
893 </child> | |
894 <child> | |
895 <placeholder /> | |
896 </child> | |
897 </widget> | |
898 <packing> | |
899 <property name="LeftAttach">2</property> | |
900 <property name="RightAttach">3</property> | |
901 <property name="AutoSize">True</property> | |
902 <property name="XOptions">Fill</property> | |
903 <property name="YOptions">Fill</property> | |
904 <property name="XExpand">False</property> | |
905 <property name="XFill">True</property> | |
906 <property name="XShrink">False</property> | |
907 <property name="YExpand">False</property> | |
908 <property name="YFill">True</property> | |
909 <property name="YShrink">False</property> | |
910 </packing> | |
911 </child> | |
912 <child> | |
913 <widget class="Gtk.VBox" id="vbox3"> | |
914 <property name="MemberName" /> | |
915 <property name="Spacing">6</property> | |
916 <child> | |
917 <widget class="Gtk.Button" id="bttnAddOptional"> | |
918 <property name="MemberName" /> | |
919 <property name="CanFocus">True</property> | |
920 <property name="Type">TextOnly</property> | |
921 <property name="Label" translatable="yes">Add</property> | |
922 <property name="UseUnderline">True</property> | |
923 </widget> | |
924 <packing> | |
925 <property name="Position">0</property> | |
926 <property name="AutoSize">True</property> | |
927 <property name="Expand">False</property> | |
928 <property name="Fill">False</property> | |
929 </packing> | |
930 </child> | |
931 <child> | |
932 <widget class="Gtk.Button" id="bttnEditOptional"> | |
933 <property name="MemberName" /> | |
934 <property name="CanFocus">True</property> | |
935 <property name="Type">TextOnly</property> | |
936 <property name="Label" translatable="yes">Edit</property> | |
937 <property name="UseUnderline">True</property> | |
938 </widget> | |
939 <packing> | |
940 <property name="Position">1</property> | |
941 <property name="AutoSize">True</property> | |
942 <property name="Expand">False</property> | |
943 <property name="Fill">False</property> | |
944 </packing> | |
945 </child> | |
946 <child> | |
947 <widget class="Gtk.Button" id="bttnRemove"> | |
948 <property name="MemberName" /> | |
949 <property name="CanFocus">True</property> | |
950 <property name="Type">TextOnly</property> | |
951 <property name="Label" translatable="yes">Remove</property> | |
952 <property name="UseUnderline">True</property> | |
953 </widget> | |
954 <packing> | |
955 <property name="Position">2</property> | |
956 <property name="AutoSize">True</property> | |
957 <property name="Expand">False</property> | |
958 <property name="Fill">False</property> | |
959 </packing> | |
960 </child> | |
961 </widget> | |
962 <packing> | |
963 <property name="TopAttach">1</property> | |
964 <property name="BottomAttach">2</property> | |
965 <property name="LeftAttach">2</property> | |
966 <property name="RightAttach">3</property> | |
967 <property name="AutoSize">True</property> | |
968 <property name="XOptions">Fill</property> | |
969 <property name="YOptions">Fill</property> | |
970 <property name="XExpand">False</property> | |
971 <property name="XFill">True</property> | |
972 <property name="XShrink">False</property> | |
973 <property name="YExpand">False</property> | |
974 <property name="YFill">True</property> | |
975 <property name="YShrink">False</property> | |
976 </packing> | |
977 </child> | |
978 </widget> | |
979 <packing> | |
980 <property name="Position">3</property> | |
981 <property name="AutoSize">True</property> | |
982 <property name="Expand">False</property> | |
983 <property name="Fill">False</property> | |
984 </packing> | |
985 </child> | |
986 <child> | |
987 <widget class="Gtk.HBox" id="hbox2"> | |
988 <property name="MemberName" /> | |
989 <property name="Spacing">6</property> | |
990 <child> | |
991 <placeholder /> | |
992 </child> | |
993 <child> | |
994 <placeholder /> | |
995 </child> | |
996 <child> | |
997 <placeholder /> | |
998 </child> | |
999 </widget> | |
1000 <packing> | |
1001 <property name="Position">4</property> | |
1002 <property name="AutoSize">True</property> | |
1003 </packing> | |
1004 </child> | |
1005 </widget> | |
1006 </child> | |
1007 </widget> | |
1008 </stetic-interface> |