Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget.cs @ 132:cff58ea990c4
Fixes #361: Add XML export UI to GTK#
* Use translatable widgets
* Add English translations
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 08 Oct 2011 20:33:37 +0100 |
parents | d4e6bfeb1c61 |
children |
comparison
equal
deleted
inserted
replaced
131:0d8004d6a4e5 | 132:cff58ea990c4 |
---|---|
3 namespace IBBoard.WarFoundry.GUI.GTK | 3 namespace IBBoard.WarFoundry.GUI.GTK |
4 { | 4 { |
5 public partial class TransformXmlWidget | 5 public partial class TransformXmlWidget |
6 { | 6 { |
7 private global::Gtk.Table table1; | 7 private global::Gtk.Table table1; |
8 private global::Gtk.CheckButton doTransformWidget; | 8 private global::IBBoard.GtkSharp.Translatable.TranslatableCheckButton doTransformWidget; |
9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTransform; | 9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTransform; |
10 private global::Gtk.ComboBox transformList; | 10 private global::Gtk.ComboBox transformList; |
11 | 11 |
12 protected virtual void Build () | 12 protected virtual void Build () |
13 { | 13 { |
19 this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); | 19 this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); |
20 this.table1.Name = "table1"; | 20 this.table1.Name = "table1"; |
21 this.table1.RowSpacing = ((uint)(6)); | 21 this.table1.RowSpacing = ((uint)(6)); |
22 this.table1.ColumnSpacing = ((uint)(6)); | 22 this.table1.ColumnSpacing = ((uint)(6)); |
23 // Container child table1.Gtk.Table+TableChild | 23 // Container child table1.Gtk.Table+TableChild |
24 this.doTransformWidget = new global::Gtk.CheckButton (); | 24 this.doTransformWidget = new global::IBBoard.GtkSharp.Translatable.TranslatableCheckButton (); |
25 this.doTransformWidget.CanFocus = true; | 25 this.doTransformWidget.CanFocus = true; |
26 this.doTransformWidget.Name = "doTransformWidget"; | 26 this.doTransformWidget.Name = "doTransformWidget"; |
27 this.doTransformWidget.Label = global::Mono.Unix.Catalog.GetString ("transform output"); | 27 this.doTransformWidget.Label = global::Mono.Unix.Catalog.GetString ("transform output"); |
28 this.doTransformWidget.DrawIndicator = true; | 28 this.doTransformWidget.DrawIndicator = true; |
29 this.doTransformWidget.UseUnderline = true; | 29 this.doTransformWidget.UseUnderline = true; |