view gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmPreferences.cs @ 167:9808adf2d566

Re #419: Remove assumptions of a file-based install * Update GTK# GUI to use Streams version of XSLT export
author IBBoard <dev@ibboard.co.uk>
date Wed, 28 Nov 2012 20:25:53 +0000
parents b4416ca69153
children
line source
2 // This file has been generated by the GUI designer. Do not modify.
3 namespace IBBoard.WarFoundry.GUI.GTK
4 {
5 public partial class FrmPreferences
6 {
7 private global::Gtk.HPaned hpaned1;
8 private global::Gtk.ScrolledWindow GtkScrolledWindow;
9 private global::Gtk.TreeView preferencesTree;
10 private global::Gtk.Frame prefsFrame;
11 private global::Gtk.Alignment GtkAlignment2;
12 private global::Gtk.Table table1;
13 private global::Gtk.ComboBox languageList;
14 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblLanguage;
15 private global::Gtk.Label frameLabel;
16 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
17 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;
19 protected virtual void Build ()
20 {
21 global::Stetic.Gui.Initialize (this);
22 // Widget IBBoard.WarFoundry.GUI.GTK.FrmPreferences
23 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmPreferences";
24 this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
25 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
26 this.SkipPagerHint = true;
27 this.SkipTaskbarHint = true;
28 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.VBox
29 global::Gtk.VBox w1 = this.VBox;
30 w1.Name = "dialog1_VBox";
31 w1.BorderWidth = ((uint)(2));
32 // Container child dialog1_VBox.Gtk.Box+BoxChild
33 this.hpaned1 = new global::Gtk.HPaned ();
34 this.hpaned1.CanFocus = true;
35 this.hpaned1.Name = "hpaned1";
36 this.hpaned1.Position = 164;
37 // Container child hpaned1.Gtk.Paned+PanedChild
38 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
39 this.GtkScrolledWindow.Name = "GtkScrolledWindow";
40 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
41 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
42 this.preferencesTree = new global::Gtk.TreeView ();
43 this.preferencesTree.CanFocus = true;
44 this.preferencesTree.Name = "preferencesTree";
45 this.preferencesTree.HeadersVisible = false;
46 this.GtkScrolledWindow.Add (this.preferencesTree);
47 this.hpaned1.Add (this.GtkScrolledWindow);
48 global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow]));
49 w3.Resize = false;
50 // Container child hpaned1.Gtk.Paned+PanedChild
51 this.prefsFrame = new global::Gtk.Frame ();
52 this.prefsFrame.Name = "prefsFrame";
53 this.prefsFrame.ShadowType = ((global::Gtk.ShadowType)(1));
54 this.prefsFrame.BorderWidth = ((uint)(2));
55 // Container child prefsFrame.Gtk.Container+ContainerChild
56 this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
57 this.GtkAlignment2.Name = "GtkAlignment2";
58 this.GtkAlignment2.LeftPadding = ((uint)(12));
59 // Container child GtkAlignment2.Gtk.Container+ContainerChild
60 this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
61 this.table1.Name = "table1";
62 this.table1.RowSpacing = ((uint)(6));
63 this.table1.ColumnSpacing = ((uint)(6));
64 // Container child table1.Gtk.Table+TableChild
65 this.languageList = global::Gtk.ComboBox.NewText ();
66 this.languageList.Name = "languageList";
67 this.table1.Add (this.languageList);
68 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.languageList]));
69 w4.LeftAttach = ((uint)(1));
70 w4.RightAttach = ((uint)(2));
71 w4.XOptions = ((global::Gtk.AttachOptions)(4));
72 w4.YOptions = ((global::Gtk.AttachOptions)(4));
73 // Container child table1.Gtk.Table+TableChild
74 this.lblLanguage = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
75 this.lblLanguage.Name = "lblLanguage";
76 this.lblLanguage.LabelProp = global::Mono.Unix.Catalog.GetString ("language:");
77 this.table1.Add (this.lblLanguage);
78 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblLanguage]));
79 w5.XOptions = ((global::Gtk.AttachOptions)(4));
80 w5.YOptions = ((global::Gtk.AttachOptions)(4));
81 this.GtkAlignment2.Add (this.table1);
82 this.prefsFrame.Add (this.GtkAlignment2);
83 this.frameLabel = new global::Gtk.Label ();
84 this.frameLabel.Name = "frameLabel";
85 this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>language</b>");
86 this.frameLabel.UseMarkup = true;
87 this.prefsFrame.LabelWidget = this.frameLabel;
88 this.hpaned1.Add (this.prefsFrame);
89 w1.Add (this.hpaned1);
90 global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1]));
91 w9.Position = 0;
92 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.ActionArea
93 global::Gtk.HButtonBox w10 = this.ActionArea;
94 w10.Name = "dialog1_ActionArea";
95 w10.Spacing = 10;
96 w10.BorderWidth = ((uint)(5));
97 w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
98 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
99 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
100 this.bttnCancel.CanDefault = true;
101 this.bttnCancel.CanFocus = true;
102 this.bttnCancel.Name = "bttnCancel";
103 this.bttnCancel.UseStock = true;
104 this.bttnCancel.UseUnderline = true;
105 this.bttnCancel.Label = "gtk-cancel";
106 this.AddActionWidget (this.bttnCancel, -6);
107 global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.bttnCancel]));
108 w11.Expand = false;
109 w11.Fill = false;
110 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
111 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
112 this.bttnOkay.CanDefault = true;
113 this.bttnOkay.CanFocus = true;
114 this.bttnOkay.Name = "bttnOkay";
115 this.bttnOkay.UseStock = true;
116 this.bttnOkay.UseUnderline = true;
117 this.bttnOkay.Label = "gtk-ok";
118 this.AddActionWidget (this.bttnOkay, -5);
119 global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.bttnOkay]));
120 w12.Position = 1;
121 w12.Expand = false;
122 w12.Fill = false;
123 if ((this.Child != null)) {
124 this.Child.ShowAll ();
125 }
126 this.DefaultWidth = 400;
127 this.DefaultHeight = 300;
128 this.Show ();
129 this.languageList.Changed += new global::System.EventHandler (this.languageListChanged);
130 this.bttnCancel.Clicked += new global::System.EventHandler (this.bttnCancelClicked);
131 this.bttnOkay.Clicked += new global::System.EventHandler (this.bttnOkayClicked);
132 }
133 }
134 }