Esempio n. 1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Smuxi.Frontend.Gnome.ServerDialog
     this.Name           = "Smuxi.Frontend.Gnome.ServerDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("Smuxi - Server");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child Smuxi.Frontend.Gnome.ServerDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.f_Widget        = new global::Smuxi.Frontend.Gnome.ServerWidget();
     this.f_Widget.Events = ((global::Gdk.EventMask)(256));
     this.f_Widget.Name   = "f_Widget";
     w1.Add(this.f_Widget);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.f_Widget]));
     w2.Position = 0;
     w2.Padding  = ((uint)(5));
     // Internal child Smuxi.Frontend.Gnome.ServerDialog.ActionArea
     global::Gtk.HButtonBox w3 = this.ActionArea;
     w3.Name        = "dialog1_ActionArea";
     w3.Spacing     = 10;
     w3.BorderWidth = ((uint)(5));
     w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanDefault   = true;
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseStock     = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel]));
     w4.Expand = false;
     w4.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 392;
     this.DefaultHeight = 410;
     this.Show();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Smuxi.Frontend.Gnome.ServerDialog
     this.Name = "Smuxi.Frontend.Gnome.ServerDialog";
     this.Title = global::Mono.Unix.Catalog.GetString ("Smuxi - Server");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child Smuxi.Frontend.Gnome.ServerDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.f_Widget = new global::Smuxi.Frontend.Gnome.ServerWidget ();
     this.f_Widget.Events = ((global::Gdk.EventMask)(256));
     this.f_Widget.Name = "f_Widget";
     w1.Add (this.f_Widget);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.f_Widget]));
     w2.Position = 0;
     w2.Padding = ((uint)(5));
     // Internal child Smuxi.Frontend.Gnome.ServerDialog.ActionArea
     global::Gtk.HButtonBox w3 = this.ActionArea;
     w3.Name = "dialog1_ActionArea";
     w3.Spacing = 10;
     w3.BorderWidth = ((uint)(5));
     w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel]));
     w4.Expand = false;
     w4.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 392;
     this.DefaultHeight = 410;
     this.Show ();
 }
Esempio n. 3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Smuxi.Frontend.Gnome.QuickConnectDialog
     this.Name          = "Smuxi.Frontend.Gnome.QuickConnectDialog";
     this.Title         = global::Mono.Unix.Catalog.GetString("Smuxi - Quick Connect");
     this.TypeHint      = ((global::Gdk.WindowTypeHint)(1));
     this.BorderWidth   = ((uint)(5));
     this.DefaultWidth  = 640;
     this.DefaultHeight = 480;
     // Internal child Smuxi.Frontend.Gnome.QuickConnectDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog-vbox2";
     w1.Spacing     = 5;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog-vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.f_ScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.f_ScrolledWindow.Name       = "f_ScrolledWindow";
     this.f_ScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child f_ScrolledWindow.Gtk.Container+ContainerChild
     this.f_TreeView          = new global::Gtk.TreeView();
     this.f_TreeView.CanFocus = true;
     this.f_TreeView.Name     = "f_TreeView";
     this.f_ScrolledWindow.Add(this.f_TreeView);
     this.hbox1.Add(this.f_ScrolledWindow);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_ScrolledWindow]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.f_Widget        = new global::Smuxi.Frontend.Gnome.ServerWidget();
     this.f_Widget.Events = ((global::Gdk.EventMask)(256));
     this.f_Widget.Name   = "f_Widget";
     this.hbox1.Add(this.f_Widget);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_Widget]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     w1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
     w5.Position = 0;
     // Internal child Smuxi.Frontend.Gnome.QuickConnectDialog.ActionArea
     global::Gtk.HButtonBox w6 = this.ActionArea;
     w6.Name        = "dialog-action_area2";
     w6.Spacing     = 6;
     w6.BorderWidth = ((uint)(5));
     w6.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild
     this.f_CancelButton              = new global::Gtk.Button();
     this.f_CancelButton.Name         = "f_CancelButton";
     this.f_CancelButton.UseStock     = true;
     this.f_CancelButton.UseUnderline = true;
     this.f_CancelButton.Label        = "gtk-cancel";
     this.AddActionWidget(this.f_CancelButton, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.f_CancelButton]));
     w7.Expand = false;
     w7.Fill   = false;
     // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild
     this.f_ConnectButton              = new global::Gtk.Button();
     this.f_ConnectButton.Name         = "f_ConnectButton";
     this.f_ConnectButton.UseStock     = true;
     this.f_ConnectButton.UseUnderline = true;
     this.f_ConnectButton.Label        = "gtk-connect";
     this.AddActionWidget(this.f_ConnectButton, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.f_ConnectButton]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.f_ConnectButton.Clicked += new global::System.EventHandler(this.OnConnectButtonClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Smuxi.Frontend.Gnome.QuickConnectDialog
     this.Name = "Smuxi.Frontend.Gnome.QuickConnectDialog";
     this.Title = global::Mono.Unix.Catalog.GetString ("Smuxi - Connect");
     this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
     this.BorderWidth = ((uint)(5));
     this.DefaultWidth = 640;
     this.DefaultHeight = 480;
     // Internal child Smuxi.Frontend.Gnome.QuickConnectDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog-vbox2";
     w1.Spacing = 5;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog-vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.f_ScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.f_ScrolledWindow.Name = "f_ScrolledWindow";
     this.f_ScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child f_ScrolledWindow.Gtk.Container+ContainerChild
     this.f_TreeView = new global::Gtk.TreeView ();
     this.f_TreeView.CanFocus = true;
     this.f_TreeView.Name = "f_TreeView";
     this.f_ScrolledWindow.Add (this.f_TreeView);
     this.hbox1.Add (this.f_ScrolledWindow);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_ScrolledWindow]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.f_Widget = new global::Smuxi.Frontend.Gnome.ServerWidget ();
     this.f_Widget.Events = ((global::Gdk.EventMask)(256));
     this.f_Widget.Name = "f_Widget";
     this.hbox1.Add (this.f_Widget);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_Widget]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     w1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
     w5.Position = 0;
     // Internal child Smuxi.Frontend.Gnome.QuickConnectDialog.ActionArea
     global::Gtk.HButtonBox w6 = this.ActionArea;
     w6.Name = "dialog-action_area2";
     w6.Spacing = 6;
     w6.BorderWidth = ((uint)(5));
     w6.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild
     this.f_CancelButton = new global::Gtk.Button ();
     this.f_CancelButton.Name = "f_CancelButton";
     this.f_CancelButton.UseStock = true;
     this.f_CancelButton.UseUnderline = true;
     this.f_CancelButton.Label = "gtk-cancel";
     this.AddActionWidget (this.f_CancelButton, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.f_CancelButton]));
     w7.Expand = false;
     w7.Fill = false;
     // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild
     this.f_ConnectButton = new global::Gtk.Button ();
     this.f_ConnectButton.Name = "f_ConnectButton";
     this.f_ConnectButton.UseStock = true;
     this.f_ConnectButton.UseUnderline = true;
     this.f_ConnectButton.Label = "gtk-connect";
     this.AddActionWidget (this.f_ConnectButton, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.f_ConnectButton]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Show ();
     this.f_ConnectButton.Clicked += new global::System.EventHandler (this.OnConnectButtonClicked);
 }