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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // This file has been generated by the GUI designer. Do not modify.
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 namespace IBBoard.WarFoundry.GUI.GTK
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 public partial class FrmAbout
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 private global::Gtk.Image image1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 private global::Gtk.Label label1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 private global::Gtk.Label label4;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 private global::Gtk.Label label2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 private global::Gtk.Label label3;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 private global::Gtk.Button buttonOk;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 protected virtual void Build()
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 global::Stetic.Gui.Initialize(this);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 // Widget IBBoard.WarFoundry.GUI.GTK.FrmAbout
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 this.Resizable = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 this.AllowGrow = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.VBox
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 global::Gtk.VBox w1 = this.VBox;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 w1.Name = "dialog1_VBox";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 w1.BorderWidth = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 // Container child dialog1_VBox.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 this.image1 = new global::Gtk.Image();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 this.image1.Name = "image1";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("IBBoard.WarFoundry.GUI.GTK.App-lrg.png");
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 w1.Add(this.image1);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.image1]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 w2.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 w2.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 w2.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 // Container child dialog1_VBox.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 this.label1 = new global::Gtk.Label();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 this.label1.Name = "label1";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span font_size=\"x-large\" weight=\"bold\">WarFoundry v0.1 Beta 1</span>");
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 this.label1.UseMarkup = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 w1.Add(this.label1);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.label1]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 w3.Position = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 w3.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 w3.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 // Container child dialog1_VBox.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 this.label4 = new global::Gtk.Label();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 this.label4.Name = "label4";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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.");
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 this.label4.Wrap = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 this.label4.Justify = ((global::Gtk.Justification)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 w1.Add(this.label4);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.label4]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 w4.Position = 2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 w4.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 w4.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 // Container child dialog1_VBox.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 this.label2 = new global::Gtk.Label();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 this.label2.Name = "label2";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("© 2007-2010, IBBoard and others");
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 w1.Add(this.label2);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.label2]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 w5.Position = 3;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 w5.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 w5.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 // Container child dialog1_VBox.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 this.label3 = new global::Gtk.Label();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 this.label3.Name = "label3";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"http://warfoundry.co.uk\">http://warfoundry.co.uk</a>");
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 this.label3.UseMarkup = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 w1.Add(this.label3);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.label3]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 w6.Position = 4;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 w6.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 w6.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.ActionArea
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 global::Gtk.HButtonBox w7 = this.ActionArea;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 w7.Name = "dialog1_ActionArea";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 w7.Spacing = 10;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 w7.BorderWidth = ((uint)(5));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 this.buttonOk = new global::Gtk.Button();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 this.buttonOk.CanDefault = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 this.buttonOk.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 this.buttonOk.Name = "buttonOk";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 this.buttonOk.UseStock = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 this.buttonOk.UseUnderline = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 this.buttonOk.Label = "gtk-ok";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 this.AddActionWidget(this.buttonOk, -5);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 w8.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 w8.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 if ((this.Child != null))
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 this.Child.ShowAll();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 this.DefaultWidth = 305;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 this.DefaultHeight = 300;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 this.Show();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 this.buttonOk.Activated += new global::System.EventHandler(this.OkayClicked);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 }