Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
view 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 |
line wrap: on
line source
// This file has been generated by the GUI designer. Do not modify. namespace IBBoard.WarFoundry.GUI.GTK { public partial class TransformXmlWidget { private global::Gtk.Table table1; private global::IBBoard.GtkSharp.Translatable.TranslatableCheckButton doTransformWidget; private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTransform; private global::Gtk.ComboBox transformList; protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget global::Stetic.BinContainer.Attach (this); this.Name = "IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget"; // Container child IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.doTransformWidget = new global::IBBoard.GtkSharp.Translatable.TranslatableCheckButton (); this.doTransformWidget.CanFocus = true; this.doTransformWidget.Name = "doTransformWidget"; this.doTransformWidget.Label = global::Mono.Unix.Catalog.GetString ("transform output"); this.doTransformWidget.DrawIndicator = true; this.doTransformWidget.UseUnderline = true; this.table1.Add (this.doTransformWidget); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.doTransformWidget])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblTransform = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); this.lblTransform.Sensitive = false; this.lblTransform.Name = "lblTransform"; this.lblTransform.Xalign = 1F; this.lblTransform.LabelProp = global::Mono.Unix.Catalog.GetString ("transformation:"); this.table1.Add (this.lblTransform); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblTransform])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.transformList = global::Gtk.ComboBox.NewText (); this.transformList.Sensitive = false; this.transformList.Name = "transformList"; this.table1.Add (this.transformList); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.transformList])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.transformList.Changed += new global::System.EventHandler (this.OnTransformListChanged); this.doTransformWidget.Toggled += new global::System.EventHandler (this.OnDoTransformWidgetToggled); } } }