Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs @ 31:ca863c693550
* Fix missing reference to glib-sharp
* Automated code cleanups
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 15 Sep 2009 19:34:17 +0000 |
parents | 58961ff391d4 |
children |
rev | line source |
---|---|
5 | 1 // ------------------------------------------------------------------------------ |
2 // <autogenerated> | |
3 // This code was generated by a tool. | |
7 | 4 // |
5 | 5 // |
6 // Changes to this file may cause incorrect behavior and will be lost if | |
7 // the code is regenerated. | |
8 // </autogenerated> | |
9 // ------------------------------------------------------------------------------ | |
10 | |
6
cfc7683e73f9
Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
11 namespace IBBoard.WarFoundry.GTK { |
5 | 12 |
13 | |
14 public partial class FrmChangeGameSystem { | |
15 | |
16 private Gtk.HBox hbox1; | |
17 | |
18 private Gtk.Label lblGameSystem; | |
19 | |
20 private Gtk.ScrolledWindow GtkScrolledWindow; | |
21 | |
22 private Gtk.TreeView lstGameSystems; | |
23 | |
24 private Gtk.Button buttonCancel; | |
25 | |
26 private Gtk.Button buttonOk; | |
27 | |
28 protected virtual void Build() { | |
29 Stetic.Gui.Initialize(this); | |
6
cfc7683e73f9
Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
30 // Widget IBBoard.WarFoundry.GTK.FrmChangeGameSystem |
cfc7683e73f9
Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
31 this.Name = "IBBoard.WarFoundry.GTK.FrmChangeGameSystem"; |
7 | 32 this.Title = Mono.Unix.Catalog.GetString("Change Game System"); |
5 | 33 this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); |
34 this.TypeHint = ((Gdk.WindowTypeHint)(1)); | |
35 this.WindowPosition = ((Gtk.WindowPosition)(4)); | |
36 this.Modal = true; | |
37 this.Resizable = false; | |
38 this.AllowGrow = false; | |
39 this.DefaultWidth = 400; | |
40 this.DefaultHeight = 300; | |
41 this.SkipPagerHint = true; | |
42 this.SkipTaskbarHint = true; | |
6
cfc7683e73f9
Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
43 // Internal child IBBoard.WarFoundry.GTK.FrmChangeGameSystem.VBox |
5 | 44 Gtk.VBox w1 = this.VBox; |
45 w1.Name = "dialog1_VBox"; | |
46 w1.Spacing = 6; | |
47 w1.BorderWidth = ((uint)(2)); | |
48 // Container child dialog1_VBox.Gtk.Box+BoxChild | |
49 this.hbox1 = new Gtk.HBox(); | |
50 this.hbox1.Name = "hbox1"; | |
51 this.hbox1.Spacing = 6; | |
52 // Container child hbox1.Gtk.Box+BoxChild | |
53 this.lblGameSystem = new Gtk.Label(); | |
54 this.lblGameSystem.Name = "lblGameSystem"; | |
7 | 55 this.lblGameSystem.LabelProp = Mono.Unix.Catalog.GetString("Game System"); |
5 | 56 this.hbox1.Add(this.lblGameSystem); |
57 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblGameSystem])); | |
58 w2.Position = 0; | |
59 w2.Expand = false; | |
60 w2.Fill = false; | |
61 // Container child hbox1.Gtk.Box+BoxChild | |
62 this.GtkScrolledWindow = new Gtk.ScrolledWindow(); | |
63 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; | |
64 this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); | |
65 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild | |
66 this.lstGameSystems = new Gtk.TreeView(); | |
67 this.lstGameSystems.WidthRequest = 250; | |
68 this.lstGameSystems.HeightRequest = 125; | |
69 this.lstGameSystems.CanFocus = true; | |
70 this.lstGameSystems.Name = "lstGameSystems"; | |
71 this.lstGameSystems.HeadersVisible = false; | |
72 this.GtkScrolledWindow.Add(this.lstGameSystems); | |
73 this.hbox1.Add(this.GtkScrolledWindow); | |
74 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); | |
75 w4.Position = 1; | |
76 w1.Add(this.hbox1); | |
77 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); | |
78 w5.Position = 0; | |
6
cfc7683e73f9
Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
79 // Internal child IBBoard.WarFoundry.GTK.FrmChangeGameSystem.ActionArea |
5 | 80 Gtk.HButtonBox w6 = this.ActionArea; |
81 w6.Name = "dialog1_ActionArea"; | |
82 w6.Spacing = 6; | |
83 w6.BorderWidth = ((uint)(5)); | |
84 w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); | |
85 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
86 this.buttonCancel = new Gtk.Button(); | |
87 this.buttonCancel.CanDefault = true; | |
88 this.buttonCancel.CanFocus = true; | |
89 this.buttonCancel.Name = "buttonCancel"; | |
90 this.buttonCancel.UseStock = true; | |
91 this.buttonCancel.UseUnderline = true; | |
92 this.buttonCancel.Label = "gtk-cancel"; | |
93 this.AddActionWidget(this.buttonCancel, -6); | |
94 Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonCancel])); | |
95 w7.Expand = false; | |
96 w7.Fill = false; | |
97 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
98 this.buttonOk = new Gtk.Button(); | |
99 this.buttonOk.Sensitive = false; | |
100 this.buttonOk.CanDefault = true; | |
101 this.buttonOk.CanFocus = true; | |
102 this.buttonOk.Name = "buttonOk"; | |
103 this.buttonOk.UseStock = true; | |
104 this.buttonOk.UseUnderline = true; | |
105 this.buttonOk.Label = "gtk-ok"; | |
106 this.AddActionWidget(this.buttonOk, -5); | |
107 Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk])); | |
108 w8.Position = 1; | |
109 w8.Expand = false; | |
110 w8.Fill = false; | |
111 if ((this.Child != null)) { | |
112 this.Child.ShowAll(); | |
113 } | |
114 this.Show(); | |
115 this.lstGameSystems.RowActivated += new Gtk.RowActivatedHandler(this.lstGameSystemsRowActivated); | |
116 this.buttonCancel.Clicked += new System.EventHandler(this.OnCancel); | |
117 this.buttonOk.Clicked += new System.EventHandler(this.OnGameSystemOkayClicked); | |
118 } | |
119 } | |
120 } |