Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
diff gtk-gui/IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget.cs @ 126:d4e6bfeb1c61
Re #361: Add XML export UI to GTK#
* Separate out the "transform" section so we can add it as an ExtraWidget on the file chooser
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 01 Oct 2011 16:19:48 +0100 |
parents | |
children | cff58ea990c4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget.cs Sat Oct 01 16:19:48 2011 +0100 @@ -0,0 +1,68 @@ + +// 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::Gtk.CheckButton 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::Gtk.CheckButton (); + 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); + } + } +}