annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmPreferences.cs @ 126:d4e6bfeb1c61

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