Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget.cs @ 144:929ef50c3919
Fixes #344: Show unit requirement failures
* Remove border on scrollable area
* Make text selectable, in case people want to copy it
* Shrink size of New Unit window to remove spare space
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 25 Oct 2011 20:32:47 +0100 |
parents | cff58ea990c4 |
children |
rev | line source |
---|---|
126 | 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 TransformXmlWidget | |
6 { | |
7 private global::Gtk.Table table1; | |
132
cff58ea990c4
Fixes #361: Add XML export UI to GTK#
IBBoard <dev@ibboard.co.uk>
parents:
126
diff
changeset
|
8 private global::IBBoard.GtkSharp.Translatable.TranslatableCheckButton doTransformWidget; |
126 | 9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTransform; |
10 private global::Gtk.ComboBox transformList; | |
11 | |
12 protected virtual void Build () | |
13 { | |
14 global::Stetic.Gui.Initialize (this); | |
15 // Widget IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget | |
16 global::Stetic.BinContainer.Attach (this); | |
17 this.Name = "IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget"; | |
18 // Container child IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget.Gtk.Container+ContainerChild | |
19 this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); | |
20 this.table1.Name = "table1"; | |
21 this.table1.RowSpacing = ((uint)(6)); | |
22 this.table1.ColumnSpacing = ((uint)(6)); | |
23 // Container child table1.Gtk.Table+TableChild | |
132
cff58ea990c4
Fixes #361: Add XML export UI to GTK#
IBBoard <dev@ibboard.co.uk>
parents:
126
diff
changeset
|
24 this.doTransformWidget = new global::IBBoard.GtkSharp.Translatable.TranslatableCheckButton (); |
126 | 25 this.doTransformWidget.CanFocus = true; |
26 this.doTransformWidget.Name = "doTransformWidget"; | |
27 this.doTransformWidget.Label = global::Mono.Unix.Catalog.GetString ("transform output"); | |
28 this.doTransformWidget.DrawIndicator = true; | |
29 this.doTransformWidget.UseUnderline = true; | |
30 this.table1.Add (this.doTransformWidget); | |
31 global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.doTransformWidget])); | |
32 w1.LeftAttach = ((uint)(1)); | |
33 w1.RightAttach = ((uint)(2)); | |
34 w1.XOptions = ((global::Gtk.AttachOptions)(4)); | |
35 w1.YOptions = ((global::Gtk.AttachOptions)(4)); | |
36 // Container child table1.Gtk.Table+TableChild | |
37 this.lblTransform = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); | |
38 this.lblTransform.Sensitive = false; | |
39 this.lblTransform.Name = "lblTransform"; | |
40 this.lblTransform.Xalign = 1F; | |
41 this.lblTransform.LabelProp = global::Mono.Unix.Catalog.GetString ("transformation:"); | |
42 this.table1.Add (this.lblTransform); | |
43 global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblTransform])); | |
44 w2.TopAttach = ((uint)(1)); | |
45 w2.BottomAttach = ((uint)(2)); | |
46 w2.XOptions = ((global::Gtk.AttachOptions)(4)); | |
47 w2.YOptions = ((global::Gtk.AttachOptions)(4)); | |
48 // Container child table1.Gtk.Table+TableChild | |
49 this.transformList = global::Gtk.ComboBox.NewText (); | |
50 this.transformList.Sensitive = false; | |
51 this.transformList.Name = "transformList"; | |
52 this.table1.Add (this.transformList); | |
53 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.transformList])); | |
54 w3.TopAttach = ((uint)(1)); | |
55 w3.BottomAttach = ((uint)(2)); | |
56 w3.LeftAttach = ((uint)(1)); | |
57 w3.RightAttach = ((uint)(2)); | |
58 w3.YOptions = ((global::Gtk.AttachOptions)(4)); | |
59 this.Add (this.table1); | |
60 if ((this.Child != null)) { | |
61 this.Child.ShowAll (); | |
62 } | |
63 this.Hide (); | |
64 this.transformList.Changed += new global::System.EventHandler (this.OnTransformListChanged); | |
65 this.doTransformWidget.Toggled += new global::System.EventHandler (this.OnDoTransformWidgetToggled); | |
66 } | |
67 } | |
68 } |