Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAbout.cs @ 89:31d54f67d50d
Re #308: Make GTK# UI translatable
* Start to make use of TranslatableButtons now that we've finally got them working and usable
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 30 Dec 2010 21:00:00 +0000 |
parents | 9c9af2ce8c43 |
children | e40d892a2298 |
rev | line source |
---|---|
77 | 1 |
2 // This file has been generated by the GUI designer. Do not modify. | |
3 namespace IBBoard.WarFoundry.GUI.GTK | |
4 { | |
5 public partial class FrmAbout | |
6 { | |
7 private global::Gtk.Image image1; | |
8 private global::Gtk.Label label1; | |
9 private global::Gtk.Label label4; | |
10 private global::Gtk.Label label2; | |
11 private global::Gtk.Label label3; | |
12 private global::Gtk.Button buttonOk; | |
13 | |
14 protected virtual void Build() | |
15 { | |
16 global::Stetic.Gui.Initialize(this); | |
17 // Widget IBBoard.WarFoundry.GUI.GTK.FrmAbout | |
18 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAbout"; | |
80
9c9af2ce8c43
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
19 this.Title = global::Mono.Unix.Catalog.GetString("About WF"); |
77 | 20 this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); |
21 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); | |
22 this.Resizable = false; | |
23 this.AllowGrow = false; | |
24 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.VBox | |
25 global::Gtk.VBox w1 = this.VBox; | |
26 w1.Name = "dialog1_VBox"; | |
27 w1.BorderWidth = ((uint)(2)); | |
28 // Container child dialog1_VBox.Gtk.Box+BoxChild | |
29 this.image1 = new global::Gtk.Image(); | |
30 this.image1.Name = "image1"; | |
31 this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("IBBoard.WarFoundry.GUI.GTK.App-lrg.png"); | |
32 w1.Add(this.image1); | |
33 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.image1])); | |
34 w2.Position = 0; | |
35 w2.Expand = false; | |
36 w2.Fill = false; | |
37 // Container child dialog1_VBox.Gtk.Box+BoxChild | |
38 this.label1 = new global::Gtk.Label(); | |
39 this.label1.Name = "label1"; | |
40 this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span font_size=\"x-large\" weight=\"bold\">WarFoundry v0.1 Beta 1</span>"); | |
41 this.label1.UseMarkup = true; | |
42 w1.Add(this.label1); | |
43 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.label1])); | |
44 w3.Position = 1; | |
45 w3.Expand = false; | |
46 w3.Fill = false; | |
47 // Container child dialog1_VBox.Gtk.Box+BoxChild | |
48 this.label4 = new global::Gtk.Label(); | |
49 this.label4.Name = "label4"; | |
50 this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("WarFoundry is an open-source army creation tool that lets you create rosters for multiple game systems."); | |
51 this.label4.Wrap = true; | |
52 this.label4.Justify = ((global::Gtk.Justification)(2)); | |
53 w1.Add(this.label4); | |
54 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.label4])); | |
55 w4.Position = 2; | |
56 w4.Expand = false; | |
57 w4.Fill = false; | |
58 // Container child dialog1_VBox.Gtk.Box+BoxChild | |
59 this.label2 = new global::Gtk.Label(); | |
60 this.label2.Name = "label2"; | |
61 this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("© 2007-2010, IBBoard and others"); | |
62 w1.Add(this.label2); | |
63 global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.label2])); | |
64 w5.Position = 3; | |
65 w5.Expand = false; | |
66 w5.Fill = false; | |
67 // Container child dialog1_VBox.Gtk.Box+BoxChild | |
68 this.label3 = new global::Gtk.Label(); | |
69 this.label3.Name = "label3"; | |
70 this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"http://warfoundry.co.uk\">http://warfoundry.co.uk</a>"); | |
71 this.label3.UseMarkup = true; | |
72 w1.Add(this.label3); | |
73 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.label3])); | |
74 w6.Position = 4; | |
75 w6.Expand = false; | |
76 w6.Fill = false; | |
77 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.ActionArea | |
78 global::Gtk.HButtonBox w7 = this.ActionArea; | |
79 w7.Name = "dialog1_ActionArea"; | |
80 w7.Spacing = 10; | |
81 w7.BorderWidth = ((uint)(5)); | |
82 w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); | |
83 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
84 this.buttonOk = new global::Gtk.Button(); | |
85 this.buttonOk.CanDefault = true; | |
86 this.buttonOk.CanFocus = true; | |
87 this.buttonOk.Name = "buttonOk"; | |
88 this.buttonOk.UseStock = true; | |
89 this.buttonOk.UseUnderline = true; | |
90 this.buttonOk.Label = "gtk-ok"; | |
91 this.AddActionWidget(this.buttonOk, -5); | |
92 global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk])); | |
93 w8.Expand = false; | |
94 w8.Fill = false; | |
95 if ((this.Child != null)) | |
96 { | |
97 this.Child.ShowAll(); | |
98 } | |
99 this.DefaultWidth = 305; | |
100 this.DefaultHeight = 300; | |
101 this.Show(); | |
102 this.buttonOk.Activated += new global::System.EventHandler(this.OkayClicked); | |
103 } | |
104 } | |
105 } |