Beispiel #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.Panel.OpenProjectPanel
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LongoMatch.Gui.Panel.OpenProjectPanel";
     // Container child LongoMatch.Gui.Panel.OpenProjectPanel.Gtk.Container+ContainerChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.panelheader1        = new global::LongoMatch.Gui.Panel.PanelHeader();
     this.panelheader1.Events = ((global::Gdk.EventMask)(256));
     this.panelheader1.Name   = "panelheader1";
     this.vbox4.Add(this.panelheader1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.panelheader1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.contentalignment              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.contentalignment.Name         = "contentalignment";
     this.contentalignment.LeftPadding  = ((uint)(12));
     this.contentalignment.RightPadding = ((uint)(12));
     // Container child contentalignment.Gtk.Container+ContainerChild
     this.projectlistwidget        = new global::LongoMatch.Gui.Component.ProjectsIconWidget();
     this.projectlistwidget.Events = ((global::Gdk.EventMask)(256));
     this.projectlistwidget.Name   = "projectlistwidget";
     this.contentalignment.Add(this.projectlistwidget);
     this.vbox4.Add(this.contentalignment);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.contentalignment]));
     w3.Position = 1;
     this.Add(this.vbox4);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Beispiel #2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.Dialog.ChooseProjectDialog
     this.Name           = "LongoMatch.Gui.Dialog.ChooseProjectDialog";
     this.Title          = global::VAS.Core.Catalog.GetString("Choose project");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "lm-longomatch", global::Gtk.IconSize.Menu);
     this.TypeHint       = ((global::Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     this.Gravity        = ((global::Gdk.Gravity)(5));
     this.SkipPagerHint  = true;
     // Internal child LongoMatch.Gui.Dialog.ChooseProjectDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.projectlistwidget1        = new global::LongoMatch.Gui.Component.ProjectsIconWidget();
     this.projectlistwidget1.Events = ((global::Gdk.EventMask)(256));
     this.projectlistwidget1.Name   = "projectlistwidget1";
     w1.Add(this.projectlistwidget1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.projectlistwidget1]));
     w2.Position = 0;
     // Internal child LongoMatch.Gui.Dialog.ChooseProjectDialog.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.okButton              = new global::Gtk.Button();
     this.okButton.CanFocus     = true;
     this.okButton.Name         = "okButton";
     this.okButton.UseStock     = true;
     this.okButton.UseUnderline = true;
     this.okButton.Label        = "gtk-ok";
     this.AddActionWidget(this.okButton, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.okButton]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 699;
     this.DefaultHeight = 481;
     this.Show();
 }