Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget.cs @ 167:9808adf2d566 default tip
Re #419: Remove assumptions of a file-based install
* Update GTK# GUI to use Streams version of XSLT export
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 28 Nov 2012 20:25:53 +0000 |
parents | 7b091ea86819 |
children |
rev | line source |
---|---|
142
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // This file has been generated by the GUI designer. Do not modify. |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 namespace IBBoard.WarFoundry.GUI.GTK |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 { |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 public partial class ValidationFailureWidget |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 { |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 private global::Gtk.HBox hbox1; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 private global::Gtk.Image image1; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 private global::Gtk.ScrolledWindow scrolledwindow1; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 private global::Gtk.Label validationMessages; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 protected virtual void Build () |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 { |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 global::Stetic.Gui.Initialize (this); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 // Widget IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 global::Stetic.BinContainer.Attach (this); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 this.Name = "IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget"; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 // Container child IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget.Gtk.Container+ContainerChild |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 this.hbox1 = new global::Gtk.HBox (); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 this.hbox1.Name = "hbox1"; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 this.hbox1.Spacing = 6; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 // Container child hbox1.Gtk.Box+BoxChild |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 this.image1 = new global::Gtk.Image (); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 this.image1.Name = "image1"; |
155
7b091ea86819
* Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents:
144
diff
changeset
|
25 this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon ( |
7b091ea86819
* Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents:
144
diff
changeset
|
26 this, |
7b091ea86819
* Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents:
144
diff
changeset
|
27 "gtk-dialog-warning", |
7b091ea86819
* Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents:
144
diff
changeset
|
28 global::Gtk.IconSize.Dialog |
7b091ea86819
* Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents:
144
diff
changeset
|
29 ); |
142
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 this.hbox1.Add (this.image1); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image1])); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 w1.Position = 0; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 w1.Expand = false; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 w1.Fill = false; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 // Container child hbox1.Gtk.Box+BoxChild |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 this.scrolledwindow1.CanFocus = true; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 this.scrolledwindow1.Name = "scrolledwindow1"; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 this.scrolledwindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 // Container child scrolledwindow1.Gtk.Container+ContainerChild |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 global::Gtk.Viewport w2 = new global::Gtk.Viewport (); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 w2.ShadowType = ((global::Gtk.ShadowType)(0)); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 // Container child GtkViewport.Gtk.Container+ContainerChild |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 this.validationMessages = new global::Gtk.Label (); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 this.validationMessages.Name = "validationMessages"; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 this.validationMessages.Xalign = 0F; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 this.validationMessages.Yalign = 0F; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 this.validationMessages.Wrap = true; |
144
929ef50c3919
Fixes #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
142
diff
changeset
|
49 this.validationMessages.Selectable = true; |
142
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 w2.Add (this.validationMessages); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 this.scrolledwindow1.Add (w2); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 this.hbox1.Add (this.scrolledwindow1); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.scrolledwindow1])); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 w5.Position = 1; |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 this.Add (this.hbox1); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 if ((this.Child != null)) { |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 this.Child.ShowAll (); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 } |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 this.Hide (); |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 } |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 } |
f23e5b40ca9d
Re #344: Show unit requirement failures
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 } |