comparison gtk-gui/IBBoard.GtkSharp.SimpleDialog.cs @ 39:35b88b848524

* Add simple dialog to add basic widgets to for use in WarFoundry
author IBBoard <dev@ibboard.co.uk>
date Tue, 18 Oct 2011 20:58:49 +0100
parents
children
comparison
equal deleted inserted replaced
38:af65343516ba 39:35b88b848524
1
2 // This file has been generated by the GUI designer. Do not modify.
3 namespace IBBoard.GtkSharp
4 {
5 public partial class SimpleDialog
6 {
7 private global::Gtk.Button buttonCancel;
8 private global::Gtk.Button buttonOk;
9
10 protected virtual void Build ()
11 {
12 global::Stetic.Gui.Initialize (this);
13 // Widget IBBoard.GtkSharp.SimpleDialog
14 this.Name = "IBBoard.GtkSharp.SimpleDialog";
15 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
16 // Internal child IBBoard.GtkSharp.SimpleDialog.VBox
17 global::Gtk.VBox w1 = this.VBox;
18 w1.Name = "dialog1_VBox";
19 w1.BorderWidth = ((uint)(2));
20 // Internal child IBBoard.GtkSharp.SimpleDialog.ActionArea
21 global::Gtk.HButtonBox w2 = this.ActionArea;
22 w2.Name = "dialog1_ActionArea";
23 w2.Spacing = 10;
24 w2.BorderWidth = ((uint)(5));
25 w2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
26 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
27 this.buttonCancel = new global::Gtk.Button ();
28 this.buttonCancel.CanDefault = true;
29 this.buttonCancel.CanFocus = true;
30 this.buttonCancel.Name = "buttonCancel";
31 this.buttonCancel.UseStock = true;
32 this.buttonCancel.UseUnderline = true;
33 this.buttonCancel.Label = "gtk-cancel";
34 this.AddActionWidget (this.buttonCancel, -6);
35 global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w2 [this.buttonCancel]));
36 w3.Expand = false;
37 w3.Fill = false;
38 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
39 this.buttonOk = new global::Gtk.Button ();
40 this.buttonOk.CanDefault = true;
41 this.buttonOk.CanFocus = true;
42 this.buttonOk.Name = "buttonOk";
43 this.buttonOk.UseStock = true;
44 this.buttonOk.UseUnderline = true;
45 this.buttonOk.Label = "gtk-ok";
46 this.AddActionWidget (this.buttonOk, -5);
47 global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w2 [this.buttonOk]));
48 w4.Position = 1;
49 w4.Expand = false;
50 w4.Fill = false;
51 if ((this.Child != null)) {
52 this.Child.ShowAll ();
53 }
54 this.DefaultWidth = 303;
55 this.DefaultHeight = 199;
56 this.Show ();
57 }
58 }
59 }