Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 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 | 44e6833bb41a |
children | 3314f6a46661 |
rev | line source |
---|---|
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
1 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
2 // This file has been generated by the GUI designer. Do not modify. |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
3 namespace IBBoard.WarFoundry.GTK |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
4 { |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
5 public partial class FrmMainWindow |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
6 { |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
7 private global::Gtk.UIManager UIManager; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
8 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
9 private global::Gtk.Action menuFile; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
10 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
11 private global::Gtk.Action miCreateArmy; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
12 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
13 private global::Gtk.Action miOpenArmy; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
14 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
15 private global::Gtk.Action miSaveArmy; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
16 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
17 private global::Gtk.Action miSaveArmyAs; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
18 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
19 private global::Gtk.Action miCloseArmy; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
20 |
44
44e6833bb41a
Re #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
21 private global::Gtk.Action refreshAction; |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
22 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
23 private global::Gtk.Action miExit; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
24 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
25 private global::Gtk.Action menuEdit; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
26 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
27 private global::Gtk.Action miUndo; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
28 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
29 private global::Gtk.Action miRedo; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
30 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
31 private global::Gtk.Action menuHelp; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
32 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
33 private global::Gtk.Action miAbout; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
34 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
35 private global::Gtk.Action miDebugInformation; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
36 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
37 private global::Gtk.Action newArmyButton; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
38 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
39 private global::Gtk.Action openArmyButton; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
40 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
41 private global::Gtk.Action saveArmyButton; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
42 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
43 private global::Gtk.Action undoActionButton; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
44 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
45 private global::Gtk.Action redoActionButton; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
46 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
47 private global::Gtk.Action goDown; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
48 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
49 private global::Gtk.Action @add; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
50 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
51 private global::Gtk.Action miExportArmy; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
52 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
53 private global::Gtk.Action miExportAsBasicHtml; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
54 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
55 private global::Gtk.VBox vbox1; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
56 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
57 private global::Gtk.MenuBar menubar1; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
58 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
59 private global::Gtk.Toolbar toolbar; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
60 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
61 private global::Gtk.HPaned hpaned2; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
62 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
63 private global::Gtk.TreeView treeUnits; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
64 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
65 private global::Gtk.Notebook unitsNotebook; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
66 |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
67 private global::Gtk.Statusbar statusbar1; |
5 | 68 |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
69 protected virtual void Build() |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
70 { |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
71 global::Stetic.Gui.Initialize(this); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
72 // Widget IBBoard.WarFoundry.GTK.FrmMainWindow |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
73 this.UIManager = new global::Gtk.UIManager(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
74 global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
75 this.menuFile = new global::Gtk.Action("menuFile", global::Mono.Unix.Catalog.GetString("File"), null, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
76 this.menuFile.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
77 w1.Add(this.menuFile, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
78 this.miCreateArmy = new global::Gtk.Action("miCreateArmy", global::Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
79 this.miCreateArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Create army"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
80 w1.Add(this.miCreateArmy, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
81 this.miOpenArmy = new global::Gtk.Action("miOpenArmy", global::Mono.Unix.Catalog.GetString("Open army"), null, "gtk-open"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
82 this.miOpenArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Open army"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
83 w1.Add(this.miOpenArmy, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
84 this.miSaveArmy = new global::Gtk.Action("miSaveArmy", global::Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
85 this.miSaveArmy.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
86 this.miSaveArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
87 w1.Add(this.miSaveArmy, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
88 this.miSaveArmyAs = new global::Gtk.Action("miSaveArmyAs", global::Mono.Unix.Catalog.GetString("Save army as"), null, "gtk-save-as"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
89 this.miSaveArmyAs.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
90 this.miSaveArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army as"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
91 w1.Add(this.miSaveArmyAs, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
92 this.miCloseArmy = new global::Gtk.Action("miCloseArmy", global::Mono.Unix.Catalog.GetString("Close army"), null, "gtk-close"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
93 this.miCloseArmy.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
94 this.miCloseArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Close army"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
95 w1.Add(this.miCloseArmy, null); |
44
44e6833bb41a
Re #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
96 this.refreshAction = new global::Gtk.Action("refreshAction", global::Mono.Unix.Catalog.GetString("Reload files"), null, "gtk-refresh"); |
44e6833bb41a
Re #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
97 this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Reload files"); |
44e6833bb41a
Re #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
98 w1.Add(this.refreshAction, null); |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
99 this.miExit = new global::Gtk.Action("miExit", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
100 this.miExit.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
101 w1.Add(this.miExit, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
102 this.menuEdit = new global::Gtk.Action("menuEdit", global::Mono.Unix.Catalog.GetString("Edit"), null, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
103 this.menuEdit.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
104 w1.Add(this.menuEdit, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
105 this.miUndo = new global::Gtk.Action("miUndo", global::Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
106 this.miUndo.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
107 this.miUndo.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
108 w1.Add(this.miUndo, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
109 this.miRedo = new global::Gtk.Action("miRedo", global::Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
110 this.miRedo.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
111 this.miRedo.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
112 w1.Add(this.miRedo, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
113 this.menuHelp = new global::Gtk.Action("menuHelp", global::Mono.Unix.Catalog.GetString("Help"), null, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
114 this.menuHelp.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
115 w1.Add(this.menuHelp, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
116 this.miAbout = new global::Gtk.Action("miAbout", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
117 this.miAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
118 w1.Add(this.miAbout, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
119 this.miDebugInformation = new global::Gtk.Action("miDebugInformation", global::Mono.Unix.Catalog.GetString("Debug Information"), null, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
120 this.miDebugInformation.ShortLabel = global::Mono.Unix.Catalog.GetString("Debug Information"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
121 w1.Add(this.miDebugInformation, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
122 this.newArmyButton = new global::Gtk.Action("newArmyButton", null, null, "gtk-new"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
123 w1.Add(this.newArmyButton, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
124 this.openArmyButton = new global::Gtk.Action("openArmyButton", null, null, "gtk-open"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
125 w1.Add(this.openArmyButton, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
126 this.saveArmyButton = new global::Gtk.Action("saveArmyButton", null, null, "gtk-save"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
127 this.saveArmyButton.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
128 w1.Add(this.saveArmyButton, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
129 this.undoActionButton = new global::Gtk.Action("undoActionButton", null, null, "gtk-undo"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
130 this.undoActionButton.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
131 w1.Add(this.undoActionButton, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
132 this.redoActionButton = new global::Gtk.Action("redoActionButton", null, null, "gtk-redo"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
133 this.redoActionButton.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
134 w1.Add(this.redoActionButton, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
135 this.goDown = new global::Gtk.Action("goDown", null, null, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
136 w1.Add(this.goDown, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
137 this.@add = new global::Gtk.Action("add", null, null, "gtk-add"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
138 w1.Add(this.@add, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
139 this.miExportArmy = new global::Gtk.Action("miExportArmy", global::Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
140 this.miExportArmy.Sensitive = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
141 this.miExportArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Export army"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
142 w1.Add(this.miExportArmy, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
143 this.miExportAsBasicHtml = new global::Gtk.Action("miExportAsBasicHtml", global::Mono.Unix.Catalog.GetString("Basic HTML"), null, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
144 this.miExportAsBasicHtml.ShortLabel = global::Mono.Unix.Catalog.GetString("Basic HTML"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
145 w1.Add(this.miExportAsBasicHtml, null); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
146 this.UIManager.InsertActionGroup(w1, 0); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
147 this.AddAccelGroup(this.UIManager.AccelGroup); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
148 this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
149 this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
150 this.Icon = global::Gdk.Pixbuf.LoadFromResource("App.ico"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
151 // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
152 this.vbox1 = new global::Gtk.VBox(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
153 this.vbox1.Name = "vbox1"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
154 // Container child vbox1.Gtk.Box+BoxChild |
44
44e6833bb41a
Re #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
155 this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miCreateArmy' action='miCreateArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmy' action='miExportArmy'><menuitem name='miExportAsBasicHtml' action='miExportAsBasicHtml'/></menu><menuitem name='miCloseArmy' action='miCloseArmy'/><separator/><menuitem name='refreshAction' action='refreshAction'/><separator/><menuitem name='miExit' action='miExit'/></menu><menu name='menuEdit' action='menuEdit'><menuitem name='miUndo' action='miUndo'/><menuitem name='miRedo' action='miRedo'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/><menuitem name='miDebugInformation' action='miDebugInformation'/></menu></menubar></ui>"); |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
156 this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
157 this.menubar1.Name = "menubar1"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
158 this.vbox1.Add(this.menubar1); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
159 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
160 w2.Position = 0; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
161 w2.Expand = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
162 w2.Fill = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
163 // Container child vbox1.Gtk.Box+BoxChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
164 this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='newArmyButton' action='newArmyButton'/><toolitem name='openArmyButton' action='openArmyButton'/><toolitem name='saveArmyButton' action='saveArmyButton'/><separator/><toolitem name='undoActionButton' action='undoActionButton'/><toolitem name='redoActionButton' action='redoActionButton'/><separator/></toolbar></ui>"); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
165 this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar"))); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
166 this.toolbar.HeightRequest = 36; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
167 this.toolbar.Name = "toolbar"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
168 this.toolbar.ShowArrow = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
169 this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
170 this.toolbar.IconSize = ((global::Gtk.IconSize)(3)); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
171 this.vbox1.Add(this.toolbar); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
172 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
173 w3.Position = 1; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
174 w3.Expand = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
175 w3.Fill = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
176 // Container child vbox1.Gtk.Box+BoxChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
177 this.hpaned2 = new global::Gtk.HPaned(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
178 this.hpaned2.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
179 this.hpaned2.Name = "hpaned2"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
180 this.hpaned2.Position = 178; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
181 // Container child hpaned2.Gtk.Paned+PanedChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
182 this.treeUnits = new global::Gtk.TreeView(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
183 this.treeUnits.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
184 this.treeUnits.Name = "treeUnits"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
185 this.hpaned2.Add(this.treeUnits); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
186 global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.treeUnits])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
187 w4.Resize = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
188 // Container child hpaned2.Gtk.Paned+PanedChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
189 this.unitsNotebook = new global::Gtk.Notebook(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
190 this.unitsNotebook.CanFocus = true; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
191 this.unitsNotebook.Name = "unitsNotebook"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
192 this.unitsNotebook.CurrentPage = -1; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
193 this.hpaned2.Add(this.unitsNotebook); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
194 this.vbox1.Add(this.hpaned2); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
195 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned2])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
196 w6.Position = 2; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
197 // Container child vbox1.Gtk.Box+BoxChild |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
198 this.statusbar1 = new global::Gtk.Statusbar(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
199 this.statusbar1.Name = "statusbar1"; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
200 this.statusbar1.Spacing = 2; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
201 this.vbox1.Add(this.statusbar1); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
202 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
203 w7.Position = 3; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
204 w7.Expand = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
205 w7.Fill = false; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
206 this.Add(this.vbox1); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
207 if ((this.Child != null)) |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
208 { |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
209 this.Child.ShowAll(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
210 } |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
211 this.DefaultWidth = 832; |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
212 this.DefaultHeight = 659; |
43
4e127ce8682f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
213 this.hpaned2.Hide(); |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
214 this.Show(); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
215 this.miCreateArmy.Activated += new global::System.EventHandler(this.OnCreateArmyActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
216 this.miOpenArmy.Activated += new global::System.EventHandler(this.OnOpenArmyActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
217 this.miSaveArmy.Activated += new global::System.EventHandler(this.OnSaveArmyActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
218 this.miSaveArmyAs.Activated += new global::System.EventHandler(this.OnSaveArmyAsActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
219 this.miCloseArmy.Activated += new global::System.EventHandler(this.OnCloseArmyActivated); |
44
44e6833bb41a
Re #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
43
diff
changeset
|
220 this.refreshAction.Activated += new global::System.EventHandler(this.OnReloadFilesActivated); |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
221 this.miExit.Activated += new global::System.EventHandler(this.OnExitActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
222 this.newArmyButton.Activated += new global::System.EventHandler(this.newTBButtonActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
223 this.openArmyButton.Activated += new global::System.EventHandler(this.openTBButtonActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
224 this.saveArmyButton.Activated += new global::System.EventHandler(this.saveTBButtonActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
225 this.undoActionButton.Activated += new global::System.EventHandler(this.undoTBButtonActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
226 this.redoActionButton.Activated += new global::System.EventHandler(this.redoTBButtonActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
227 this.miExportAsBasicHtml.Activated += new global::System.EventHandler(this.OnMiExportAsBasicHtmlActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
228 this.treeUnits.RowActivated += new global::Gtk.RowActivatedHandler(this.ArmyRowActivated); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
229 this.treeUnits.PopupMenu += new global::Gtk.PopupMenuHandler(this.OnTreeUnitsPopupMenu); |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
230 this.treeUnits.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.UnitTreeButtonPressed); |
45
5584860fb44b
Fixes #145: Add UI to remove units from army
IBBoard <dev@ibboard.co.uk>
parents:
44
diff
changeset
|
231 this.unitsNotebook.Removed += new global::Gtk.RemovedHandler(this.NotebookPageRemoved); |
40
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
232 } |
0bd9c85d3c5d
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
233 } |
5 | 234 } |