Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmPreferences.cs @ 95:ea4069bbe6e9
Re #309: Add initial preference dialog with language support
* Add first preference dialog
* Add French translations (based on WinForms file)
Re #308: Make GTK# UI translatable
* Add some missing English translations (API strings)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 01 Jan 2011 20:55:07 +0000 |
parents | |
children | b4416ca69153 |
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; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 private global::Gtk.Button bttnCancel; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 private global::Gtk.Button bttnOkay; |
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"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 // 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
|
26 global::Gtk.VBox w1 = this.VBox; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 w1.Name = "dialog1_VBox"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 w1.BorderWidth = ((uint)(2)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 // 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
|
30 this.hpaned1 = new global::Gtk.HPaned(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 this.hpaned1.CanFocus = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 this.hpaned1.Name = "hpaned1"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 this.hpaned1.Position = 164; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 // Container child hpaned1.Gtk.Paned+PanedChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 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
|
38 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 this.preferencesTree = new global::Gtk.TreeView(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 this.preferencesTree.CanFocus = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 this.preferencesTree.Name = "preferencesTree"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 this.preferencesTree.HeadersVisible = false; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 this.GtkScrolledWindow.Add(this.preferencesTree); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 this.hpaned1.Add(this.GtkScrolledWindow); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 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
|
46 w3.Resize = false; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 // Container child hpaned1.Gtk.Paned+PanedChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 this.prefsFrame = new global::Gtk.Frame(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 this.prefsFrame.Name = "prefsFrame"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 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
|
51 this.prefsFrame.BorderWidth = ((uint)(2)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 // Container child prefsFrame.Gtk.Container+ContainerChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 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
|
54 this.GtkAlignment2.Name = "GtkAlignment2"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 this.GtkAlignment2.LeftPadding = ((uint)(12)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 // Container child GtkAlignment2.Gtk.Container+ContainerChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 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
|
58 this.table1.Name = "table1"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 this.table1.RowSpacing = ((uint)(6)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 this.table1.ColumnSpacing = ((uint)(6)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 // Container child table1.Gtk.Table+TableChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 this.languageList = global::Gtk.ComboBox.NewText(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 this.languageList.Name = "languageList"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 this.table1.Add(this.languageList); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 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
|
66 w4.LeftAttach = ((uint)(1)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 w4.RightAttach = ((uint)(2)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 w4.XOptions = ((global::Gtk.AttachOptions)(4)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 w4.YOptions = ((global::Gtk.AttachOptions)(4)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 // Container child table1.Gtk.Table+TableChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 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
|
72 this.lblLanguage.Name = "lblLanguage"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 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
|
74 this.table1.Add(this.lblLanguage); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
75 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
|
76 w5.XOptions = ((global::Gtk.AttachOptions)(4)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
77 w5.YOptions = ((global::Gtk.AttachOptions)(4)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
78 this.GtkAlignment2.Add(this.table1); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
79 this.prefsFrame.Add(this.GtkAlignment2); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 this.frameLabel = new global::Gtk.Label(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 this.frameLabel.Name = "frameLabel"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 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
|
83 this.frameLabel.UseMarkup = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 this.prefsFrame.LabelWidget = this.frameLabel; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 this.hpaned1.Add(this.prefsFrame); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 w1.Add(this.hpaned1); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 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
|
88 w9.Position = 0; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 // 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
|
90 global::Gtk.HButtonBox w10 = this.ActionArea; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 w10.Name = "dialog1_ActionArea"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 w10.Spacing = 10; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 w10.BorderWidth = ((uint)(5)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 this.bttnCancel = new global::Gtk.Button(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 this.bttnCancel.CanDefault = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 this.bttnCancel.CanFocus = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 this.bttnCancel.Name = "bttnCancel"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 this.bttnCancel.UseStock = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 this.bttnCancel.UseUnderline = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 this.bttnCancel.Label = "gtk-cancel"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 this.AddActionWidget(this.bttnCancel, -6); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 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
|
105 w11.Expand = false; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 w11.Fill = false; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
108 this.bttnOkay = new global::Gtk.Button(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 this.bttnOkay.CanDefault = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
110 this.bttnOkay.CanFocus = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 this.bttnOkay.Name = "bttnOkay"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 this.bttnOkay.UseStock = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
113 this.bttnOkay.UseUnderline = true; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
114 this.bttnOkay.Label = "gtk-ok"; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 this.AddActionWidget(this.bttnOkay, -5); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 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
|
117 w12.Position = 1; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
118 w12.Expand = false; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 w12.Fill = false; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 if ((this.Child != null)) |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
121 { |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
122 this.Child.ShowAll(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 } |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 this.DefaultWidth = 400; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 this.DefaultHeight = 300; |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
126 this.Show(); |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 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
|
128 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
|
129 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
|
130 } |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
131 } |
ea4069bbe6e9
Re #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
132 } |