387 lines
16 KiB
C#
387 lines
16 KiB
C#
|
|
// This file has been generated by the GUI designer. Do not modify.
|
|
namespace DMX2
|
|
{
|
|
public partial class EditionUnivers
|
|
{
|
|
private global::Gtk.UIManager UIManager;
|
|
private global::Gtk.HBox hbox2;
|
|
private global::Gtk.Label label1;
|
|
private global::Gtk.ComboBox cbUnivers;
|
|
private global::Gtk.HBox hbox3;
|
|
private global::Gtk.Button btAdd;
|
|
private global::Gtk.Button btDel;
|
|
private global::Gtk.Button btReset;
|
|
private global::Gtk.Button btPatchDroit;
|
|
private global::Gtk.HSeparator hseparator1;
|
|
private global::Gtk.HBox hbox1;
|
|
private global::Gtk.ToggleButton btAllume;
|
|
private global::Gtk.SpinButton spinDimmer;
|
|
private global::Gtk.Label label6;
|
|
private global::Gtk.ComboBox cbCircuit;
|
|
private global::Gtk.ComboBox cbFT;
|
|
private global::Gtk.Label lbParam1;
|
|
private global::Gtk.Entry txtParam1;
|
|
private global::Gtk.Label lbParam2;
|
|
private global::Gtk.Entry txtParam2;
|
|
private global::Gtk.Notebook notebook1;
|
|
private global::Gtk.ScrolledWindow GtkScrolledWindow;
|
|
private global::Gtk.TreeView tvDimm;
|
|
private global::Gtk.Label label2;
|
|
private global::Gtk.ScrolledWindow GtkScrolledWindow1;
|
|
private global::Gtk.TreeView tvCircuits;
|
|
private global::Gtk.Label label5;
|
|
private global::Gtk.Button buttonCancel;
|
|
|
|
protected virtual void Build ()
|
|
{
|
|
global::Stetic.Gui.Initialize (this);
|
|
// Widget DMX2.EditionUnivers
|
|
this.UIManager = new global::Gtk.UIManager ();
|
|
global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
|
|
this.UIManager.InsertActionGroup (w1, 0);
|
|
this.AddAccelGroup (this.UIManager.AccelGroup);
|
|
this.Name = "DMX2.EditionUnivers";
|
|
this.TypeHint = ((global::Gdk.WindowTypeHint)(5));
|
|
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
|
|
// Internal child DMX2.EditionUnivers.VBox
|
|
global::Gtk.VBox w2 = this.VBox;
|
|
w2.Name = "dialog1_VBox";
|
|
w2.BorderWidth = ((uint)(2));
|
|
// Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
this.hbox2 = new global::Gtk.HBox ();
|
|
this.hbox2.Name = "hbox2";
|
|
this.hbox2.Spacing = 6;
|
|
// Container child hbox2.Gtk.Box+BoxChild
|
|
this.label1 = new global::Gtk.Label ();
|
|
this.label1.Name = "label1";
|
|
this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Univers :");
|
|
this.hbox2.Add (this.label1);
|
|
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1]));
|
|
w3.Position = 0;
|
|
w3.Expand = false;
|
|
w3.Fill = false;
|
|
// Container child hbox2.Gtk.Box+BoxChild
|
|
this.cbUnivers = global::Gtk.ComboBox.NewText ();
|
|
this.cbUnivers.Name = "cbUnivers";
|
|
this.hbox2.Add (this.cbUnivers);
|
|
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.cbUnivers]));
|
|
w4.Position = 1;
|
|
w4.Expand = false;
|
|
w4.Fill = false;
|
|
// Container child hbox2.Gtk.Box+BoxChild
|
|
this.hbox3 = new global::Gtk.HBox ();
|
|
this.hbox3.Name = "hbox3";
|
|
this.hbox3.Spacing = 6;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btAdd = new global::Gtk.Button ();
|
|
this.btAdd.CanFocus = true;
|
|
this.btAdd.Name = "btAdd";
|
|
this.btAdd.UseUnderline = true;
|
|
// Container child btAdd.Gtk.Container+ContainerChild
|
|
global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
|
|
// Container child GtkAlignment.Gtk.Container+ContainerChild
|
|
global::Gtk.HBox w6 = new global::Gtk.HBox ();
|
|
w6.Spacing = 2;
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Image w7 = new global::Gtk.Image ();
|
|
w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
|
|
w6.Add (w7);
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Label w9 = new global::Gtk.Label ();
|
|
w9.LabelProp = global::Mono.Unix.Catalog.GetString ("Nouvel Univers");
|
|
w9.UseUnderline = true;
|
|
w6.Add (w9);
|
|
w5.Add (w6);
|
|
this.btAdd.Add (w5);
|
|
this.hbox3.Add (this.btAdd);
|
|
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btAdd]));
|
|
w13.Position = 0;
|
|
w13.Expand = false;
|
|
w13.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btDel = new global::Gtk.Button ();
|
|
this.btDel.Sensitive = false;
|
|
this.btDel.CanFocus = true;
|
|
this.btDel.Name = "btDel";
|
|
this.btDel.UseUnderline = true;
|
|
// Container child btDel.Gtk.Container+ContainerChild
|
|
global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
|
|
// Container child GtkAlignment.Gtk.Container+ContainerChild
|
|
global::Gtk.HBox w15 = new global::Gtk.HBox ();
|
|
w15.Spacing = 2;
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Image w16 = new global::Gtk.Image ();
|
|
w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu);
|
|
w15.Add (w16);
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Label w18 = new global::Gtk.Label ();
|
|
w18.LabelProp = global::Mono.Unix.Catalog.GetString ("Supprimer");
|
|
w18.UseUnderline = true;
|
|
w15.Add (w18);
|
|
w14.Add (w15);
|
|
this.btDel.Add (w14);
|
|
this.hbox3.Add (this.btDel);
|
|
global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btDel]));
|
|
w22.Position = 1;
|
|
w22.Expand = false;
|
|
w22.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btReset = new global::Gtk.Button ();
|
|
this.btReset.CanFocus = true;
|
|
this.btReset.Name = "btReset";
|
|
this.btReset.UseUnderline = true;
|
|
// Container child btReset.Gtk.Container+ContainerChild
|
|
global::Gtk.Alignment w23 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
|
|
// Container child GtkAlignment.Gtk.Container+ContainerChild
|
|
global::Gtk.HBox w24 = new global::Gtk.HBox ();
|
|
w24.Spacing = 2;
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Image w25 = new global::Gtk.Image ();
|
|
w25.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
|
|
w24.Add (w25);
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Label w27 = new global::Gtk.Label ();
|
|
w27.LabelProp = global::Mono.Unix.Catalog.GetString ("Réinitialiser");
|
|
w27.UseUnderline = true;
|
|
w24.Add (w27);
|
|
w23.Add (w24);
|
|
this.btReset.Add (w23);
|
|
this.hbox3.Add (this.btReset);
|
|
global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btReset]));
|
|
w31.PackType = ((global::Gtk.PackType)(1));
|
|
w31.Position = 3;
|
|
w31.Expand = false;
|
|
w31.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btPatchDroit = new global::Gtk.Button ();
|
|
this.btPatchDroit.CanFocus = true;
|
|
this.btPatchDroit.Name = "btPatchDroit";
|
|
this.btPatchDroit.UseUnderline = true;
|
|
// Container child btPatchDroit.Gtk.Container+ContainerChild
|
|
global::Gtk.Alignment w32 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
|
|
// Container child GtkAlignment.Gtk.Container+ContainerChild
|
|
global::Gtk.HBox w33 = new global::Gtk.HBox ();
|
|
w33.Spacing = 2;
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Image w34 = new global::Gtk.Image ();
|
|
w34.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-sort-ascending", global::Gtk.IconSize.Menu);
|
|
w33.Add (w34);
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Label w36 = new global::Gtk.Label ();
|
|
w36.LabelProp = global::Mono.Unix.Catalog.GetString ("Patch Droit");
|
|
w36.UseUnderline = true;
|
|
w33.Add (w36);
|
|
w32.Add (w33);
|
|
this.btPatchDroit.Add (w32);
|
|
this.hbox3.Add (this.btPatchDroit);
|
|
global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btPatchDroit]));
|
|
w40.PackType = ((global::Gtk.PackType)(1));
|
|
w40.Position = 4;
|
|
w40.Expand = false;
|
|
w40.Fill = false;
|
|
this.hbox2.Add (this.hbox3);
|
|
global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbox3]));
|
|
w41.Position = 2;
|
|
w2.Add (this.hbox2);
|
|
global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(w2 [this.hbox2]));
|
|
w42.Position = 0;
|
|
w42.Expand = false;
|
|
w42.Fill = false;
|
|
// Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
this.hseparator1 = new global::Gtk.HSeparator ();
|
|
this.hseparator1.HeightRequest = 24;
|
|
this.hseparator1.Name = "hseparator1";
|
|
w2.Add (this.hseparator1);
|
|
global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(w2 [this.hseparator1]));
|
|
w43.Position = 1;
|
|
w43.Expand = false;
|
|
w43.Fill = false;
|
|
// Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
this.hbox1 = new global::Gtk.HBox ();
|
|
this.hbox1.Name = "hbox1";
|
|
this.hbox1.Spacing = 6;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.btAllume = new global::Gtk.ToggleButton ();
|
|
this.btAllume.CanFocus = true;
|
|
this.btAllume.Name = "btAllume";
|
|
this.btAllume.UseUnderline = true;
|
|
// Container child btAllume.Gtk.Container+ContainerChild
|
|
global::Gtk.Alignment w44 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
|
|
// Container child GtkAlignment.Gtk.Container+ContainerChild
|
|
global::Gtk.HBox w45 = new global::Gtk.HBox ();
|
|
w45.Spacing = 2;
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Image w46 = new global::Gtk.Image ();
|
|
w46.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find", global::Gtk.IconSize.Menu);
|
|
w45.Add (w46);
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Label w48 = new global::Gtk.Label ();
|
|
w48.LabelProp = global::Mono.Unix.Catalog.GetString ("Allumer !");
|
|
w48.UseUnderline = true;
|
|
w45.Add (w48);
|
|
w44.Add (w45);
|
|
this.btAllume.Add (w44);
|
|
this.hbox1.Add (this.btAllume);
|
|
global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btAllume]));
|
|
w52.Position = 0;
|
|
w52.Expand = false;
|
|
w52.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.spinDimmer = new global::Gtk.SpinButton (1, 512, 1);
|
|
this.spinDimmer.CanFocus = true;
|
|
this.spinDimmer.Name = "spinDimmer";
|
|
this.spinDimmer.Adjustment.PageIncrement = 10;
|
|
this.spinDimmer.ClimbRate = 1;
|
|
this.spinDimmer.Numeric = true;
|
|
this.spinDimmer.Value = 1;
|
|
this.hbox1.Add (this.spinDimmer);
|
|
global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.spinDimmer]));
|
|
w53.Position = 1;
|
|
w53.Expand = false;
|
|
w53.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.label6 = new global::Gtk.Label ();
|
|
this.label6.Name = "label6";
|
|
this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Circuit :");
|
|
this.hbox1.Add (this.label6);
|
|
global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label6]));
|
|
w54.Position = 2;
|
|
w54.Expand = false;
|
|
w54.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.cbCircuit = global::Gtk.ComboBox.NewText ();
|
|
this.cbCircuit.Name = "cbCircuit";
|
|
this.hbox1.Add (this.cbCircuit);
|
|
global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cbCircuit]));
|
|
w55.Position = 3;
|
|
w55.Expand = false;
|
|
w55.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.cbFT = global::Gtk.ComboBox.NewText ();
|
|
this.cbFT.Name = "cbFT";
|
|
this.hbox1.Add (this.cbFT);
|
|
global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cbFT]));
|
|
w56.Position = 4;
|
|
w56.Expand = false;
|
|
w56.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.lbParam1 = new global::Gtk.Label ();
|
|
this.lbParam1.Name = "lbParam1";
|
|
this.lbParam1.LabelProp = global::Mono.Unix.Catalog.GetString ("param 1");
|
|
this.hbox1.Add (this.lbParam1);
|
|
global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.lbParam1]));
|
|
w57.Position = 5;
|
|
w57.Expand = false;
|
|
w57.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.txtParam1 = new global::Gtk.Entry ();
|
|
this.txtParam1.CanFocus = true;
|
|
this.txtParam1.Name = "txtParam1";
|
|
this.txtParam1.IsEditable = true;
|
|
this.txtParam1.InvisibleChar = '•';
|
|
this.hbox1.Add (this.txtParam1);
|
|
global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.txtParam1]));
|
|
w58.Position = 6;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.lbParam2 = new global::Gtk.Label ();
|
|
this.lbParam2.Name = "lbParam2";
|
|
this.lbParam2.LabelProp = global::Mono.Unix.Catalog.GetString ("param2");
|
|
this.hbox1.Add (this.lbParam2);
|
|
global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.lbParam2]));
|
|
w59.Position = 7;
|
|
w59.Expand = false;
|
|
w59.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.txtParam2 = new global::Gtk.Entry ();
|
|
this.txtParam2.CanFocus = true;
|
|
this.txtParam2.Name = "txtParam2";
|
|
this.txtParam2.IsEditable = true;
|
|
this.txtParam2.InvisibleChar = '•';
|
|
this.hbox1.Add (this.txtParam2);
|
|
global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.txtParam2]));
|
|
w60.Position = 8;
|
|
w2.Add (this.hbox1);
|
|
global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(w2 [this.hbox1]));
|
|
w61.Position = 2;
|
|
w61.Expand = false;
|
|
w61.Fill = false;
|
|
// Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
this.notebook1 = new global::Gtk.Notebook ();
|
|
this.notebook1.CanFocus = true;
|
|
this.notebook1.Name = "notebook1";
|
|
this.notebook1.CurrentPage = 1;
|
|
// Container child notebook1.Gtk.Notebook+NotebookChild
|
|
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
|
|
this.GtkScrolledWindow.Name = "GtkScrolledWindow";
|
|
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
|
|
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
|
|
this.tvDimm = new global::Gtk.TreeView ();
|
|
this.tvDimm.CanFocus = true;
|
|
this.tvDimm.Name = "tvDimm";
|
|
this.GtkScrolledWindow.Add (this.tvDimm);
|
|
this.notebook1.Add (this.GtkScrolledWindow);
|
|
// Notebook tab
|
|
this.label2 = new global::Gtk.Label ();
|
|
this.label2.Name = "label2";
|
|
this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Patch");
|
|
this.notebook1.SetTabLabel (this.GtkScrolledWindow, this.label2);
|
|
this.label2.ShowAll ();
|
|
// Container child notebook1.Gtk.Notebook+NotebookChild
|
|
this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
|
|
this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
|
|
this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
|
|
// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
|
|
this.tvCircuits = new global::Gtk.TreeView ();
|
|
this.tvCircuits.CanFocus = true;
|
|
this.tvCircuits.Name = "tvCircuits";
|
|
this.GtkScrolledWindow1.Add (this.tvCircuits);
|
|
this.notebook1.Add (this.GtkScrolledWindow1);
|
|
global::Gtk.Notebook.NotebookChild w65 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.GtkScrolledWindow1]));
|
|
w65.Position = 1;
|
|
// Notebook tab
|
|
this.label5 = new global::Gtk.Label ();
|
|
this.label5.Name = "label5";
|
|
this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Patch Rapide");
|
|
this.notebook1.SetTabLabel (this.GtkScrolledWindow1, this.label5);
|
|
this.label5.ShowAll ();
|
|
w2.Add (this.notebook1);
|
|
global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(w2 [this.notebook1]));
|
|
w66.Position = 3;
|
|
// Internal child DMX2.EditionUnivers.ActionArea
|
|
global::Gtk.HButtonBox w67 = this.ActionArea;
|
|
w67.Name = "dialog1_ActionArea";
|
|
w67.Spacing = 10;
|
|
w67.BorderWidth = ((uint)(5));
|
|
w67.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-close";
|
|
this.AddActionWidget (this.buttonCancel, -7);
|
|
global::Gtk.ButtonBox.ButtonBoxChild w68 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w67 [this.buttonCancel]));
|
|
w68.Expand = false;
|
|
w68.Fill = false;
|
|
if ((this.Child != null)) {
|
|
this.Child.ShowAll ();
|
|
}
|
|
this.DefaultWidth = 771;
|
|
this.DefaultHeight = 483;
|
|
this.Show ();
|
|
this.cbUnivers.Changed += new global::System.EventHandler (this.OnCbUniversChanged);
|
|
this.btAdd.Clicked += new global::System.EventHandler (this.OnBtAddClicked);
|
|
this.btPatchDroit.Clicked += new global::System.EventHandler (this.OnBtPatchDroitClicked);
|
|
this.spinDimmer.ValueChanged += new global::System.EventHandler (this.OnSpinDimmerValueChanged);
|
|
this.cbCircuit.Changed += new global::System.EventHandler (this.OnCbCircuitChanged);
|
|
this.cbFT.Changed += new global::System.EventHandler (this.OnCbFTChanged);
|
|
this.txtParam1.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnTxtParam1FocusOutEvent);
|
|
this.txtParam2.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnTxtParam2FocusOutEvent);
|
|
this.tvDimm.CursorChanged += new global::System.EventHandler (this.OnTvDimmCursorChanged);
|
|
this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
|
|
}
|
|
}
|
|
}
|