protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.SidePanel.PanelViewContainer global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.SidePanel.PanelViewContainer"; // Container child Vodovoz.SidePanel.PanelViewContainer.Gtk.Container+ContainerChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.LabelXalign = 1F; this.frame1.BorderWidth = ((uint)(6)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(5)); this.GtkAlignment1.RightPadding = ((uint)(5)); this.frame1.Add(this.GtkAlignment1); this.buttonPin = new global::Gtk.ToggleButton(); this.buttonPin.Name = "buttonPin"; this.buttonPin.FocusOnClick = false; global::Gtk.Image w2 = new global::Gtk.Image(); w2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.pin-up.png"); this.buttonPin.Image = w2; this.frame1.LabelWidget = this.buttonPin; this.Add(this.frame1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Calculette"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.Output = new global::Gtk.Label(); this.Output.Name = "Output"; this.Output.Xalign = 0F; this.Output.LabelProp = ""; this.vbox1.Add(this.Output); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.Output])); w1.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.Input = new global::Gtk.Entry(); this.Input.CanFocus = true; this.Input.Name = "Input"; this.Input.IsEditable = true; this.Input.InvisibleChar = '●'; this.hbox1.Add(this.Input); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.Input])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.Compute = new global::Gtk.ToggleButton(); this.Compute.CanFocus = true; this.Compute.Name = "Compute"; this.Compute.UseUnderline = true; this.Compute.Active = true; this.Compute.Label = global::Mono.Unix.Catalog.GetString("Compute"); this.hbox1.Add(this.Compute); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.Compute])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.Compute.Toggled += new global::System.EventHandler(this.OnComputeToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.Panel.PanelViewContainer global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.Panel.PanelViewContainer"; // Container child Vodovoz.Panel.PanelViewContainer.Gtk.Container+ContainerChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.LabelXalign = 1F; this.frame1.BorderWidth = ((uint)(6)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(5)); this.GtkAlignment1.RightPadding = ((uint)(5)); this.frame1.Add (this.GtkAlignment1); this.buttonPin = new global::Gtk.ToggleButton (); this.buttonPin.Name = "buttonPin"; this.buttonPin.FocusOnClick = false; global::Gtk.Image w2 = new global::Gtk.Image (); w2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Vodovoz.icons.buttons.pin-up.png"); this.buttonPin.Image = w2; this.frame1.LabelWidget = this.buttonPin; this.Add (this.frame1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
public static bool GetChecked(CheckBox checkBox) { #if MONO_GTK return(checkBox.Active); #else return(checkBox.Checked); #endif }
public static void RegisterEvent(CheckBox textBox, System.EventHandler handler) { #if MONO_GTK textBox.Toggled += handler; #else textBox.CheckedChanged += handler; #endif }
public static void SetChecked(CheckBox checkBox, bool check) { #if MONO_GTK checkBox.Active = check; #else checkBox.Checked = check; #endif }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ConnectionMap.SaveMapMenu this.Name = "ConnectionMap.SaveMapMenu"; this.Title = global::Mono.Unix.Catalog.GetString("SaveMapMenu"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.DefaultWidth = 100; this.DefaultHeight = 10; // Container child ConnectionMap.SaveMapMenu.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Enter Map Name"); this.vbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview2 = new global::Gtk.TextView(); this.textview2.WidthRequest = 75; this.textview2.HeightRequest = 10; this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.textview2.AcceptsTab = false; this.GtkScrolledWindow.Add(this.textview2); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w3.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("Save"); this.vbox1.Add(this.togglebutton1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.togglebutton1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.togglebutton1.Clicked += new global::System.EventHandler(this.on_save); }
public static void Bind(CheckBox textBox, PROGRAM program, string key, ConfigFile file) { if (m_AutoConfigs.ContainsKey(textBox)) { return; } AutoConfig config = new AutoConfig() { program = program, key = key, file = file }; Extends.SetChecked(textBox, Util.ToBoolean(GetConfig(program, key, file), false)); Extends.RegisterEvent(textBox, new System.EventHandler(CheckedChanged)); m_AutoConfigs[textBox] = config; }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.entry2 = new global::Gtk.Entry (); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.vbox1.Add (this.entry2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.entry2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton (); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString ("GtkToggleButton"); this.vbox1.Add (this.togglebutton1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.togglebutton1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Template.TemplateWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.SettingsAction, null); this.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null); this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style"); w1.Add(this.WindowStyleAction, null); this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0); this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE"); w1.Add(this.CustomStyleAction, null); this.PlatformStyleAction = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction.Group = this.CustomStyleAction.Group; this.PlatformStyleAction.Sensitive = false; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction.Visible = false; this.PlatformStyleAction.VisibleHorizontal = false; this.PlatformStyleAction.VisibleVertical = false; this.PlatformStyleAction.VisibleOverflown = false; w1.Add(this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0); this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE"); w1.Add(this.DecoratedCustomStyleAction, null); this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group; this.PlatformStyleAction1.Sensitive = false; this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction1.Visible = false; w1.Add(this.PlatformStyleAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Template.TemplateWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child Template.TemplateWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.table1.Add(this.button1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.calendar2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("young")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.table1.Add(this.combobox1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.table1.Add(this.comboboxentry1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.table1.Add(this.entry1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.Buffer.Text = "Young, strong and crazy!"; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add(this.textview1); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.table1.Add(this.progressbar1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.table1.Add(this.spinbutton1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.table1.Add(this.togglebutton1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton2 = new global::Gtk.CheckButton(); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.vbox3.Add(this.checkbutton2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton3 = new global::Gtk.CheckButton(); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.vbox3.Add(this.checkbutton3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton4 = new global::Gtk.CheckButton(); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.vbox3.Add(this.checkbutton4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.table1.Add(this.vbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox4.Add(this.radiobutton1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton3")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.table1.Add(this.vbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w22.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 483; this.DefaultHeight = 497; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.WidthRequest = 1280; this.HeightRequest = 720; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Blob Detection Test Suite"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.MainLayout = new global::Gtk.Fixed(); this.MainLayout.WidthRequest = 1280; this.MainLayout.HeightRequest = 720; this.MainLayout.Name = "MainLayout"; this.MainLayout.HasWindow = false; // Container child MainLayout.Gtk.Fixed+FixedChild this.ImageEventBox = new global::Gtk.EventBox(); this.ImageEventBox.WidthRequest = 800; this.ImageEventBox.HeightRequest = 600; this.ImageEventBox.Name = "ImageEventBox"; // Container child ImageEventBox.Gtk.Container+ContainerChild this.imageBox = new global::Gtk.Image(); this.imageBox.WidthRequest = 800; this.imageBox.HeightRequest = 600; this.imageBox.Name = "imageBox"; this.ImageEventBox.Add(this.imageBox); this.MainLayout.Add(this.ImageEventBox); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.ImageEventBox])); w2.X = 20; w2.Y = 20; // Container child MainLayout.Gtk.Fixed+FixedChild this.selectImageButton = new global::Gtk.Button(); this.selectImageButton.WidthRequest = 120; this.selectImageButton.Name = "selectImageButton"; this.selectImageButton.UseUnderline = true; this.selectImageButton.FocusOnClick = false; this.selectImageButton.Label = global::Mono.Unix.Catalog.GetString("select image"); this.MainLayout.Add(this.selectImageButton); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.selectImageButton])); w3.X = 560; w3.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.quitButton = new global::Gtk.Button(); this.quitButton.Name = "quitButton"; this.quitButton.UseUnderline = true; this.quitButton.Label = global::Mono.Unix.Catalog.GetString("Quit"); this.MainLayout.Add(this.quitButton); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.quitButton])); w4.X = 20; w4.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.cannyThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.cannyThreshold.WidthRequest = 120; this.cannyThreshold.Name = "cannyThreshold"; this.cannyThreshold.Adjustment.PageIncrement = 10D; this.cannyThreshold.ClimbRate = 1D; this.cannyThreshold.Numeric = true; this.MainLayout.Add(this.cannyThreshold); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.cannyThreshold])); w5.X = 840; w5.Y = 30; // Container child MainLayout.Gtk.Fixed+FixedChild this.cannyThresholdLabel = new global::Gtk.Label(); this.cannyThresholdLabel.Name = "cannyThresholdLabel"; this.cannyThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Canny threshold"); this.MainLayout.Add(this.cannyThresholdLabel); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.cannyThresholdLabel])); w6.X = 970; w6.Y = 35; // Container child MainLayout.Gtk.Fixed+FixedChild this.linkingThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.linkingThreshold.WidthRequest = 120; this.linkingThreshold.Name = "linkingThreshold"; this.linkingThreshold.Adjustment.PageIncrement = 10D; this.linkingThreshold.ClimbRate = 1D; this.linkingThreshold.Numeric = true; this.MainLayout.Add(this.linkingThreshold); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.linkingThreshold])); w7.X = 840; w7.Y = 60; // Container child MainLayout.Gtk.Fixed+FixedChild this.linkingThresholdLabel = new global::Gtk.Label(); this.linkingThresholdLabel.Name = "linkingThresholdLabel"; this.linkingThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Linking threshold"); this.MainLayout.Add(this.linkingThresholdLabel); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.linkingThresholdLabel])); w8.X = 970; w8.Y = 65; // Container child MainLayout.Gtk.Fixed+FixedChild this.minArea = new global::Gtk.SpinButton(0D, 100000D, 1D); this.minArea.WidthRequest = 120; this.minArea.Name = "minArea"; this.minArea.Adjustment.PageIncrement = 100D; this.minArea.ClimbRate = 1D; this.minArea.Numeric = true; this.MainLayout.Add(this.minArea); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minArea])); w9.X = 840; w9.Y = 90; // Container child MainLayout.Gtk.Fixed+FixedChild this.minAreaLabel = new global::Gtk.Label(); this.minAreaLabel.Name = "minAreaLabel"; this.minAreaLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum area"); this.MainLayout.Add(this.minAreaLabel); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minAreaLabel])); w10.X = 970; w10.Y = 95; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxArea = new global::Gtk.SpinButton(0D, 100000D, 1D); this.maxArea.WidthRequest = 120; this.maxArea.Name = "maxArea"; this.maxArea.Adjustment.PageIncrement = 100D; this.maxArea.ClimbRate = 1D; this.maxArea.Numeric = true; this.MainLayout.Add(this.maxArea); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxArea])); w11.X = 840; w11.Y = 120; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxAreaLabel = new global::Gtk.Label(); this.maxAreaLabel.Name = "maxAreaLabel"; this.maxAreaLabel.LabelProp = global::Mono.Unix.Catalog.GetString("maximum area"); this.MainLayout.Add(this.maxAreaLabel); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxAreaLabel])); w12.X = 970; w12.Y = 125; // Container child MainLayout.Gtk.Fixed+FixedChild this.minDist = new global::Gtk.SpinButton(0D, 1000D, 1D); this.minDist.WidthRequest = 120; this.minDist.Name = "minDist"; this.minDist.Adjustment.PageIncrement = 10D; this.minDist.ClimbRate = 1D; this.minDist.Numeric = true; this.MainLayout.Add(this.minDist); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minDist])); w13.X = 840; w13.Y = 150; // Container child MainLayout.Gtk.Fixed+FixedChild this.minDistLabel = new global::Gtk.Label(); this.minDistLabel.Name = "minDistLabel"; this.minDistLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum distance between circles"); this.MainLayout.Add(this.minDistLabel); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minDistLabel])); w14.X = 971; w14.Y = 155; // Container child MainLayout.Gtk.Fixed+FixedChild this.circleAccumulatorThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.circleAccumulatorThreshold.WidthRequest = 120; this.circleAccumulatorThreshold.Name = "circleAccumulatorThreshold"; this.circleAccumulatorThreshold.Adjustment.PageIncrement = 10D; this.circleAccumulatorThreshold.ClimbRate = 1D; this.circleAccumulatorThreshold.Numeric = true; this.MainLayout.Add(this.circleAccumulatorThreshold); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.circleAccumulatorThreshold])); w15.X = 840; w15.Y = 180; // Container child MainLayout.Gtk.Fixed+FixedChild this.circleAccumulatorThresholdLabel = new global::Gtk.Label(); this.circleAccumulatorThresholdLabel.Name = "circleAccumulatorThresholdLabel"; this.circleAccumulatorThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Hough circle threshold"); this.MainLayout.Add(this.circleAccumulatorThresholdLabel); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.circleAccumulatorThresholdLabel])); w16.X = 970; w16.Y = 185; // Container child MainLayout.Gtk.Fixed+FixedChild this.minRadius = new global::Gtk.SpinButton(0D, 1000D, 1D); this.minRadius.WidthRequest = 120; this.minRadius.Name = "minRadius"; this.minRadius.Adjustment.PageIncrement = 10D; this.minRadius.ClimbRate = 1D; this.minRadius.Numeric = true; this.MainLayout.Add(this.minRadius); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minRadius])); w17.X = 840; w17.Y = 210; // Container child MainLayout.Gtk.Fixed+FixedChild this.minRadiusLabel = new global::Gtk.Label(); this.minRadiusLabel.Name = "minRadiusLabel"; this.minRadiusLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum circle radius"); this.MainLayout.Add(this.minRadiusLabel); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minRadiusLabel])); w18.X = 970; w18.Y = 215; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxRadius = new global::Gtk.SpinButton(0D, 1000D, 1D); this.maxRadius.WidthRequest = 120; this.maxRadius.Name = "maxRadius"; this.maxRadius.Adjustment.PageIncrement = 10D; this.maxRadius.ClimbRate = 1D; this.maxRadius.Numeric = true; this.MainLayout.Add(this.maxRadius); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxRadius])); w19.X = 840; w19.Y = 240; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxRadiusLabel = new global::Gtk.Label(); this.maxRadiusLabel.Name = "maxRadiusLabel"; this.maxRadiusLabel.LabelProp = global::Mono.Unix.Catalog.GetString("maximum circle radius"); this.MainLayout.Add(this.maxRadiusLabel); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxRadiusLabel])); w20.X = 970; w20.Y = 245; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerColor = new global::Gtk.ColorButton(); this.markerColor.WidthRequest = 120; this.markerColor.Events = ((global::Gdk.EventMask)(784)); this.markerColor.Name = "markerColor"; this.markerColor.FocusOnClick = false; this.MainLayout.Add(this.markerColor); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerColor])); w21.X = 840; w21.Y = 390; // Container child MainLayout.Gtk.Fixed+FixedChild this.colorButtonLabel = new global::Gtk.Label(); this.colorButtonLabel.Name = "colorButtonLabel"; this.colorButtonLabel.LabelProp = global::Mono.Unix.Catalog.GetString("marker color"); this.MainLayout.Add(this.colorButtonLabel); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.colorButtonLabel])); w22.X = 970; w22.Y = 395; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerSize = new global::Gtk.SpinButton(0D, 100D, 1D); this.markerSize.WidthRequest = 120; this.markerSize.Name = "markerSize"; this.markerSize.Adjustment.PageIncrement = 10D; this.markerSize.ClimbRate = 1D; this.markerSize.Numeric = true; this.MainLayout.Add(this.markerSize); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerSize])); w23.X = 840; w23.Y = 360; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerSizeLabel = new global::Gtk.Label(); this.markerSizeLabel.Name = "markerSizeLabel"; this.markerSizeLabel.LabelProp = global::Mono.Unix.Catalog.GetString("markerSize"); this.MainLayout.Add(this.markerSizeLabel); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerSizeLabel])); w24.X = 970; w24.Y = 365; // Container child MainLayout.Gtk.Fixed+FixedChild this.dp = new global::Gtk.SpinButton(0D, 100D, 1D); this.dp.WidthRequest = 120; this.dp.Name = "dp"; this.dp.Adjustment.PageIncrement = 10D; this.dp.ClimbRate = 1D; this.dp.Numeric = true; this.MainLayout.Add(this.dp); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.dp])); w25.X = 840; w25.Y = 270; // Container child MainLayout.Gtk.Fixed+FixedChild this.dpLabel = new global::Gtk.Label(); this.dpLabel.Name = "dpLabel"; this.dpLabel.LabelProp = global::Mono.Unix.Catalog.GetString("dp (image / accumulator)"); this.MainLayout.Add(this.dpLabel); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.dpLabel])); w26.X = 970; w26.Y = 275; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectCirclesButton = new global::Gtk.Button(); this.detectCirclesButton.WidthRequest = 120; this.detectCirclesButton.Name = "detectCirclesButton"; this.detectCirclesButton.UseUnderline = true; this.detectCirclesButton.FocusOnClick = false; this.detectCirclesButton.Label = global::Mono.Unix.Catalog.GetString("Hough circles"); this.MainLayout.Add(this.detectCirclesButton); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectCirclesButton])); w27.X = 840; w27.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectBlobsButton = new global::Gtk.Button(); this.detectBlobsButton.WidthRequest = 120; this.detectBlobsButton.Name = "detectBlobsButton"; this.detectBlobsButton.UseUnderline = true; this.detectBlobsButton.FocusOnClick = false; this.detectBlobsButton.Label = global::Mono.Unix.Catalog.GetString("Edge/Polygon"); this.MainLayout.Add(this.detectBlobsButton); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectBlobsButton])); w28.X = 840; w28.Y = 455; // Container child MainLayout.Gtk.Fixed+FixedChild this.blobDetectorButton = new global::Gtk.Button(); this.blobDetectorButton.WidthRequest = 120; this.blobDetectorButton.Name = "blobDetectorButton"; this.blobDetectorButton.UseUnderline = true; this.blobDetectorButton.FocusOnClick = false; this.blobDetectorButton.Label = global::Mono.Unix.Catalog.GetString("Blobs"); this.MainLayout.Add(this.blobDetectorButton); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.blobDetectorButton])); w29.X = 840; w29.Y = 485; // Container child MainLayout.Gtk.Fixed+FixedChild this.simpleBlobDetector = new global::Gtk.Button(); this.simpleBlobDetector.WidthRequest = 120; this.simpleBlobDetector.Name = "simpleBlobDetector"; this.simpleBlobDetector.UseUnderline = true; this.simpleBlobDetector.FocusOnClick = false; this.simpleBlobDetector.Label = global::Mono.Unix.Catalog.GetString("Simple"); this.MainLayout.Add(this.simpleBlobDetector); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.simpleBlobDetector])); w30.X = 840; w30.Y = 515; // Container child MainLayout.Gtk.Fixed+FixedChild this.subtractBg = new global::Gtk.CheckButton(); this.subtractBg.CanFocus = true; this.subtractBg.Name = "subtractBg"; this.subtractBg.Label = global::Mono.Unix.Catalog.GetString("sub background"); this.subtractBg.DrawIndicator = true; this.subtractBg.UseUnderline = true; this.MainLayout.Add(this.subtractBg); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.subtractBg])); w31.X = 970; w31.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.imgInvert = new global::Gtk.CheckButton(); this.imgInvert.CanFocus = true; this.imgInvert.Name = "imgInvert"; this.imgInvert.Label = global::Mono.Unix.Catalog.GetString("invert"); this.imgInvert.DrawIndicator = true; this.imgInvert.UseUnderline = true; this.MainLayout.Add(this.imgInvert); global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.imgInvert])); w32.X = 970; w32.Y = 455; // Container child MainLayout.Gtk.Fixed+FixedChild this.downUpSample = new global::Gtk.CheckButton(); this.downUpSample.CanFocus = true; this.downUpSample.Name = "downUpSample"; this.downUpSample.Label = global::Mono.Unix.Catalog.GetString("down/up sampling"); this.downUpSample.DrawIndicator = true; this.downUpSample.UseUnderline = true; this.downUpSample.FocusOnClick = false; this.MainLayout.Add(this.downUpSample); global::Gtk.Fixed.FixedChild w33 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.downUpSample])); w33.X = 970; w33.Y = 485; // Container child MainLayout.Gtk.Fixed+FixedChild this.gaussianBlur = new global::Gtk.CheckButton(); this.gaussianBlur.Name = "gaussianBlur"; this.gaussianBlur.Label = global::Mono.Unix.Catalog.GetString("Guassian Filter"); this.gaussianBlur.DrawIndicator = true; this.gaussianBlur.UseUnderline = true; this.gaussianBlur.FocusOnClick = false; this.MainLayout.Add(this.gaussianBlur); global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.gaussianBlur])); w34.X = 1080; w34.Y = 585; // Container child MainLayout.Gtk.Fixed+FixedChild this.sx = new global::Gtk.SpinButton(0D, 100D, 1D); this.sx.WidthRequest = 120; this.sx.Name = "sx"; this.sx.Adjustment.PageIncrement = 10D; this.sx.ClimbRate = 1D; this.sx.Numeric = true; this.MainLayout.Add(this.sx); global::Gtk.Fixed.FixedChild w35 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sx])); w35.X = 840; w35.Y = 580; // Container child MainLayout.Gtk.Fixed+FixedChild this.sy = new global::Gtk.SpinButton(0D, 100D, 1D); this.sy.WidthRequest = 120; this.sy.Name = "sy"; this.sy.Adjustment.PageIncrement = 10D; this.sy.ClimbRate = 1D; this.sy.Numeric = true; this.MainLayout.Add(this.sy); global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sy])); w36.X = 840; w36.Y = 610; // Container child MainLayout.Gtk.Fixed+FixedChild this.sxLabel = new global::Gtk.Label(); this.sxLabel.Name = "sxLabel"; this.sxLabel.LabelProp = global::Mono.Unix.Catalog.GetString("kernel width"); this.MainLayout.Add(this.sxLabel); global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sxLabel])); w37.X = 970; w37.Y = 585; // Container child MainLayout.Gtk.Fixed+FixedChild this.syLabel = new global::Gtk.Label(); this.syLabel.Name = "syLabel"; this.syLabel.LabelProp = global::Mono.Unix.Catalog.GetString("kernel height"); this.MainLayout.Add(this.syLabel); global::Gtk.Fixed.FixedChild w38 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.syLabel])); w38.X = 970; w38.Y = 615; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaX = new global::Gtk.SpinButton(0D, 100D, 1D); this.sigmaX.WidthRequest = 120; this.sigmaX.Name = "sigmaX"; this.sigmaX.Adjustment.PageIncrement = 10D; this.sigmaX.ClimbRate = 1D; this.sigmaX.Numeric = true; this.MainLayout.Add(this.sigmaX); global::Gtk.Fixed.FixedChild w39 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaX])); w39.X = 840; w39.Y = 640; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaY = new global::Gtk.SpinButton(0D, 100D, 1D); this.sigmaY.WidthRequest = 120; this.sigmaY.Name = "sigmaY"; this.sigmaY.Adjustment.PageIncrement = 10D; this.sigmaY.ClimbRate = 1D; this.sigmaY.Numeric = true; this.MainLayout.Add(this.sigmaY); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaY])); w40.X = 840; w40.Y = 670; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaXLabel = new global::Gtk.Label(); this.sigmaXLabel.Name = "sigmaXLabel"; this.sigmaXLabel.LabelProp = global::Mono.Unix.Catalog.GetString("stdev (X)"); this.MainLayout.Add(this.sigmaXLabel); global::Gtk.Fixed.FixedChild w41 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaXLabel])); w41.X = 970; w41.Y = 645; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaYLabel = new global::Gtk.Label(); this.sigmaYLabel.Name = "sigmaYLabel"; this.sigmaYLabel.LabelProp = global::Mono.Unix.Catalog.GetString("stdev (Y)"); this.MainLayout.Add(this.sigmaYLabel); global::Gtk.Fixed.FixedChild w42 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaYLabel])); w42.X = 970; w42.Y = 675; // Container child MainLayout.Gtk.Fixed+FixedChild this.normalize = new global::Gtk.CheckButton(); this.normalize.CanFocus = true; this.normalize.Name = "normalize"; this.normalize.Label = global::Mono.Unix.Catalog.GetString("normalize"); this.normalize.DrawIndicator = true; this.normalize.UseUnderline = true; this.MainLayout.Add(this.normalize); global::Gtk.Fixed.FixedChild w43 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.normalize])); w43.X = 1120; w43.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.saveBlobsButton = new global::Gtk.Button(); this.saveBlobsButton.Name = "saveBlobsButton"; this.saveBlobsButton.UseUnderline = true; this.saveBlobsButton.FocusOnClick = false; this.saveBlobsButton.Label = global::Mono.Unix.Catalog.GetString("Save Blobs"); this.MainLayout.Add(this.saveBlobsButton); global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.saveBlobsButton])); w44.X = 60; w44.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.saveProcessedImage = new global::Gtk.Button(); this.saveProcessedImage.Name = "saveProcessedImage"; this.saveProcessedImage.UseUnderline = true; this.saveProcessedImage.FocusOnClick = false; this.saveProcessedImage.Label = global::Mono.Unix.Catalog.GetString("Save Processed Image"); this.MainLayout.Add(this.saveProcessedImage); global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.saveProcessedImage])); w45.X = 150; w45.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.SelectMode = new global::Gtk.ToggleButton(); this.SelectMode.WidthRequest = 120; this.SelectMode.Name = "SelectMode"; this.SelectMode.UseUnderline = true; this.SelectMode.FocusOnClick = false; this.SelectMode.Label = global::Mono.Unix.Catalog.GetString("Ellipse / Box"); this.MainLayout.Add(this.SelectMode); global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.SelectMode])); w46.X = 320; w46.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.editRegionLayout = new global::Gtk.Fixed(); this.editRegionLayout.WidthRequest = 800; this.editRegionLayout.HeightRequest = 50; this.editRegionLayout.Name = "editRegionLayout"; this.editRegionLayout.HasWindow = false; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.regionWidthLabel = new global::Gtk.Label(); this.regionWidthLabel.Name = "regionWidthLabel"; this.regionWidthLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Width</b>"); this.regionWidthLabel.UseMarkup = true; this.editRegionLayout.Add(this.regionWidthLabel); global::Gtk.Fixed.FixedChild w47 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.regionWidthLabel])); w47.Y = 5; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.widthScaleNumeric = new global::Gtk.SpinButton(2D, 1000D, 1D); this.widthScaleNumeric.Name = "widthScaleNumeric"; this.widthScaleNumeric.Adjustment.PageIncrement = 10D; this.widthScaleNumeric.ClimbRate = 1D; this.widthScaleNumeric.Numeric = true; this.widthScaleNumeric.Value = 2D; this.editRegionLayout.Add(this.widthScaleNumeric); global::Gtk.Fixed.FixedChild w48 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.widthScaleNumeric])); w48.X = 50; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.widthScale = new global::Gtk.HScale(null); this.widthScale.WidthRequest = 100; this.widthScale.Name = "widthScale"; this.widthScale.Adjustment.Lower = 2D; this.widthScale.Adjustment.Upper = 1000D; this.widthScale.Adjustment.PageIncrement = 10D; this.widthScale.Adjustment.StepIncrement = 1D; this.widthScale.DrawValue = false; this.widthScale.Digits = 0; this.widthScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.widthScale); global::Gtk.Fixed.FixedChild w49 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.widthScale])); w49.X = 120; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.heightScaleNumeric = new global::Gtk.SpinButton(2D, 1000D, 1D); this.heightScaleNumeric.Name = "heightScaleNumeric"; this.heightScaleNumeric.Adjustment.PageIncrement = 10D; this.heightScaleNumeric.ClimbRate = 1D; this.heightScaleNumeric.Numeric = true; this.heightScaleNumeric.Value = 2D; this.editRegionLayout.Add(this.heightScaleNumeric); global::Gtk.Fixed.FixedChild w50 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.heightScaleNumeric])); w50.X = 50; w50.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.heightScale = new global::Gtk.HScale(null); this.heightScale.WidthRequest = 100; this.heightScale.CanFocus = true; this.heightScale.Name = "heightScale"; this.heightScale.Adjustment.Lower = 2D; this.heightScale.Adjustment.Upper = 1000D; this.heightScale.Adjustment.PageIncrement = 10D; this.heightScale.Adjustment.StepIncrement = 1D; this.heightScale.DrawValue = false; this.heightScale.Digits = 0; this.heightScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.heightScale); global::Gtk.Fixed.FixedChild w51 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.heightScale])); w51.X = 120; w51.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.regionHeightLabel = new global::Gtk.Label(); this.regionHeightLabel.Name = "regionHeightLabel"; this.regionHeightLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Height</b>"); this.regionHeightLabel.UseMarkup = true; this.editRegionLayout.Add(this.regionHeightLabel); global::Gtk.Fixed.FixedChild w52 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.regionHeightLabel])); w52.Y = 35; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxScaleNumeric = new global::Gtk.SpinButton(-800D, 1600D, 1D); this.dxScaleNumeric.Name = "dxScaleNumeric"; this.dxScaleNumeric.Adjustment.PageIncrement = 10D; this.dxScaleNumeric.ClimbRate = 1D; this.dxScaleNumeric.Numeric = true; this.editRegionLayout.Add(this.dxScaleNumeric); global::Gtk.Fixed.FixedChild w53 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxScaleNumeric])); w53.X = 250; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxLabel = new global::Gtk.Label(); this.dxLabel.Name = "dxLabel"; this.dxLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>X</b>"); this.dxLabel.UseMarkup = true; this.editRegionLayout.Add(this.dxLabel); global::Gtk.Fixed.FixedChild w54 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxLabel])); w54.X = 230; w54.Y = 5; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyScaleNumeric = new global::Gtk.SpinButton(-800D, 1600D, 1D); this.dyScaleNumeric.Name = "dyScaleNumeric"; this.dyScaleNumeric.Adjustment.PageIncrement = 10D; this.dyScaleNumeric.ClimbRate = 1D; this.dyScaleNumeric.Numeric = true; this.editRegionLayout.Add(this.dyScaleNumeric); global::Gtk.Fixed.FixedChild w55 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyScaleNumeric])); w55.X = 250; w55.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyLabel = new global::Gtk.Label(); this.dyLabel.Name = "dyLabel"; this.dyLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Y</b>"); this.dyLabel.UseMarkup = true; this.editRegionLayout.Add(this.dyLabel); global::Gtk.Fixed.FixedChild w56 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyLabel])); w56.X = 230; w56.Y = 35; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxScale = new global::Gtk.HScale(null); this.dxScale.WidthRequest = 100; this.dxScale.Name = "dxScale"; this.dxScale.Adjustment.Lower = -800D; this.dxScale.Adjustment.Upper = 1600D; this.dxScale.Adjustment.PageIncrement = 10D; this.dxScale.Adjustment.StepIncrement = 1D; this.dxScale.DrawValue = false; this.dxScale.Digits = 0; this.dxScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.dxScale); global::Gtk.Fixed.FixedChild w57 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxScale])); w57.X = 320; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyScale = new global::Gtk.HScale(null); this.dyScale.WidthRequest = 100; this.dyScale.Name = "dyScale"; this.dyScale.Adjustment.Lower = -800D; this.dyScale.Adjustment.Upper = 1600D; this.dyScale.Adjustment.PageIncrement = 10D; this.dyScale.Adjustment.StepIncrement = 1D; this.dyScale.DrawValue = false; this.dyScale.Digits = 0; this.dyScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.dyScale); global::Gtk.Fixed.FixedChild w58 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyScale])); w58.X = 320; w58.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.closeEditButton = new global::Gtk.Button(); this.closeEditButton.Name = "closeEditButton"; this.closeEditButton.UseUnderline = true; this.closeEditButton.FocusOnClick = false; this.closeEditButton.Label = global::Mono.Unix.Catalog.GetString("Close"); this.editRegionLayout.Add(this.closeEditButton); global::Gtk.Fixed.FixedChild w59 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.closeEditButton])); w59.X = 440; this.MainLayout.Add(this.editRegionLayout); global::Gtk.Fixed.FixedChild w60 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.editRegionLayout])); w60.X = 20; w60.Y = 660; // Container child MainLayout.Gtk.Fixed+FixedChild this.ClearSelected = new global::Gtk.Button(); this.ClearSelected.Name = "ClearSelected"; this.ClearSelected.UseUnderline = true; this.ClearSelected.FocusOnClick = false; this.ClearSelected.Label = global::Mono.Unix.Catalog.GetString("Clear Selection"); this.MainLayout.Add(this.ClearSelected); global::Gtk.Fixed.FixedChild w61 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.ClearSelected])); w61.X = 445; w61.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectObjectsButton = new global::Gtk.Button(); this.detectObjectsButton.WidthRequest = 120; this.detectObjectsButton.Name = "detectObjectsButton"; this.detectObjectsButton.UseUnderline = true; this.detectObjectsButton.FocusOnClick = false; this.detectObjectsButton.Label = global::Mono.Unix.Catalog.GetString("Haar Cascades"); this.MainLayout.Add(this.detectObjectsButton); global::Gtk.Fixed.FixedChild w62 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectObjectsButton])); w62.X = 840; w62.Y = 545; // Container child MainLayout.Gtk.Fixed+FixedChild this.scaleFactor = new global::Gtk.SpinButton(0.01D, 10D, 0.1D); this.scaleFactor.WidthRequest = 120; this.scaleFactor.Name = "scaleFactor"; this.scaleFactor.Adjustment.PageIncrement = 0.1D; this.scaleFactor.ClimbRate = 1D; this.scaleFactor.Digits = ((uint)(2)); this.scaleFactor.Numeric = true; this.scaleFactor.Value = 1D; this.MainLayout.Add(this.scaleFactor); global::Gtk.Fixed.FixedChild w63 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.scaleFactor])); w63.X = 840; w63.Y = 300; // Container child MainLayout.Gtk.Fixed+FixedChild this.scaleFactorLabel = new global::Gtk.Label(); this.scaleFactorLabel.Name = "scaleFactorLabel"; this.scaleFactorLabel.LabelProp = global::Mono.Unix.Catalog.GetString("scale factor"); this.MainLayout.Add(this.scaleFactorLabel); global::Gtk.Fixed.FixedChild w64 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.scaleFactorLabel])); w64.X = 970; w64.Y = 305; // Container child MainLayout.Gtk.Fixed+FixedChild this.minNeighbors = new global::Gtk.SpinButton(1D, 100D, 1D); this.minNeighbors.WidthRequest = 120; this.minNeighbors.Name = "minNeighbors"; this.minNeighbors.Adjustment.PageIncrement = 10D; this.minNeighbors.ClimbRate = 1D; this.minNeighbors.Numeric = true; this.minNeighbors.Value = 1D; this.MainLayout.Add(this.minNeighbors); global::Gtk.Fixed.FixedChild w65 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minNeighbors])); w65.X = 840; w65.Y = 330; // Container child MainLayout.Gtk.Fixed+FixedChild this.minNeighborsLabel = new global::Gtk.Label(); this.minNeighborsLabel.Name = "minNeighborsLabel"; this.minNeighborsLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimun # of rectangle neighbors"); this.MainLayout.Add(this.minNeighborsLabel); global::Gtk.Fixed.FixedChild w66 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minNeighborsLabel])); w66.X = 970; w66.Y = 335; // Container child MainLayout.Gtk.Fixed+FixedChild this.selectClassifierButton = new global::Gtk.Button(); this.selectClassifierButton.WidthRequest = 120; this.selectClassifierButton.Name = "selectClassifierButton"; this.selectClassifierButton.UseUnderline = true; this.selectClassifierButton.FocusOnClick = false; this.selectClassifierButton.Label = global::Mono.Unix.Catalog.GetString("select classifier"); this.MainLayout.Add(this.selectClassifierButton); global::Gtk.Fixed.FixedChild w67 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.selectClassifierButton])); w67.X = 970; w67.Y = 545; this.Add(this.MainLayout); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1280; this.DefaultHeight = 720; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.ImageEventBox.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.ImageButtonPress); this.ImageEventBox.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.ImageButtonRelease); this.ImageEventBox.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler(this.ImageMotionNotify); this.selectImageButton.Clicked += new global::System.EventHandler(this.OnSelectImageButtonClicked); this.quitButton.Clicked += new global::System.EventHandler(this.OnQuitButtonClicked); this.markerSize.ValueChanged += new global::System.EventHandler(this.OnMarkerSizeValueChanged); this.detectCirclesButton.Clicked += new global::System.EventHandler(this.OnDetectCirclesButtonClicked); this.detectBlobsButton.Clicked += new global::System.EventHandler(this.OnDetectBlobsButtonClicked); this.blobDetectorButton.Clicked += new global::System.EventHandler(this.OnBlobDetectorButtonClicked); this.simpleBlobDetector.Clicked += new global::System.EventHandler(this.OnSimpleBlobDetectorClicked); this.subtractBg.Toggled += new global::System.EventHandler(this.OnSubtractBgToggled); this.imgInvert.Toggled += new global::System.EventHandler(this.OnImgInvertToggled); this.downUpSample.Toggled += new global::System.EventHandler(this.OnDownUpSampleToggled); this.gaussianBlur.Toggled += new global::System.EventHandler(this.OnGaussianBlurToggled); this.sx.ValueChanged += new global::System.EventHandler(this.OnSxValueChanged); this.sy.ValueChanged += new global::System.EventHandler(this.OnSyValueChanged); this.sigmaX.ValueChanged += new global::System.EventHandler(this.OnSigmaXValueChanged); this.sigmaY.ValueChanged += new global::System.EventHandler(this.OnSigmaYValueChanged); this.normalize.Toggled += new global::System.EventHandler(this.OnNormalizeToggled); this.saveBlobsButton.Clicked += new global::System.EventHandler(this.OnSaveBlobsButtonClicked); this.saveProcessedImage.Clicked += new global::System.EventHandler(this.OnSaveProcessedImageClicked); this.SelectMode.Toggled += new global::System.EventHandler(this.ToggleSelectMode); this.widthScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericResizeEvent); this.widthScale.ValueChanged += new global::System.EventHandler(this.ScaleResizeEvent); this.heightScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericResizeEvent); this.heightScale.ValueChanged += new global::System.EventHandler(this.ScaleResizeEvent); this.dxScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericMoveEvent); this.dyScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericMoveEvent); this.dxScale.ValueChanged += new global::System.EventHandler(this.ScaleMoveEvent); this.dyScale.ValueChanged += new global::System.EventHandler(this.ScaleMoveEvent); this.closeEditButton.Clicked += new global::System.EventHandler(this.CloseEdit); this.ClearSelected.Clicked += new global::System.EventHandler(this.ClearRegions); this.detectObjectsButton.Clicked += new global::System.EventHandler(this.OnDetectObjectsButtonClicked); this.selectClassifierButton.Clicked += new global::System.EventHandler(this.OnSelectClassifierButtonClicked); }
protected virtual void Build() { MonoDevelop.Components.Gui.Initialize(this); // Widget MonoDevelop.Gettext.POEditorWidget var w1 = MonoDevelop.Components.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w2, 0); this.Name = "MonoDevelop.Gettext.POEditorWidget"; // Container child MonoDevelop.Gettext.POEditorWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.notebookPages = new global::Gtk.Notebook(); this.notebookPages.CanFocus = true; this.notebookPages.Name = "notebookPages"; this.notebookPages.CurrentPage = 0; this.notebookPages.ShowBorder = false; this.notebookPages.ShowTabs = false; // Container child notebookPages.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("_Filter:"); this.label2.UseUnderline = true; this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.searchEntryFilter = new global::MonoDevelop.Components.SearchEntry(); this.searchEntryFilter.Name = "searchEntryFilter"; this.searchEntryFilter.ForceFilterButtonVisible = false; this.searchEntryFilter.HasFrame = false; this.searchEntryFilter.RoundedShape = false; this.searchEntryFilter.IsCheckMenu = false; this.searchEntryFilter.ActiveFilterID = 0; this.searchEntryFilter.Ready = false; this.searchEntryFilter.HasFocus = false; this.hbox2.Add(this.searchEntryFilter); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.searchEntryFilter])); w4.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.togglebuttonOk = new global::Gtk.ToggleButton(); this.togglebuttonOk.CanFocus = true; this.togglebuttonOk.Name = "togglebuttonOk"; // Container child togglebuttonOk.Gtk.Container+ContainerChild this.togglebuttonOkHbox = new global::Gtk.HBox(); this.togglebuttonOkHbox.Name = "togglebuttonOkHbox"; this.togglebuttonOkHbox.Spacing = 2; // Container child togglebuttonOkHbox.Gtk.Box+BoxChild this.togglebuttonOkIcon = new global::MonoDevelop.Components.ImageView(); this.togglebuttonOkIcon.Name = "togglebuttonOkIcon"; this.togglebuttonOkIcon.IconId = "md-done"; this.togglebuttonOkIcon.IconSize = ((global::Gtk.IconSize)(1)); this.togglebuttonOkHbox.Add(this.togglebuttonOkIcon); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.togglebuttonOkHbox [this.togglebuttonOkIcon])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child togglebuttonOkHbox.Gtk.Box+BoxChild this.togglebuttonOkLabel = new global::Gtk.Label(); this.togglebuttonOkLabel.Name = "togglebuttonOkLabel"; this.togglebuttonOkLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Valid"); this.togglebuttonOkLabel.UseUnderline = true; this.togglebuttonOkHbox.Add(this.togglebuttonOkLabel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.togglebuttonOkHbox [this.togglebuttonOkLabel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.togglebuttonOk.Add(this.togglebuttonOkHbox); this.hbox2.Add(this.togglebuttonOk); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonOk])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.togglebuttonMissing = new global::Gtk.ToggleButton(); this.togglebuttonMissing.CanFocus = true; this.togglebuttonMissing.Name = "togglebuttonMissing"; // Container child togglebuttonMissing.Gtk.Container+ContainerChild this.togglebuttonMissingHbox = new global::Gtk.HBox(); this.togglebuttonMissingHbox.Name = "togglebuttonMissingHbox"; this.togglebuttonMissingHbox.Spacing = 2; // Container child togglebuttonMissingHbox.Gtk.Box+BoxChild this.togglebuttonMissingIcon = new global::MonoDevelop.Components.ImageView(); this.togglebuttonMissingIcon.Name = "togglebuttonMissingIcon"; this.togglebuttonMissingIcon.IconId = "md-warning"; this.togglebuttonMissingIcon.IconSize = ((global::Gtk.IconSize)(1)); this.togglebuttonMissingHbox.Add(this.togglebuttonMissingIcon); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.togglebuttonMissingHbox [this.togglebuttonMissingIcon])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child togglebuttonMissingHbox.Gtk.Box+BoxChild this.togglebuttonMissingLabel = new global::Gtk.Label(); this.togglebuttonMissingLabel.Name = "togglebuttonMissingLabel"; this.togglebuttonMissingLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Missing"); this.togglebuttonMissingLabel.UseUnderline = true; this.togglebuttonMissingHbox.Add(this.togglebuttonMissingLabel); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.togglebuttonMissingHbox [this.togglebuttonMissingLabel])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.togglebuttonMissing.Add(this.togglebuttonMissingHbox); this.hbox2.Add(this.togglebuttonMissing); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonMissing])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.togglebuttonFuzzy = new global::Gtk.ToggleButton(); this.togglebuttonFuzzy.CanFocus = true; this.togglebuttonFuzzy.Name = "togglebuttonFuzzy"; // Container child togglebuttonFuzzy.Gtk.Container+ContainerChild this.togglebuttonFuzzyHbox = new global::Gtk.HBox(); this.togglebuttonFuzzyHbox.Name = "togglebuttonFuzzyHbox"; this.togglebuttonFuzzyHbox.Spacing = 2; // Container child togglebuttonFuzzyHbox.Gtk.Box+BoxChild this.togglebuttonFuzzyIcon = new global::MonoDevelop.Components.ImageView(); this.togglebuttonFuzzyIcon.Name = "togglebuttonFuzzyIcon"; this.togglebuttonFuzzyIcon.IconId = "md-error"; this.togglebuttonFuzzyIcon.IconSize = ((global::Gtk.IconSize)(1)); this.togglebuttonFuzzyHbox.Add(this.togglebuttonFuzzyIcon); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.togglebuttonFuzzyHbox [this.togglebuttonFuzzyIcon])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child togglebuttonFuzzyHbox.Gtk.Box+BoxChild this.togglebuttonFuzzyLabel = new global::Gtk.Label(); this.togglebuttonFuzzyLabel.Name = "togglebuttonFuzzyLabel"; this.togglebuttonFuzzyLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Fuzzy"); this.togglebuttonFuzzyLabel.UseUnderline = true; this.togglebuttonFuzzyHbox.Add(this.togglebuttonFuzzyLabel); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.togglebuttonFuzzyHbox [this.togglebuttonFuzzyLabel])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.togglebuttonFuzzy.Add(this.togglebuttonFuzzyHbox); this.hbox2.Add(this.togglebuttonFuzzy); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonFuzzy])); w16.Position = 4; w16.Expand = false; w16.Fill = false; this.vbox7.Add(this.hbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox2])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 186; // Container child vpaned2.Gtk.Paned+PanedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.treeviewEntries = new global::Gtk.TreeView(); this.treeviewEntries.CanFocus = true; this.treeviewEntries.Name = "treeviewEntries"; this.scrolledwindow1.Add(this.treeviewEntries); this.vpaned2.Add(this.scrolledwindow1); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.scrolledwindow1])); w19.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), true); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("_Comments:"); this.label6.UseUnderline = true; this.vbox3.Add(this.label6); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label6])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow(); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.textviewComments = new global::Gtk.TextView(); this.textviewComments.CanFocus = true; this.textviewComments.Name = "textviewComments"; this.textviewComments.AcceptsTab = false; this.scrolledwindow3.Add(this.textviewComments); this.vbox3.Add(this.scrolledwindow3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow3])); w22.Position = 1; this.table1.Add(this.vbox3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox3])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("_Translated (msgstr):"); this.label7.UseUnderline = true; this.vbox4.Add(this.label7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label7])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.notebookTranslated = new global::Gtk.Notebook(); this.notebookTranslated.CanFocus = true; this.notebookTranslated.Name = "notebookTranslated"; this.notebookTranslated.CurrentPage = 0; // Notebook tab global::Gtk.Label w25 = new global::Gtk.Label(); w25.Visible = true; this.notebookTranslated.Add(w25); this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebookTranslated.SetTabLabel(w25, this.label1); this.label1.ShowAll(); this.vbox4.Add(this.notebookTranslated); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.notebookTranslated])); w26.Position = 1; this.table1.Add(this.vbox4); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox4])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Original (msgid):"); this.hbox3.Add(this.label8); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label8])); w28.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.checkbuttonWhiteSpaces = new global::Gtk.CheckButton(); this.checkbuttonWhiteSpaces.CanFocus = true; this.checkbuttonWhiteSpaces.Name = "checkbuttonWhiteSpaces"; this.checkbuttonWhiteSpaces.Label = global::Mono.Unix.Catalog.GetString("S_how whitespaces"); this.checkbuttonWhiteSpaces.DrawIndicator = true; this.checkbuttonWhiteSpaces.UseUnderline = true; this.hbox3.Add(this.checkbuttonWhiteSpaces); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkbuttonWhiteSpaces])); w29.Position = 1; w29.Expand = false; this.vbox5.Add(this.hbox3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.scrolledwindowOriginal = new global::Gtk.ScrolledWindow(); this.scrolledwindowOriginal.CanFocus = true; this.scrolledwindowOriginal.Name = "scrolledwindowOriginal"; this.scrolledwindowOriginal.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox5.Add(this.scrolledwindowOriginal); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.scrolledwindowOriginal])); w31.Position = 1; // Container child vbox5.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Original plural (msgid_plural):"); this.vbox8.Add(this.label9); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label9])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.scrolledwindowPlural = new global::Gtk.ScrolledWindow(); this.scrolledwindowPlural.CanFocus = true; this.scrolledwindowPlural.Name = "scrolledwindowPlural"; this.scrolledwindowPlural.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox8.Add(this.scrolledwindowPlural); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.scrolledwindowPlural])); w33.Position = 1; this.vbox5.Add(this.vbox8); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox8])); w34.Position = 2; this.table1.Add(this.vbox5); // Container child table1.Gtk.Table+TableChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("F_ound in:"); this.label4.UseUnderline = true; this.vbox6.Add(this.label4); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label4])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.treeviewFoundIn = new global::Gtk.TreeView(); this.treeviewFoundIn.CanFocus = true; this.treeviewFoundIn.Name = "treeviewFoundIn"; this.scrolledwindow2.Add(this.treeviewFoundIn); this.vbox6.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow2])); w38.Position = 1; this.table1.Add(this.vbox6); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox6])); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); this.vpaned2.Add(this.table1); global::Gtk.Paned.PanedChild w40 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.table1])); w40.Resize = false; this.vbox7.Add(this.vpaned2); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.vpaned2])); w41.Position = 1; this.notebookPages.Add(this.vbox7); // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebookPages.SetTabLabel(this.vbox7, this.label5); this.label5.ShowAll(); this.vbox2.Add(this.notebookPages); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebookPages])); w43.Position = 0; // Container child 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.UIManager.AddUiFromString("<ui><toolbar name='toolbarPages'/></ui>"); this.toolbarPages = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbarPages"))); this.toolbarPages.Name = "toolbarPages"; this.toolbarPages.ShowArrow = false; this.toolbarPages.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbarPages.IconSize = ((global::Gtk.IconSize)(3)); this.hbox1.Add(this.toolbarPages); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbarPages])); w44.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.hbox1.Add(this.progressbar1); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar1])); w45.Position = 1; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.label6.MnemonicWidget = this.textviewComments; this.label7.MnemonicWidget = this.notebookTranslated; this.label4.MnemonicWidget = this.treeviewFoundIn; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.WidthRequest = 320; this.HeightRequest = 220; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Fish Tank Ctrl"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; this.AllowGrow = false; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox (); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.HeightRequest = 35; this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Pump:"); this.hbox5.Add (this.label3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label3])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.tbPump = new global::Gtk.ToggleButton (); this.tbPump.HeightRequest = 35; this.tbPump.CanFocus = true; this.tbPump.Name = "tbPump"; this.tbPump.Label = global::Mono.Unix.Catalog.GetString ("Turn On"); this.hbox5.Add (this.tbPump); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.tbPump])); w2.PackType = ((global::Gtk.PackType)(1)); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox10.Add (this.hbox5); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox5])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.HeightRequest = 35; this.hbox7.Name = "hbox7"; // Container child hbox7.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Heater:"); this.hbox7.Add (this.label4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label4])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.tbHeater = new global::Gtk.ToggleButton (); this.tbHeater.HeightRequest = 35; this.tbHeater.CanFocus = true; this.tbHeater.Name = "tbHeater"; this.tbHeater.UseUnderline = true; this.tbHeater.Label = global::Mono.Unix.Catalog.GetString ("Turn On"); this.hbox7.Add (this.tbHeater); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.tbHeater])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox10.Add (this.hbox7); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox7])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.HeightRequest = 35; this.hbox8.Name = "hbox8"; // Container child hbox8.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Light:"); this.hbox8.Add (this.label5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.tbLight = new global::Gtk.ToggleButton (); this.tbLight.HeightRequest = 35; this.tbLight.CanFocus = true; this.tbLight.Name = "tbLight"; this.tbLight.UseUnderline = true; this.tbLight.Label = global::Mono.Unix.Catalog.GetString ("Turn On"); this.hbox8.Add (this.tbLight); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.tbLight])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.vbox10.Add (this.hbox8); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox8])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.HeightRequest = 35; this.hbox9.Name = "hbox9"; // Container child hbox9.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Aux:"); this.hbox9.Add (this.label6); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label6])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.tbAux = new global::Gtk.ToggleButton (); this.tbAux.HeightRequest = 35; this.tbAux.CanFocus = true; this.tbAux.Name = "tbAux"; this.tbAux.UseUnderline = true; this.tbAux.Label = global::Mono.Unix.Catalog.GetString ("Turn On"); this.hbox9.Add (this.tbAux); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.tbAux])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.vbox10.Add (this.hbox9); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox9])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox10.Add (this.hseparator1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hseparator1])); w13.Position = 4; w13.Expand = false; w13.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.btnMaster = new global::Gtk.Button (); this.btnMaster.HeightRequest = 35; this.btnMaster.CanFocus = true; this.btnMaster.Name = "btnMaster"; this.btnMaster.UseUnderline = true; this.btnMaster.Label = global::Mono.Unix.Catalog.GetString ("Master Off"); this.vbox10.Add (this.btnMaster); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.btnMaster])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 5; w14.Expand = false; w14.Fill = false; this.hbox1.Add (this.vbox10); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox10])); w15.Position = 0; w15.Expand = false; w15.Fill = false; w15.Padding = ((uint)(5)); // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbox1.Add (this.vseparator1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Temp 1:"); this.vbox2.Add (this.label8); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label8])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.pbTemp1 = new global::Gtk.ProgressBar (); this.pbTemp1.Name = "pbTemp1"; this.pbTemp1.Orientation = ((global::Gtk.ProgressBarOrientation)(2)); this.vbox2.Add (this.pbTemp1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.pbTemp1])); w18.Position = 1; this.hbox3.Add (this.vbox2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Temp 2:"); this.vbox4.Add (this.label9); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label9])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.pbTemp2 = new global::Gtk.ProgressBar (); this.pbTemp2.Name = "pbTemp2"; this.pbTemp2.Orientation = ((global::Gtk.ProgressBarOrientation)(2)); this.vbox4.Add (this.pbTemp2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.pbTemp2])); w21.Position = 1; this.hbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.vbox3.Add (this.hbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w23.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.lblIPAddress = new global::Gtk.Label (); this.lblIPAddress.Name = "lblIPAddress"; this.lblIPAddress.LabelProp = global::Mono.Unix.Catalog.GetString ("IP Address:"); this.hbox4.Add (this.lblIPAddress); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.lblIPAddress])); w24.Position = 0; w24.Expand = false; w24.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.hbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 2; w26.Expand = false; w26.Fill = false; w26.Padding = ((uint)(5)); this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w27.Position = 0; w27.Expand = false; w27.Fill = false; w27.Padding = ((uint)(5)); this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 320; this.DefaultHeight = 241; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.tbPump.Clicked += new global::System.EventHandler (this.OnTbPumpClicked); this.tbHeater.Clicked += new global::System.EventHandler (this.OnTbHeaterClicked); this.tbLight.Clicked += new global::System.EventHandler (this.OnTbLightClicked); this.tbAux.Clicked += new global::System.EventHandler (this.OnTbAuxClicked); this.btnMaster.Clicked += new global::System.EventHandler (this.OnBtnMasterClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("NAO Remote Control"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.DefaultWidth = 600; this.DefaultHeight = 500; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("NAO IP:"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ipEntry = new global::Gtk.Entry (); this.ipEntry.WidthRequest = 100; this.ipEntry.CanFocus = true; this.ipEntry.Name = "ipEntry"; this.ipEntry.Text = global::Mono.Unix.Catalog.GetString ("192.168.1.146"); this.ipEntry.IsEditable = true; this.ipEntry.InvisibleChar = '●'; this.hbox1.Add (this.ipEntry); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ipEntry])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Username:"******"connectionToggle"; this.connectionToggle.UseUnderline = true; this.connectionToggle.Label = global::Mono.Unix.Catalog.GetString ("Connection"); global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-connect", global::Gtk.IconSize.LargeToolbar); this.connectionToggle.Image = w4; this.hbox1.Add (this.connectionToggle); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.connectionToggle])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 3; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.passwordEntry = new global::Gtk.Entry (); this.passwordEntry.WidthRequest = 75; this.passwordEntry.CanFocus = true; this.passwordEntry.Name = "passwordEntry"; this.passwordEntry.Text = global::Mono.Unix.Catalog.GetString ("nao"); this.passwordEntry.IsEditable = true; this.passwordEntry.InvisibleChar = '●'; this.hbox1.Add (this.passwordEntry); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.passwordEntry])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 4; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Password:"******"userNameEntry"; this.userNameEntry.Text = global::Mono.Unix.Catalog.GetString ("nao"); this.userNameEntry.IsEditable = true; this.userNameEntry.InvisibleChar = '●'; this.hbox1.Add (this.userNameEntry); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.userNameEntry])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 6; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.cameraArea = new global::Gtk.DrawingArea (); this.cameraArea.Name = "cameraArea"; this.vbox1.Add (this.cameraArea); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.cameraArea])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.cameraToggle = new global::Gtk.ToggleButton (); this.cameraToggle.WidthRequest = 100; this.cameraToggle.HeightRequest = 50; this.cameraToggle.Sensitive = false; this.cameraToggle.CanFocus = true; this.cameraToggle.Name = "cameraToggle"; this.cameraToggle.UseUnderline = true; this.cameraToggle.Label = global::Mono.Unix.Catalog.GetString ("Vision"); global::Gtk.Image w11 = new global::Gtk.Image (); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find", global::Gtk.IconSize.LargeToolbar); this.cameraToggle.Image = w11; this.hbox3.Add (this.cameraToggle); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.cameraToggle])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.stiffnessToggle = new global::Gtk.ToggleButton (); this.stiffnessToggle.WidthRequest = 100; this.stiffnessToggle.HeightRequest = 50; this.stiffnessToggle.Sensitive = false; this.stiffnessToggle.CanFocus = true; this.stiffnessToggle.Name = "stiffnessToggle"; this.stiffnessToggle.UseUnderline = true; this.stiffnessToggle.Label = global::Mono.Unix.Catalog.GetString ("Stiffness"); global::Gtk.Image w13 = new global::Gtk.Image (); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-authentication", global::Gtk.IconSize.LargeToolbar); this.stiffnessToggle.Image = w13; this.hbox3.Add (this.stiffnessToggle); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.stiffnessToggle])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.controlToggle = new global::Gtk.ToggleButton (); this.controlToggle.WidthRequest = 100; this.controlToggle.HeightRequest = 50; this.controlToggle.Sensitive = false; this.controlToggle.CanFocus = true; this.controlToggle.Name = "controlToggle"; this.controlToggle.UseUnderline = true; this.controlToggle.Label = global::Mono.Unix.Catalog.GetString ("Control"); global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_zoom-page", global::Gtk.IconSize.LargeToolbar); this.controlToggle.Image = w15; this.hbox3.Add (this.controlToggle); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.controlToggle])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ttsEntry = new global::Gtk.Entry (); this.ttsEntry.CanFocus = true; this.ttsEntry.Name = "ttsEntry"; this.ttsEntry.IsEditable = true; this.ttsEntry.InvisibleChar = '●'; this.hbox2.Add (this.ttsEntry); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ttsEntry])); w18.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.ttsButton = new global::Gtk.Button (); this.ttsButton.WidthRequest = 100; this.ttsButton.HeightRequest = 50; this.ttsButton.Sensitive = false; this.ttsButton.CanFocus = true; this.ttsButton.Name = "ttsButton"; this.ttsButton.UseUnderline = true; this.ttsButton.Label = global::Mono.Unix.Catalog.GetString ("Say"); global::Gtk.Image w19 = new global::Gtk.Image (); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_volume", global::Gtk.IconSize.Button); this.ttsButton.Image = w19; this.hbox2.Add (this.ttsButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ttsButton])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w21.PackType = ((global::Gtk.PackType)(1)); w21.Position = 3; w21.Expand = false; w21.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnKeyPressEvent); this.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnKeyReleaseEvent); this.connectionToggle.Toggled += new global::System.EventHandler (this.OnConnectionToggleToggled); this.cameraArea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnCameraAreaExposeEvent); this.cameraToggle.Toggled += new global::System.EventHandler (this.OnCameraToggleToggled); this.stiffnessToggle.Toggled += new global::System.EventHandler (this.OnStiffnessToggleToggled); this.controlToggle.Toggled += new global::System.EventHandler (this.OnControlToggleToggled); this.ttsButton.Clicked += new global::System.EventHandler (this.OnTtsButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.location = new global::Gtk.Label(); this.location.Name = "location"; this.location.Xalign = 0F; this.location.LabelProp = global::Mono.Unix.Catalog.GetString("Loaction:"); this.vbox4.Add(this.location); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.location])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.host = new global::Gtk.Entry(); this.host.CanFocus = true; this.host.Name = "host"; this.host.IsEditable = true; this.host.InvisibleChar = '•'; this.vbox4.Add(this.host); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.host])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.connect = new global::Gtk.ToggleButton(); this.connect.CanFocus = true; this.connect.Name = "connect"; this.connect.UseUnderline = true; this.connect.Label = global::Mono.Unix.Catalog.GetString("Connect"); this.vbox4.Add(this.connect); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.connect])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Model file"); this.vbox4.Add(this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label2])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.modelFilePicker = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Select a File"), ((global::Gtk.FileChooserAction)(0))); this.modelFilePicker.Sensitive = false; this.modelFilePicker.Name = "modelFilePicker"; this.vbox4.Add(this.modelFilePicker); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.modelFilePicker])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.getNext = new global::Gtk.Button(); this.getNext.Sensitive = false; this.getNext.CanFocus = true; this.getNext.Name = "getNext"; this.getNext.UseUnderline = true; this.getNext.Label = global::Mono.Unix.Catalog.GetString("getNext"); this.vbox4.Add(this.getNext); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.getNext])); w6.Position = 5; w6.Expand = false; w6.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hasNext = new global::Gtk.Button(); this.hasNext.Sensitive = false; this.hasNext.CanFocus = true; this.hasNext.Name = "hasNext"; this.hasNext.UseUnderline = true; this.hasNext.Label = global::Mono.Unix.Catalog.GetString("hasNext"); this.vbox4.Add(this.hasNext); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hasNext])); w7.Position = 6; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.getData = new global::Gtk.Button(); this.getData.Sensitive = false; this.getData.CanFocus = true; this.getData.Name = "getData"; this.getData.UseUnderline = true; this.getData.Label = global::Mono.Unix.Catalog.GetString("getData"); this.vbox4.Add(this.getData); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.getData])); w8.Position = 7; w8.Expand = false; w8.Fill = false; this.hbox2.Add(this.vbox4); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.log = new global::Gtk.TextView(); this.log.CanFocus = true; this.log.Name = "log"; this.log.Editable = false; this.log.CursorVisible = false; this.log.AcceptsTab = false; this.GtkScrolledWindow.Add(this.log); this.hbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); w11.Position = 1; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w12.Position = 0; w12.Expand = false; w12.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 513; this.DefaultHeight = 290; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.connect.Toggled += new global::System.EventHandler(this.onConnectToggled); this.modelFilePicker.SelectionChanged += new global::System.EventHandler(this.OnModelSelectionChanged); this.getNext.Clicked += new global::System.EventHandler(this.onGetNext); this.hasNext.Clicked += new global::System.EventHandler(this.OnHasNext); this.getData.Clicked += new global::System.EventHandler(this.OnGetData); }
protected virtual void Build() { // Memory Loading the pixmaps got layer use System.Reflection.Assembly myAssembly = System.Reflection.Assembly.GetExecutingAssembly(); System.IO.Stream myStream = myAssembly.GetManifestResourceStream("CombatSportsScore.img.knockdown.xpm"); global::Gtk.Image w4 = new global::Gtk.Image(myStream); System.Reflection.Assembly myAssembly2 = System.Reflection.Assembly.GetExecutingAssembly(); System.IO.Stream myStream2 = myAssembly2.GetManifestResourceStream("CombatSportsScore.img.foul.xpm"); global::Gtk.Image w6 = new global::Gtk.Image(myStream2); System.Reflection.Assembly myAssembly3 = System.Reflection.Assembly.GetExecutingAssembly(); System.IO.Stream myStream3 = myAssembly3.GetManifestResourceStream("CombatSportsScore.img.swing.xpm"); global::Gtk.Image w8 = new global::Gtk.Image(myStream3); global::Stetic.Gui.Initialize(this); // Widget CombatSportsScore.RDWidget global::Stetic.BinContainer.Attach(this); this.Name = "CombatSportsScore.RDWidget"; // Container child CombatSportsScore.RDWidget.Gtk.Container+ContainerChild this.table = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table.Name = "table"; this.table.RowSpacing = ((uint)(2)); // Container child table.Gtk.Table+TableChild this.colourbutton1 = new global::CombatSportsScore.ColourButton(); this.colourbutton1.Events = ((global::Gdk.EventMask)(256)); this.colourbutton1.Name = "colourbutton1"; this.table.Add(this.colourbutton1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table[this.colourbutton1])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.colourbutton2 = new global::CombatSportsScore.ColourButton(2); this.colourbutton2.Events = ((global::Gdk.EventMask)(256)); this.colourbutton2.Name = "colourbutton2"; this.table.Add(this.colourbutton2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table[this.colourbutton2])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.hboxtoggle = new global::Gtk.HBox(); this.hboxtoggle.Name = "hboxtoggle"; this.hboxtoggle.Homogeneous = true; // Container child hboxtoggle.Gtk.Box+BoxChild this.toggleKD = new global::Gtk.ToggleButton(); global::Gtk.Tooltips w3 = new Gtk.Tooltips(); w3.SetTip(this.toggleKD, "KnockDown in Round", "KnockDown in Round"); this.toggleKD.CanFocus = true; this.toggleKD.Name = "toggleKD"; this.toggleKD.Image = w4; this.hboxtoggle.Add(this.toggleKD); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxtoggle[this.toggleKD])); w5.Position = 0; // Container child hboxtoggle.Gtk.Box+BoxChild this.toggleFoul = new global::Gtk.ToggleButton(); w3.SetTip(this.toggleFoul, "Ref Deducted Foul Points", "Ref Deducted Foul Points"); this.toggleFoul.CanFocus = true; this.toggleFoul.Name = "toggleFoul"; this.toggleFoul.Image = w6; this.hboxtoggle.Add(this.toggleFoul); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxtoggle[this.toggleFoul])); w7.Position = 1; // Container child hboxtoggle.Gtk.Box+BoxChild this.toggleSwing = new global::Gtk.ToggleButton(); w3.SetTip(this.toggleSwing, "You Consider Round Swingable To Either Fighter", "You Consider Round Swingable To Either Fighter"); this.toggleSwing.CanFocus = true; this.toggleSwing.Name = "toggleSwing"; this.toggleSwing.Image = w8; this.hboxtoggle.Add(this.toggleSwing); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxtoggle[this.toggleSwing])); w9.Position = 2; this.table.Add(this.hboxtoggle); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table[this.hboxtoggle])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(6)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table.Gtk.Table+TableChild this.labelRound = new global::Gtk.Label(); this.labelRound.WidthRequest = 462; this.labelRound.Name = "labelRound"; this.labelRound.LabelProp = "<b>Round </b>"; this.labelRound.UseMarkup = true; this.labelRound.Justify = ((global::Gtk.Justification)(2)); this.table.Add(this.labelRound); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table[this.labelRound])); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Component.DashboardWidget global::Stetic.BinContainer.Attach(this); this.Name = "LongoMatch.Gui.Component.DashboardWidget"; // Container child LongoMatch.Gui.Component.DashboardWidget.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 12; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.CanFocus = true; this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbuttonbox2 = new global::Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; this.hbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1)); // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.addcatbutton = new global::Gtk.Button(); this.addcatbutton.CanFocus = true; this.addcatbutton.Name = "addcatbutton"; // Container child addcatbutton.Gtk.Container+ContainerChild this.addcatbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.addcatbuttonimage.Name = "addcatbuttonimage"; this.addcatbutton.Add(this.addcatbuttonimage); this.hbuttonbox2.Add(this.addcatbutton); global::Gtk.ButtonBox.ButtonBoxChild w2 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.addcatbutton])); w2.Expand = false; w2.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.addtimerbutton = new global::Gtk.Button(); this.addtimerbutton.CanFocus = true; this.addtimerbutton.Name = "addtimerbutton"; // Container child addtimerbutton.Gtk.Container+ContainerChild this.addtimerbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.addtimerbuttonimage.Name = "addtimerbuttonimage"; this.addtimerbutton.Add(this.addtimerbuttonimage); this.hbuttonbox2.Add(this.addtimerbutton); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.addtimerbutton])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.addscorebutton = new global::Gtk.Button(); this.addscorebutton.CanFocus = true; this.addscorebutton.Name = "addscorebutton"; // Container child addscorebutton.Gtk.Container+ContainerChild this.addscorebuttonimage = new global::VAS.UI.Helpers.ImageView(); this.addscorebuttonimage.Name = "addscorebuttonimage"; this.addscorebutton.Add(this.addscorebuttonimage); this.hbuttonbox2.Add(this.addscorebutton); global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.addscorebutton])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.addcardbutton = new global::Gtk.Button(); this.addcardbutton.CanFocus = true; this.addcardbutton.Name = "addcardbutton"; // Container child addcardbutton.Gtk.Container+ContainerChild this.addcardbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.addcardbuttonimage.Name = "addcardbuttonimage"; this.addcardbutton.Add(this.addcardbuttonimage); this.hbuttonbox2.Add(this.addcardbutton); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.addcardbutton])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.addtagbutton = new global::Gtk.Button(); this.addtagbutton.CanFocus = true; this.addtagbutton.Name = "addtagbutton"; // Container child addtagbutton.Gtk.Container+ContainerChild this.addtagbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.addtagbuttonimage.Name = "addtagbuttonimage"; this.addtagbutton.Add(this.addtagbuttonimage); this.hbuttonbox2.Add(this.addtagbutton); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.addtagbutton])); w10.Position = 4; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbuttonbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbuttonbox2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.dashscrolledwindow = new global::Gtk.ScrolledWindow(); this.dashscrolledwindow.CanFocus = true; this.dashscrolledwindow.Name = "dashscrolledwindow"; // Container child dashscrolledwindow.Gtk.Container+ContainerChild global::Gtk.Viewport w12 = new global::Gtk.Viewport(); w12.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.drawingarea = new global::Gtk.DrawingArea(); this.drawingarea.CanFocus = true; this.drawingarea.Name = "drawingarea"; w12.Add(this.drawingarea); this.dashscrolledwindow.Add(w12); this.vbox2.Add(this.dashscrolledwindow); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.dashscrolledwindow])); w15.Position = 1; this.hbox2.Add(this.vbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w16.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.rightbox = new global::Gtk.VBox(); this.rightbox.Name = "rightbox"; this.rightbox.Spacing = 6; // Container child rightbox.Gtk.Box+BoxChild this.propertiesframe = new global::Gtk.Frame(); this.propertiesframe.Name = "propertiesframe"; this.propertiesframe.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child propertiesframe.Gtk.Container+ContainerChild this.propertiesalignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.propertiesalignment.Name = "propertiesalignment"; this.propertiesalignment.BorderWidth = ((uint)(6)); // Container child propertiesalignment.Gtk.Container+ContainerChild this.vbox10 = new global::Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.positionsbox = new global::Gtk.HBox(); this.positionsbox.Name = "positionsbox"; this.positionsbox.Spacing = 6; // Container child positionsbox.Gtk.Box+BoxChild this.fieldSelector = new global::VAS.UI.Component.ImagePreviewWidget(); this.fieldSelector.Events = ((global::Gdk.EventMask)(256)); this.fieldSelector.Name = "fieldSelector"; this.positionsbox.Add(this.fieldSelector); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.positionsbox [this.fieldSelector])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child positionsbox.Gtk.Box+BoxChild this.hfieldSelector = new global::VAS.UI.Component.ImagePreviewWidget(); this.hfieldSelector.Events = ((global::Gdk.EventMask)(256)); this.hfieldSelector.Name = "hfieldSelector"; this.positionsbox.Add(this.hfieldSelector); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.positionsbox [this.hfieldSelector])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child positionsbox.Gtk.Box+BoxChild this.goalSelector = new global::VAS.UI.Component.ImagePreviewWidget(); this.goalSelector.Events = ((global::Gdk.EventMask)(256)); this.goalSelector.Name = "goalSelector"; this.positionsbox.Add(this.goalSelector); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.positionsbox [this.goalSelector])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.vbox10.Add(this.positionsbox); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.positionsbox])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.periodsbox = new global::Gtk.HBox(); this.periodsbox.Name = "periodsbox"; this.periodsbox.Spacing = 6; // Container child periodsbox.Gtk.Box+BoxChild this.periodslabel = new global::Gtk.Label(); this.periodslabel.Name = "periodslabel"; this.periodslabel.LabelProp = global::VAS.Core.Catalog.GetString("Periods"); this.periodsbox.Add(this.periodslabel); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.periodsbox [this.periodslabel])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child periodsbox.Gtk.Box+BoxChild this.periodsentry = new global::Gtk.Entry(); this.periodsentry.CanFocus = true; this.periodsentry.Name = "periodsentry"; this.periodsentry.IsEditable = true; this.periodsentry.InvisibleChar = '•'; this.periodsbox.Add(this.periodsentry); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.periodsbox [this.periodsentry])); w22.Position = 1; // Container child periodsbox.Gtk.Box+BoxChild this.applybutton = new global::Gtk.Button(); this.applybutton.CanFocus = true; this.applybutton.Name = "applybutton"; // Container child applybutton.Gtk.Container+ContainerChild this.applyimage = new global::VAS.UI.Helpers.ImageView(); this.applyimage.Name = "applyimage"; this.applybutton.Add(this.applyimage); this.periodsbox.Add(this.applybutton); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.periodsbox [this.applybutton])); w24.Position = 2; w24.Expand = false; w24.Fill = false; this.vbox10.Add(this.periodsbox); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.periodsbox])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.propertiesscrolledwindow = new global::Gtk.ScrolledWindow(); this.propertiesscrolledwindow.CanFocus = true; this.propertiesscrolledwindow.Name = "propertiesscrolledwindow"; this.propertiesscrolledwindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.propertiesscrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child propertiesscrolledwindow.Gtk.Container+ContainerChild global::Gtk.Viewport w26 = new global::Gtk.Viewport(); w26.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.tagpropertiesalignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.tagpropertiesalignment.Name = "tagpropertiesalignment"; this.tagpropertiesalignment.BorderWidth = ((uint)(6)); // Container child tagpropertiesalignment.Gtk.Container+ContainerChild this.propertiesnotebook = new global::Gtk.Notebook(); this.propertiesnotebook.CanFocus = true; this.propertiesnotebook.Name = "propertiesnotebook"; this.propertiesnotebook.CurrentPage = 2; this.propertiesnotebook.ShowBorder = false; this.propertiesnotebook.ShowTabs = false; // Notebook tab global::Gtk.Label w27 = new global::Gtk.Label(); w27.Visible = true; this.propertiesnotebook.Add(w27); this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::VAS.Core.Catalog.GetString("page1"); this.propertiesnotebook.SetTabLabel(w27, this.label2); this.label2.ShowAll(); // Container child propertiesnotebook.Gtk.Notebook+NotebookChild this.tagproperties = new global::LongoMatch.Gui.Component.CategoryProperties(); this.tagproperties.Events = ((global::Gdk.EventMask)(256)); this.tagproperties.Name = "tagproperties"; this.tagproperties.Edited = false; this.propertiesnotebook.Add(this.tagproperties); global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.propertiesnotebook [this.tagproperties])); w28.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::VAS.Core.Catalog.GetString("page2"); this.propertiesnotebook.SetTabLabel(this.tagproperties, this.label3); this.label3.ShowAll(); // Container child propertiesnotebook.Gtk.Notebook+NotebookChild this.linkproperties = new global::LongoMatch.Gui.Component.LinkProperties(); this.linkproperties.Events = ((global::Gdk.EventMask)(256)); this.linkproperties.Name = "linkproperties"; this.linkproperties.Edited = false; this.propertiesnotebook.Add(this.linkproperties); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.propertiesnotebook [this.linkproperties])); w29.Position = 2; // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::VAS.Core.Catalog.GetString("page3"); this.propertiesnotebook.SetTabLabel(this.linkproperties, this.label5); this.label5.ShowAll(); this.tagpropertiesalignment.Add(this.propertiesnotebook); w26.Add(this.tagpropertiesalignment); this.propertiesscrolledwindow.Add(w26); this.vbox10.Add(this.propertiesscrolledwindow); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.propertiesscrolledwindow])); w33.Position = 2; this.propertiesalignment.Add(this.vbox10); this.propertiesframe.Add(this.propertiesalignment); this.rightbox.Add(this.propertiesframe); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.rightbox [this.propertiesframe])); w36.Position = 0; this.hbox2.Add(this.rightbox); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.rightbox])); w37.Position = 1; w37.Expand = false; w37.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.editbutton = new global::Gtk.ToggleButton(); this.editbutton.CanFocus = true; this.editbutton.Name = "editbutton"; this.editbutton.Relief = ((global::Gtk.ReliefStyle)(2)); this.vbox4.Add(this.editbutton); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.editbutton])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox4.Add(this.hseparator1); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator1])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.linksbutton = new global::Gtk.ToggleButton(); this.linksbutton.CanFocus = true; this.linksbutton.Name = "linksbutton"; this.linksbutton.Relief = ((global::Gtk.ReliefStyle)(2)); this.vbox4.Add(this.linksbutton); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.linksbutton])); w40.Position = 2; w40.Expand = false; w40.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbox4.Add(this.hseparator3); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator3])); w41.Position = 3; w41.Expand = false; w41.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.popupbutton = new global::Gtk.ToggleButton(); this.popupbutton.CanFocus = true; this.popupbutton.Name = "popupbutton"; this.popupbutton.Relief = ((global::Gtk.ReliefStyle)(2)); this.vbox4.Add(this.popupbutton); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.popupbutton])); w42.Position = 4; w42.Expand = false; w42.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbox4.Add(this.hseparator5); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator5])); w43.Position = 5; w43.Expand = false; w43.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.fitbutton = new global::Gtk.ToggleButton(); this.fitbutton.CanFocus = true; this.fitbutton.Name = "fitbutton"; this.fitbutton.Relief = ((global::Gtk.ReliefStyle)(2)); this.vbox4.Add(this.fitbutton); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.fitbutton])); w44.Position = 6; w44.Expand = false; w44.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.fillbutton = new global::Gtk.ToggleButton(); this.fillbutton.CanFocus = true; this.fillbutton.Name = "fillbutton"; this.fillbutton.Relief = ((global::Gtk.ReliefStyle)(2)); this.vbox4.Add(this.fillbutton); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.fillbutton])); w45.Position = 7; w45.Expand = false; w45.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.d11button = new global::Gtk.ToggleButton(); this.d11button.CanFocus = true; this.d11button.Name = "d11button"; this.d11button.Relief = ((global::Gtk.ReliefStyle)(2)); this.vbox4.Add(this.d11button); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.d11button])); w46.Position = 8; w46.Expand = false; w46.Fill = false; this.hbox2.Add(this.vbox4); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4])); w47.Position = 2; w47.Expand = false; this.Add(this.hbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget m3app1.StockView this.Name = "m3app1.StockView"; this.Title = global::Mono.Unix.Catalog.GetString ("StockView"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child m3app1.StockView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(3)); // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.table4 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.ActivatesDefault = true; this.entry1.InvisibleChar = '●'; this.table4.Add (this.entry1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table4 [this.entry1])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entry2 = new global::Gtk.Entry (); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.table4.Add (this.entry2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table4 [this.entry2])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entry3 = new global::Gtk.Entry (); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '●'; this.table4.Add (this.entry3); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table4 [this.entry3])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entry4 = new global::Gtk.Entry (); this.entry4.CanFocus = true; this.entry4.Name = "entry4"; this.entry4.IsEditable = true; this.entry4.InvisibleChar = '●'; this.table4.Add (this.entry4); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.entry4])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entry5 = new global::Gtk.Entry (); this.entry5.CanFocus = true; this.entry5.Name = "entry5"; this.entry5.IsEditable = true; this.entry5.InvisibleChar = '●'; this.table4.Add (this.entry5); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table4 [this.entry5])); w5.TopAttach = ((uint)(4)); w5.BottomAttach = ((uint)(5)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entry6 = new global::Gtk.Entry (); this.entry6.CanFocus = true; this.entry6.Name = "entry6"; this.entry6.IsEditable = true; this.entry6.InvisibleChar = '●'; this.table4.Add (this.entry6); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table4 [this.entry6])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Stock Code"); this.label1.Justify = ((global::Gtk.Justification)(1)); this.table4.Add (this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table4 [this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Item Name"); this.table4.Add (this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table4 [this.label2])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Supplier"); this.table4.Add (this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table4 [this.label3])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Unit Cost"); this.table4.Add (this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4 [this.label4])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Number In Stock"); this.table4.Add (this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4 [this.label5])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Minimum Stock Level"); this.table4.Add (this.label6); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table4 [this.label6])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox6.Add (this.table4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.table4])); w13.Position = 0; this.vbox2.Add (this.hbox6); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox7.Add (this.fixed1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.fixed1])); w15.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Cancel"); this.hbox7.Add (this.button1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button1])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.togglebutton3 = new global::Gtk.ToggleButton (); this.togglebutton3.CanFocus = true; this.togglebutton3.Name = "togglebutton3"; this.togglebutton3.UseUnderline = true; this.togglebutton3.Active = true; this.togglebutton3.Label = global::Mono.Unix.Catalog.GetString ("Add"); this.hbox7.Add (this.togglebutton3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.togglebutton3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.vbox2.Add (this.hbox7); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 435; this.DefaultHeight = 214; this.Show (); this.button1.Activated += new global::System.EventHandler (this.OnCancelEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mono.Instrumentation.Monitor.InstrumenationChartView global::Stetic.BinContainer.Attach(this); this.Name = "Mono.Instrumentation.Monitor.InstrumenationChartView"; // Container child Mono.Instrumentation.Monitor.InstrumenationChartView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hpaned2 = new global::Gtk.HPaned(); this.hpaned2.CanFocus = true; this.hpaned2.Name = "hpaned2"; this.hpaned2.Position = 471; // Container child hpaned2.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.boxCharts = new global::Gtk.VBox(); this.boxCharts.Name = "boxCharts"; this.boxCharts.Spacing = 6; // Container child boxCharts.Gtk.Box+BoxChild this.hboxChartBar = new global::Gtk.HBox(); this.hboxChartBar.Name = "hboxChartBar"; this.hboxChartBar.Spacing = 6; // Container child hboxChartBar.Gtk.Box+BoxChild this.toggleTimeView = new global::Gtk.ToggleButton(); this.toggleTimeView.CanFocus = true; this.toggleTimeView.Name = "toggleTimeView"; this.toggleTimeView.UseUnderline = true; this.toggleTimeView.Relief = ((global::Gtk.ReliefStyle)(2)); this.toggleTimeView.Label = global::Mono.Unix.Catalog.GetString("Time View"); this.hboxChartBar.Add(this.toggleTimeView); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.toggleTimeView])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.toggleListView = new global::Gtk.ToggleButton(); this.toggleListView.CanFocus = true; this.toggleListView.Name = "toggleListView"; this.toggleListView.UseUnderline = true; this.toggleListView.Relief = ((global::Gtk.ReliefStyle)(2)); this.toggleListView.Label = global::Mono.Unix.Catalog.GetString("List View"); this.hboxChartBar.Add(this.toggleListView); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.toggleListView])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.buttonZoomOut = new global::Gtk.Button(); this.buttonZoomOut.CanFocus = true; this.buttonZoomOut.Name = "buttonZoomOut"; this.buttonZoomOut.UseUnderline = true; this.buttonZoomOut.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonZoomOut.Label = ""; global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-zoom-out", global::Gtk.IconSize.Menu); this.buttonZoomOut.Image = w3; this.hboxChartBar.Add(this.buttonZoomOut); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.buttonZoomOut])); w4.PackType = ((global::Gtk.PackType)(1)); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.buttonZoomIn = new global::Gtk.Button(); this.buttonZoomIn.CanFocus = true; this.buttonZoomIn.Name = "buttonZoomIn"; this.buttonZoomIn.UseUnderline = true; this.buttonZoomIn.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonZoomIn.Label = ""; global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-zoom-in", global::Gtk.IconSize.Menu); this.buttonZoomIn.Image = w5; this.hboxChartBar.Add(this.buttonZoomIn); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.buttonZoomIn])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.boxCharts.Add(this.hboxChartBar); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.boxCharts [this.hboxChartBar])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child boxCharts.Gtk.Box+BoxChild this.frameCharts = new global::Gtk.VBox(); this.frameCharts.Name = "frameCharts"; this.frameCharts.Spacing = 6; // Container child frameCharts.Gtk.Box+BoxChild this.chartScroller = new global::Gtk.HScrollbar(null); this.chartScroller.Name = "chartScroller"; this.chartScroller.Adjustment.Upper = 100; this.chartScroller.Adjustment.PageIncrement = 10; this.chartScroller.Adjustment.PageSize = 10; this.chartScroller.Adjustment.StepIncrement = 1; this.frameCharts.Add(this.chartScroller); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.frameCharts [this.chartScroller])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.boxCharts.Add(this.frameCharts); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.boxCharts [this.frameCharts])); w9.Position = 1; this.hbox4.Add(this.boxCharts); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.boxCharts])); w10.Position = 0; this.hpaned2.Add(this.hbox4); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.hbox4])); w11.Resize = false; // Container child hpaned2.Gtk.Paned+PanedChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hboxSeriesBar = new global::Gtk.HBox(); this.hboxSeriesBar.Name = "hboxSeriesBar"; this.hboxSeriesBar.Spacing = 6; // Container child hboxSeriesBar.Gtk.Box+BoxChild this.buttonRemoveCounter = new global::Gtk.Button(); this.buttonRemoveCounter.CanFocus = true; this.buttonRemoveCounter.Name = "buttonRemoveCounter"; this.buttonRemoveCounter.UseStock = true; this.buttonRemoveCounter.UseUnderline = true; this.buttonRemoveCounter.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonRemoveCounter.Label = "gtk-remove"; this.hboxSeriesBar.Add(this.buttonRemoveCounter); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxSeriesBar [this.buttonRemoveCounter])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hboxSeriesBar.Gtk.Box+BoxChild this.buttonAddCounter = new global::Gtk.Button(); this.buttonAddCounter.CanFocus = true; this.buttonAddCounter.Name = "buttonAddCounter"; this.buttonAddCounter.UseStock = true; this.buttonAddCounter.UseUnderline = true; this.buttonAddCounter.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonAddCounter.Label = "gtk-add"; this.hboxSeriesBar.Add(this.buttonAddCounter); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxSeriesBar [this.buttonAddCounter])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.vbox5.Add(this.hboxSeriesBar); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hboxSeriesBar])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.listSeries = new global::Gtk.TreeView(); this.listSeries.WidthRequest = 100; this.listSeries.CanFocus = true; this.listSeries.Name = "listSeries"; this.listSeries.HeadersVisible = false; this.GtkScrolledWindow1.Add(this.listSeries); this.vbox5.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1])); w16.Position = 1; this.hpaned2.Add(this.vbox5); global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.vbox5])); w17.Resize = false; w17.Shrink = false; this.vbox3.Add(this.hpaned2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hpaned2])); w18.Position = 0; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.toggleTimeView.Toggled += new global::System.EventHandler(this.OnToggleTimeViewToggled); this.toggleListView.Toggled += new global::System.EventHandler(this.OnToggleListViewToggled); this.buttonZoomIn.Clicked += new global::System.EventHandler(this.OnButtonZoomInClicked); this.buttonZoomOut.Clicked += new global::System.EventHandler(this.OnButtonZoomOutClicked); this.chartScroller.ValueChanged += new global::System.EventHandler(this.OnChartScrollerValueChanged); this.buttonAddCounter.Clicked += new global::System.EventHandler(this.OnButtonAddCounterClicked); this.buttonRemoveCounter.Clicked += new global::System.EventHandler(this.OnButtonRemoveCounterClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MASGAU.Main.MainWindow this.Name = "MASGAU.Main.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MASGAU"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MASGAU.Main.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment2 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment2.Name = "alignment2"; this.alignment2.LeftPadding = ((uint)(3)); this.alignment2.TopPadding = ((uint)(3)); this.alignment2.RightPadding = ((uint)(3)); this.alignment2.BottomPadding = ((uint)(3)); // Container child alignment2.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(3)); this.GtkAlignment.RightPadding = ((uint)(3)); this.GtkAlignment.BottomPadding = ((uint)(3)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.detectedGamesNode = new global::Gtk.NodeView (); this.detectedGamesNode.CanFocus = true; this.detectedGamesNode.Name = "detectedGamesNode"; this.GtkScrolledWindow.Add (this.detectedGamesNode); this.GtkAlignment.Add (this.GtkScrolledWindow); this.frame1.Add (this.GtkAlignment); this.GtkLabel23 = new global::Gtk.Label (); this.GtkLabel23.Name = "GtkLabel23"; this.GtkLabel23.LabelProp = global::Mono.Unix.Catalog.GetString ("Detected Games"); this.GtkLabel23.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel23; this.vbox2.Add (this.frame1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.frame1])); w4.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Homogeneous = true; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.redetectGamesBtn = new global::Gtk.Button (); this.redetectGamesBtn.CanFocus = true; this.redetectGamesBtn.Name = "redetectGamesBtn"; this.redetectGamesBtn.UseUnderline = true; // Container child redetectGamesBtn.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-refresh", 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 ("_Redetect Games"); w9.UseUnderline = true; w6.Add (w9); w5.Add (w6); this.redetectGamesBtn.Add (w5); this.hbox6.Add (this.redetectGamesBtn); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.redetectGamesBtn])); w13.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.backupSelectedBtn = new global::Gtk.Button (); this.backupSelectedBtn.CanFocus = true; this.backupSelectedBtn.Name = "backupSelectedBtn"; this.backupSelectedBtn.UseUnderline = true; // Container child backupSelectedBtn.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-save", 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 ("_Back Nothing Up"); w18.UseUnderline = true; w15.Add (w18); w14.Add (w15); this.backupSelectedBtn.Add (w14); this.hbox6.Add (this.backupSelectedBtn); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.backupSelectedBtn])); w22.Position = 1; // Container child hbox6.Gtk.Box+BoxChild this.backupAllBtn = new global::Gtk.Button (); this.backupAllBtn.CanFocus = true; this.backupAllBtn.Name = "backupAllBtn"; this.backupAllBtn.UseUnderline = true; // Container child backupAllBtn.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-save", 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 ("Back _Everything Up"); w27.UseUnderline = true; w24.Add (w27); w23.Add (w24); this.backupAllBtn.Add (w23); this.hbox6.Add (this.backupAllBtn); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.backupAllBtn])); w31.Position = 2; this.vbox2.Add (this.hbox6); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.alignment2.Add (this.vbox2); this.notebook1.Add (this.alignment2); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Backup"); this.notebook1.SetTabLabel (this.alignment2, this.label1); this.label1.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment3 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment3.Name = "alignment3"; this.alignment3.LeftPadding = ((uint)(3)); this.alignment3.TopPadding = ((uint)(3)); this.alignment3.RightPadding = ((uint)(3)); this.alignment3.BottomPadding = ((uint)(3)); // Container child alignment3.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.frame11 = new global::Gtk.Frame (); this.frame11.Name = "frame11"; // Container child frame11.Gtk.Container+ContainerChild this.GtkAlignment10 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment10.Name = "GtkAlignment10"; this.GtkAlignment10.LeftPadding = ((uint)(3)); this.GtkAlignment10.RightPadding = ((uint)(3)); this.GtkAlignment10.BottomPadding = ((uint)(3)); // Container child GtkAlignment10.Gtk.Container+ContainerChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.restoreTree = new global::Gtk.TreeView (); this.restoreTree.CanFocus = true; this.restoreTree.Name = "restoreTree"; this.GtkScrolledWindow2.Add (this.restoreTree); this.GtkAlignment10.Add (this.GtkScrolledWindow2); this.frame11.Add (this.GtkAlignment10); this.GtkLabel24 = new global::Gtk.Label (); this.GtkLabel24.Name = "GtkLabel24"; this.GtkLabel24.LabelProp = global::Mono.Unix.Catalog.GetString ("Double-click a backup to restore it"); this.GtkLabel24.UseMarkup = true; this.frame11.LabelWidget = this.GtkLabel24; this.vbox6.Add (this.frame11); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.frame11])); w38.Position = 0; // Container child vbox6.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Homogeneous = true; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.reloadArchivesBtn = new global::Gtk.Button (); this.reloadArchivesBtn.CanFocus = true; this.reloadArchivesBtn.Name = "reloadArchivesBtn"; this.reloadArchivesBtn.UseUnderline = true; // Container child reloadArchivesBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w39 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w40 = new global::Gtk.HBox (); w40.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w41 = new global::Gtk.Image (); w41.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu); w40.Add (w41); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w43 = new global::Gtk.Label (); w43.LabelProp = global::Mono.Unix.Catalog.GetString ("Reload Archives"); w43.UseUnderline = true; w40.Add (w43); w39.Add (w40); this.reloadArchivesBtn.Add (w39); this.hbox9.Add (this.reloadArchivesBtn); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.reloadArchivesBtn])); w47.Position = 0; // Container child hbox9.Gtk.Box+BoxChild this.restoreOtherSaveBtn = new global::Gtk.Button (); this.restoreOtherSaveBtn.CanFocus = true; this.restoreOtherSaveBtn.Name = "restoreOtherSaveBtn"; this.restoreOtherSaveBtn.UseUnderline = true; // Container child restoreOtherSaveBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w48 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w49 = new global::Gtk.HBox (); w49.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w50 = new global::Gtk.Image (); w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); w49.Add (w50); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w52 = new global::Gtk.Label (); w52.LabelProp = global::Mono.Unix.Catalog.GetString ("Restore Other Save(s)"); w52.UseUnderline = true; w49.Add (w52); w48.Add (w49); this.restoreOtherSaveBtn.Add (w48); this.hbox9.Add (this.restoreOtherSaveBtn); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.restoreOtherSaveBtn])); w56.Position = 1; this.vbox6.Add (this.hbox9); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox9])); w57.Position = 1; w57.Expand = false; w57.Fill = false; this.alignment3.Add (this.vbox6); this.notebook1.Add (this.alignment3); global::Gtk.Notebook.NotebookChild w59 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.alignment3])); w59.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Restore"); this.notebook1.SetTabLabel (this.alignment3, this.label3); this.label3.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment1 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment1.Name = "alignment1"; this.alignment1.LeftPadding = ((uint)(3)); this.alignment1.TopPadding = ((uint)(3)); this.alignment1.RightPadding = ((uint)(3)); this.alignment1.BottomPadding = ((uint)(3)); // Container child alignment1.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.ignoreDatesCheck = new global::Gtk.CheckButton (); this.ignoreDatesCheck.CanFocus = true; this.ignoreDatesCheck.Name = "ignoreDatesCheck"; this.ignoreDatesCheck.Label = global::Mono.Unix.Catalog.GetString ("Ignore Dates During Backup"); this.ignoreDatesCheck.DrawIndicator = true; this.ignoreDatesCheck.UseUnderline = true; this.hbox1.Add (this.ignoreDatesCheck); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ignoreDatesCheck])); w60.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.startMonitorCheck = new global::Gtk.CheckButton (); this.startMonitorCheck.CanFocus = true; this.startMonitorCheck.Name = "startMonitorCheck"; this.startMonitorCheck.Label = global::Mono.Unix.Catalog.GetString ("Start Monitor On Login"); this.startMonitorCheck.DrawIndicator = true; this.startMonitorCheck.UseUnderline = true; this.hbox1.Add (this.startMonitorCheck); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.startMonitorCheck])); w61.Position = 1; this.vbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w62.Position = 0; w62.Expand = false; w62.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.autoUpdateCheck = new global::Gtk.CheckButton (); this.autoUpdateCheck.CanFocus = true; this.autoUpdateCheck.Name = "autoUpdateCheck"; this.autoUpdateCheck.Label = global::Mono.Unix.Catalog.GetString ("Auto-Check For Updates"); this.autoUpdateCheck.DrawIndicator = true; this.autoUpdateCheck.UseUnderline = true; this.hbox3.Add (this.autoUpdateCheck); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.autoUpdateCheck])); w63.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.checkUpdatesBtn = new global::Gtk.Button (); this.checkUpdatesBtn.CanFocus = true; this.checkUpdatesBtn.Name = "checkUpdatesBtn"; this.checkUpdatesBtn.UseUnderline = true; // Container child checkUpdatesBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w64 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w65 = new global::Gtk.HBox (); w65.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w66 = new global::Gtk.Image (); w66.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-goto-top", global::Gtk.IconSize.Menu); w65.Add (w66); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w68 = new global::Gtk.Label (); w68.LabelProp = global::Mono.Unix.Catalog.GetString ("Check For Updates"); w68.UseUnderline = true; w65.Add (w68); w64.Add (w65); this.checkUpdatesBtn.Add (w64); this.hbox3.Add (this.checkUpdatesBtn); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.checkUpdatesBtn])); w72.Position = 1; this.vbox3.Add (this.hbox3); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w73.Position = 1; w73.Expand = false; w73.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.frame5 = new global::Gtk.Frame (); this.frame5.Name = "frame5"; // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment5 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(3)); this.GtkAlignment5.RightPadding = ((uint)(3)); this.GtkAlignment5.BottomPadding = ((uint)(3)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.backupPathEntry = new global::Gtk.Entry (); this.backupPathEntry.Sensitive = false; this.backupPathEntry.CanFocus = true; this.backupPathEntry.Name = "backupPathEntry"; this.backupPathEntry.IsEditable = true; this.backupPathEntry.InvisibleChar = '●'; this.hbox4.Add (this.backupPathEntry); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.backupPathEntry])); w74.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.changeBackupPathBtn = new global::Gtk.Button (); this.changeBackupPathBtn.CanFocus = true; this.changeBackupPathBtn.Name = "changeBackupPathBtn"; this.changeBackupPathBtn.UseUnderline = true; // Container child changeBackupPathBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w75 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w76 = new global::Gtk.HBox (); w76.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w77 = new global::Gtk.Image (); w77.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-directory", global::Gtk.IconSize.Menu); w76.Add (w77); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w79 = new global::Gtk.Label (); w79.LabelProp = global::Mono.Unix.Catalog.GetString ("Change"); w79.UseUnderline = true; w76.Add (w79); w75.Add (w76); this.changeBackupPathBtn.Add (w75); this.hbox4.Add (this.changeBackupPathBtn); global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.changeBackupPathBtn])); w83.Position = 1; w83.Expand = false; w83.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.openBackupPathBtn = new global::Gtk.Button (); this.openBackupPathBtn.CanFocus = true; this.openBackupPathBtn.Name = "openBackupPathBtn"; this.openBackupPathBtn.UseUnderline = true; // Container child openBackupPathBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w84 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w85 = new global::Gtk.HBox (); w85.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w86 = new global::Gtk.Image (); w86.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); w85.Add (w86); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w88 = new global::Gtk.Label (); w88.LabelProp = global::Mono.Unix.Catalog.GetString ("Open"); w88.UseUnderline = true; w85.Add (w88); w84.Add (w85); this.openBackupPathBtn.Add (w84); this.hbox4.Add (this.openBackupPathBtn); global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.openBackupPathBtn])); w92.Position = 2; w92.Expand = false; w92.Fill = false; this.GtkAlignment5.Add (this.hbox4); this.frame5.Add (this.GtkAlignment5); this.GtkLabel12 = new global::Gtk.Label (); this.GtkLabel12.Name = "GtkLabel12"; this.GtkLabel12.LabelProp = global::Mono.Unix.Catalog.GetString ("Backup Path"); this.GtkLabel12.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel12; this.vbox3.Add (this.frame5); global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.frame5])); w95.Position = 2; w95.Expand = false; w95.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.frame6 = new global::Gtk.Frame (); this.frame6.Name = "frame6"; // Container child frame6.Gtk.Container+ContainerChild this.GtkAlignment8 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(3)); this.GtkAlignment8.RightPadding = ((uint)(3)); this.GtkAlignment8.BottomPadding = ((uint)(3)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.steamPathEntry = new global::Gtk.Entry (); this.steamPathEntry.Sensitive = false; this.steamPathEntry.CanFocus = true; this.steamPathEntry.Name = "steamPathEntry"; this.steamPathEntry.IsEditable = true; this.steamPathEntry.InvisibleChar = '●'; this.hbox5.Add (this.steamPathEntry); global::Gtk.Box.BoxChild w96 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.steamPathEntry])); w96.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.changeSteamPathBtn = new global::Gtk.Button (); this.changeSteamPathBtn.CanFocus = true; this.changeSteamPathBtn.Name = "changeSteamPathBtn"; this.changeSteamPathBtn.UseUnderline = true; // Container child changeSteamPathBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w97 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w98 = new global::Gtk.HBox (); w98.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w99 = new global::Gtk.Image (); w99.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-directory", global::Gtk.IconSize.Menu); w98.Add (w99); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w101 = new global::Gtk.Label (); w101.LabelProp = global::Mono.Unix.Catalog.GetString ("Change"); w101.UseUnderline = true; w98.Add (w101); w97.Add (w98); this.changeSteamPathBtn.Add (w97); this.hbox5.Add (this.changeSteamPathBtn); global::Gtk.Box.BoxChild w105 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.changeSteamPathBtn])); w105.Position = 1; w105.Expand = false; w105.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.resetSteamPathBtn = new global::Gtk.Button (); this.resetSteamPathBtn.CanFocus = true; this.resetSteamPathBtn.Name = "resetSteamPathBtn"; this.resetSteamPathBtn.UseUnderline = true; // Container child resetSteamPathBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w106 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w107 = new global::Gtk.HBox (); w107.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w108 = new global::Gtk.Image (); w108.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); w107.Add (w108); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w110 = new global::Gtk.Label (); w110.LabelProp = global::Mono.Unix.Catalog.GetString ("Reset"); w110.UseUnderline = true; w107.Add (w110); w106.Add (w107); this.resetSteamPathBtn.Add (w106); this.hbox5.Add (this.resetSteamPathBtn); global::Gtk.Box.BoxChild w114 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.resetSteamPathBtn])); w114.Position = 2; w114.Expand = false; w114.Fill = false; this.GtkAlignment8.Add (this.hbox5); this.frame6.Add (this.GtkAlignment8); this.GtkLabel15 = new global::Gtk.Label (); this.GtkLabel15.Name = "GtkLabel15"; this.GtkLabel15.LabelProp = global::Mono.Unix.Catalog.GetString ("Steam Path"); this.GtkLabel15.UseMarkup = true; this.frame6.LabelWidget = this.GtkLabel15; this.vbox3.Add (this.frame6); global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.frame6])); w117.Position = 3; w117.Expand = false; w117.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Homogeneous = true; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.frame8 = new global::Gtk.Frame (); this.frame8.Name = "frame8"; // Container child frame8.Gtk.Container+ContainerChild this.GtkAlignment18 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment18.Name = "GtkAlignment18"; this.GtkAlignment18.LeftPadding = ((uint)(3)); this.GtkAlignment18.RightPadding = ((uint)(3)); this.GtkAlignment18.BottomPadding = ((uint)(3)); // Container child GtkAlignment18.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.versioningToggle = new global::Gtk.ToggleButton (); this.versioningToggle.CanFocus = true; this.versioningToggle.Name = "versioningToggle"; this.versioningToggle.UseUnderline = true; // Container child versioningToggle.Gtk.Container+ContainerChild global::Gtk.Alignment w118 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w119 = new global::Gtk.HBox (); w119.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w120 = new global::Gtk.Image (); w120.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-copy", global::Gtk.IconSize.Menu); w119.Add (w120); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w122 = new global::Gtk.Label (); w122.LabelProp = global::Mono.Unix.Catalog.GetString ("Make Extra Backups"); w122.UseUnderline = true; w119.Add (w122); w118.Add (w119); this.versioningToggle.Add (w118); this.vbox4.Add (this.versioningToggle); global::Gtk.Box.BoxChild w126 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.versioningToggle])); w126.Position = 0; w126.Expand = false; w126.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.frame9 = new global::Gtk.Frame (); this.frame9.Name = "frame9"; // Container child frame9.Gtk.Container+ContainerChild this.GtkAlignment19 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment19.Name = "GtkAlignment19"; this.GtkAlignment19.LeftPadding = ((uint)(3)); this.GtkAlignment19.RightPadding = ((uint)(3)); this.GtkAlignment19.BottomPadding = ((uint)(3)); // Container child GtkAlignment19.Gtk.Container+ContainerChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Homogeneous = true; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.versioningFrequencySpin = new global::Gtk.SpinButton (1, 100, 1); this.versioningFrequencySpin.CanFocus = true; this.versioningFrequencySpin.Name = "versioningFrequencySpin"; this.versioningFrequencySpin.Adjustment.PageIncrement = 10; this.versioningFrequencySpin.ClimbRate = 1; this.versioningFrequencySpin.Numeric = true; this.versioningFrequencySpin.Value = 1; this.hbox8.Add (this.versioningFrequencySpin); global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.versioningFrequencySpin])); w127.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.versioningFrequencyUnitCombo = global::Gtk.ComboBox.NewText (); this.versioningFrequencyUnitCombo.Name = "versioningFrequencyUnitCombo"; this.hbox8.Add (this.versioningFrequencyUnitCombo); global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.versioningFrequencyUnitCombo])); w128.Position = 1; this.GtkAlignment19.Add (this.hbox8); this.frame9.Add (this.GtkAlignment19); this.GtkLabel17 = new global::Gtk.Label (); this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = global::Mono.Unix.Catalog.GetString ("At Least This Long Between Copies"); this.GtkLabel17.UseMarkup = true; this.frame9.LabelWidget = this.GtkLabel17; this.vbox4.Add (this.frame9); global::Gtk.Box.BoxChild w131 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frame9])); w131.Position = 1; w131.Expand = false; w131.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.frame10 = new global::Gtk.Frame (); this.frame10.Name = "frame10"; // Container child frame10.Gtk.Container+ContainerChild this.GtkAlignment20 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment20.Name = "GtkAlignment20"; this.GtkAlignment20.LeftPadding = ((uint)(3)); this.GtkAlignment20.RightPadding = ((uint)(3)); this.GtkAlignment20.BottomPadding = ((uint)(3)); // Container child GtkAlignment20.Gtk.Container+ContainerChild this.versioninMaxCopiesSpin = new global::Gtk.SpinButton (0, 100, 1); this.versioninMaxCopiesSpin.CanFocus = true; this.versioninMaxCopiesSpin.Name = "versioninMaxCopiesSpin"; this.versioninMaxCopiesSpin.Adjustment.PageIncrement = 10; this.versioninMaxCopiesSpin.ClimbRate = 1; this.versioninMaxCopiesSpin.Numeric = true; this.GtkAlignment20.Add (this.versioninMaxCopiesSpin); this.frame10.Add (this.GtkAlignment20); this.GtkLabel18 = new global::Gtk.Label (); this.GtkLabel18.Name = "GtkLabel18"; this.GtkLabel18.LabelProp = global::Mono.Unix.Catalog.GetString ("At Most This Many Copies"); this.GtkLabel18.UseMarkup = true; this.frame10.LabelWidget = this.GtkLabel18; this.vbox4.Add (this.frame10); global::Gtk.Box.BoxChild w134 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frame10])); w134.Position = 2; w134.Expand = false; w134.Fill = false; this.GtkAlignment18.Add (this.vbox4); this.frame8.Add (this.GtkAlignment18); this.GtkLabel19 = new global::Gtk.Label (); this.GtkLabel19.Name = "GtkLabel19"; this.GtkLabel19.UseMarkup = true; this.frame8.LabelWidget = this.GtkLabel19; this.hbox2.Add (this.frame8); global::Gtk.Box.BoxChild w137 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.frame8])); w137.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.frame7 = new global::Gtk.Frame (); this.frame7.Name = "frame7"; // Container child frame7.Gtk.Container+ContainerChild this.GtkAlignment21 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment21.Name = "GtkAlignment21"; this.GtkAlignment21.LeftPadding = ((uint)(3)); this.GtkAlignment21.RightPadding = ((uint)(3)); this.GtkAlignment21.BottomPadding = ((uint)(3)); // Container child GtkAlignment21.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.altInstallPathNode = new global::Gtk.NodeView (); this.altInstallPathNode.CanFocus = true; this.altInstallPathNode.Name = "altInstallPathNode"; this.GtkScrolledWindow1.Add (this.altInstallPathNode); this.vbox5.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w139 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.GtkScrolledWindow1])); w139.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Homogeneous = true; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.removeAltPathBtn = new global::Gtk.Button (); this.removeAltPathBtn.Sensitive = false; this.removeAltPathBtn.CanFocus = true; this.removeAltPathBtn.Name = "removeAltPathBtn"; this.removeAltPathBtn.UseUnderline = true; // Container child removeAltPathBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w140 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w141 = new global::Gtk.HBox (); w141.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w142 = new global::Gtk.Image (); w142.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); w141.Add (w142); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w144 = new global::Gtk.Label (); w144.LabelProp = global::Mono.Unix.Catalog.GetString ("Remove Nothing"); w144.UseUnderline = true; w141.Add (w144); w140.Add (w141); this.removeAltPathBtn.Add (w140); this.hbox7.Add (this.removeAltPathBtn); global::Gtk.Box.BoxChild w148 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.removeAltPathBtn])); w148.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.addAltPathBtn = new global::Gtk.Button (); this.addAltPathBtn.CanFocus = true; this.addAltPathBtn.Name = "addAltPathBtn"; this.addAltPathBtn.UseUnderline = true; // Container child addAltPathBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w149 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w150 = new global::Gtk.HBox (); w150.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w151 = new global::Gtk.Image (); w151.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); w150.Add (w151); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w153 = new global::Gtk.Label (); w153.LabelProp = global::Mono.Unix.Catalog.GetString ("Add New Path!"); w153.UseUnderline = true; w150.Add (w153); w149.Add (w150); this.addAltPathBtn.Add (w149); this.hbox7.Add (this.addAltPathBtn); global::Gtk.Box.BoxChild w157 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.addAltPathBtn])); w157.Position = 1; this.vbox5.Add (this.hbox7); global::Gtk.Box.BoxChild w158 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox7])); w158.Position = 1; w158.Expand = false; w158.Fill = false; this.GtkAlignment21.Add (this.vbox5); this.frame7.Add (this.GtkAlignment21); this.GtkLabel32 = new global::Gtk.Label (); this.GtkLabel32.Name = "GtkLabel32"; this.GtkLabel32.LabelProp = global::Mono.Unix.Catalog.GetString ("Alternate Install Paths"); this.GtkLabel32.UseMarkup = true; this.frame7.LabelWidget = this.GtkLabel32; this.hbox2.Add (this.frame7); global::Gtk.Box.BoxChild w161 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.frame7])); w161.Position = 1; this.vbox3.Add (this.hbox2); global::Gtk.Box.BoxChild w162 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w162.Position = 4; this.alignment1.Add (this.vbox3); this.notebook1.Add (this.alignment1); global::Gtk.Notebook.NotebookChild w164 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.alignment1])); w164.Position = 2; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Settings"); this.notebook1.SetTabLabel (this.alignment1, this.label2); this.label2.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment4 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment4.Name = "alignment4"; this.alignment4.LeftPadding = ((uint)(3)); this.alignment4.TopPadding = ((uint)(3)); this.alignment4.RightPadding = ((uint)(3)); this.alignment4.BottomPadding = ((uint)(3)); // Container child alignment4.Gtk.Container+ContainerChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.frame12 = new global::Gtk.Frame (); this.frame12.Name = "frame12"; // Container child frame12.Gtk.Container+ContainerChild this.GtkAlignment12 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment12.Name = "GtkAlignment12"; this.GtkAlignment12.LeftPadding = ((uint)(3)); this.GtkAlignment12.RightPadding = ((uint)(3)); this.GtkAlignment12.BottomPadding = ((uint)(3)); // Container child GtkAlignment12.Gtk.Container+ContainerChild this.taskFrequencyCombo = global::Gtk.ComboBox.NewText (); this.taskFrequencyCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Daily\r")); this.taskFrequencyCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Weekly\r")); this.taskFrequencyCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Monthly")); this.taskFrequencyCombo.Name = "taskFrequencyCombo"; this.taskFrequencyCombo.Active = 0; this.GtkAlignment12.Add (this.taskFrequencyCombo); this.frame12.Add (this.GtkAlignment12); this.GtkLabel22 = new global::Gtk.Label (); this.GtkLabel22.Name = "GtkLabel22"; this.GtkLabel22.LabelProp = global::Mono.Unix.Catalog.GetString ("Frequency"); this.GtkLabel22.UseMarkup = true; this.frame12.LabelWidget = this.GtkLabel22; this.vbox7.Add (this.frame12); global::Gtk.Box.BoxChild w167 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame12])); w167.Position = 0; w167.Expand = false; w167.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.frame13 = new global::Gtk.Frame (); this.frame13.Name = "frame13"; // Container child frame13.Gtk.Container+ContainerChild this.GtkAlignment13 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment13.Name = "GtkAlignment13"; this.GtkAlignment13.LeftPadding = ((uint)(3)); this.GtkAlignment13.RightPadding = ((uint)(3)); this.GtkAlignment13.BottomPadding = ((uint)(3)); // Container child GtkAlignment13.Gtk.Container+ContainerChild this.taskTimeOfDaySpin = new global::Gtk.SpinButton (0, 100, 1); this.taskTimeOfDaySpin.CanFocus = true; this.taskTimeOfDaySpin.Name = "taskTimeOfDaySpin"; this.taskTimeOfDaySpin.Adjustment.PageIncrement = 10; this.taskTimeOfDaySpin.ClimbRate = 1; this.taskTimeOfDaySpin.Numeric = true; this.GtkAlignment13.Add (this.taskTimeOfDaySpin); this.frame13.Add (this.GtkAlignment13); this.GtkLabel26 = new global::Gtk.Label (); this.GtkLabel26.Name = "GtkLabel26"; this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString ("Time of Day"); this.GtkLabel26.UseMarkup = true; this.frame13.LabelWidget = this.GtkLabel26; this.vbox7.Add (this.frame13); global::Gtk.Box.BoxChild w170 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame13])); w170.Position = 1; w170.Expand = false; w170.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.frame14 = new global::Gtk.Frame (); this.frame14.Name = "frame14"; // Container child frame14.Gtk.Container+ContainerChild this.GtkAlignment14 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment14.Name = "GtkAlignment14"; this.GtkAlignment14.LeftPadding = ((uint)(3)); this.GtkAlignment14.RightPadding = ((uint)(3)); this.GtkAlignment14.BottomPadding = ((uint)(3)); // Container child GtkAlignment14.Gtk.Container+ContainerChild this.taskDayOfWeekCombo = global::Gtk.ComboBox.NewText (); this.taskDayOfWeekCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Sunday\r")); this.taskDayOfWeekCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Monday\r")); this.taskDayOfWeekCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Tuesday\r")); this.taskDayOfWeekCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Wednesday\r")); this.taskDayOfWeekCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Thursday\r")); this.taskDayOfWeekCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Friday\r")); this.taskDayOfWeekCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Saturday")); this.taskDayOfWeekCombo.Name = "taskDayOfWeekCombo"; this.taskDayOfWeekCombo.Active = 0; this.GtkAlignment14.Add (this.taskDayOfWeekCombo); this.frame14.Add (this.GtkAlignment14); this.GtkLabel27 = new global::Gtk.Label (); this.GtkLabel27.Name = "GtkLabel27"; this.GtkLabel27.LabelProp = global::Mono.Unix.Catalog.GetString ("Day of the Week"); this.GtkLabel27.UseMarkup = true; this.frame14.LabelWidget = this.GtkLabel27; this.vbox7.Add (this.frame14); global::Gtk.Box.BoxChild w173 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame14])); w173.Position = 2; w173.Expand = false; w173.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.frame16 = new global::Gtk.Frame (); this.frame16.Name = "frame16"; // Container child frame16.Gtk.Container+ContainerChild this.GtkAlignment15 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment15.Name = "GtkAlignment15"; this.GtkAlignment15.LeftPadding = ((uint)(3)); this.GtkAlignment15.RightPadding = ((uint)(3)); this.GtkAlignment15.BottomPadding = ((uint)(3)); // Container child GtkAlignment15.Gtk.Container+ContainerChild this.dayOfTheMonthSpin = new global::Gtk.SpinButton (1, 31, 1); this.dayOfTheMonthSpin.CanFocus = true; this.dayOfTheMonthSpin.Name = "dayOfTheMonthSpin"; this.dayOfTheMonthSpin.Adjustment.PageIncrement = 10; this.dayOfTheMonthSpin.ClimbRate = 1; this.dayOfTheMonthSpin.Numeric = true; this.dayOfTheMonthSpin.Value = 1; this.GtkAlignment15.Add (this.dayOfTheMonthSpin); this.frame16.Add (this.GtkAlignment15); this.GtkLabel31 = new global::Gtk.Label (); this.GtkLabel31.Name = "GtkLabel31"; this.GtkLabel31.LabelProp = global::Mono.Unix.Catalog.GetString ("Day of the Month"); this.GtkLabel31.UseMarkup = true; this.frame16.LabelWidget = this.GtkLabel31; this.vbox7.Add (this.frame16); global::Gtk.Box.BoxChild w176 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame16])); w176.Position = 3; w176.Expand = false; w176.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.frame15 = new global::Gtk.Frame (); this.frame15.Name = "frame15"; // Container child frame15.Gtk.Container+ContainerChild this.GtkAlignment16 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment16.Name = "GtkAlignment16"; this.GtkAlignment16.LeftPadding = ((uint)(3)); this.GtkAlignment16.RightPadding = ((uint)(3)); this.GtkAlignment16.BottomPadding = ((uint)(3)); // Container child GtkAlignment16.Gtk.Container+ContainerChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.taskUserEntry = new global::Gtk.Entry (); this.taskUserEntry.Sensitive = false; this.taskUserEntry.CanFocus = true; this.taskUserEntry.Name = "taskUserEntry"; this.taskUserEntry.IsEditable = true; this.taskUserEntry.InvisibleChar = '●'; this.hbox11.Add (this.taskUserEntry); global::Gtk.Box.BoxChild w177 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.taskUserEntry])); w177.Position = 0; // Container child hbox11.Gtk.Box+BoxChild this.taskPasswordEntry = new global::Gtk.Entry (); this.taskPasswordEntry.CanFocus = true; this.taskPasswordEntry.Name = "taskPasswordEntry"; this.taskPasswordEntry.IsEditable = true; this.taskPasswordEntry.Visibility = false; this.taskPasswordEntry.InvisibleChar = '●'; this.hbox11.Add (this.taskPasswordEntry); global::Gtk.Box.BoxChild w178 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.taskPasswordEntry])); w178.Position = 1; this.GtkAlignment16.Add (this.hbox11); this.frame15.Add (this.GtkAlignment16); this.GtkLabel28 = new global::Gtk.Label (); this.GtkLabel28.Name = "GtkLabel28"; this.GtkLabel28.LabelProp = global::Mono.Unix.Catalog.GetString ("User And Password To Run Task As"); this.GtkLabel28.UseMarkup = true; this.frame15.LabelWidget = this.GtkLabel28; this.vbox7.Add (this.frame15); global::Gtk.Box.BoxChild w181 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame15])); w181.Position = 4; w181.Expand = false; w181.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Homogeneous = true; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.deleteTaskBtn = new global::Gtk.Button (); this.deleteTaskBtn.CanFocus = true; this.deleteTaskBtn.Name = "deleteTaskBtn"; this.deleteTaskBtn.UseUnderline = true; // Container child deleteTaskBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w182 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w183 = new global::Gtk.HBox (); w183.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w184 = new global::Gtk.Image (); w184.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); w183.Add (w184); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w186 = new global::Gtk.Label (); w186.LabelProp = global::Mono.Unix.Catalog.GetString ("Delete Task"); w186.UseUnderline = true; w183.Add (w186); w182.Add (w183); this.deleteTaskBtn.Add (w182); this.hbox10.Add (this.deleteTaskBtn); global::Gtk.Box.BoxChild w190 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.deleteTaskBtn])); w190.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.applyTaskBtn = new global::Gtk.Button (); this.applyTaskBtn.CanFocus = true; this.applyTaskBtn.Name = "applyTaskBtn"; this.applyTaskBtn.UseUnderline = true; // Container child applyTaskBtn.Gtk.Container+ContainerChild global::Gtk.Alignment w191 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w192 = new global::Gtk.HBox (); w192.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w193 = new global::Gtk.Image (); w193.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w192.Add (w193); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w195 = new global::Gtk.Label (); w195.LabelProp = global::Mono.Unix.Catalog.GetString ("Apply"); w195.UseUnderline = true; w192.Add (w195); w191.Add (w192); this.applyTaskBtn.Add (w191); this.hbox10.Add (this.applyTaskBtn); global::Gtk.Box.BoxChild w199 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.applyTaskBtn])); w199.Position = 1; this.vbox7.Add (this.hbox10); global::Gtk.Box.BoxChild w200 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox10])); w200.Position = 5; w200.Expand = false; w200.Fill = false; this.alignment4.Add (this.vbox7); this.notebook1.Add (this.alignment4); global::Gtk.Notebook.NotebookChild w202 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.alignment4])); w202.Position = 3; // Notebook tab this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Schedule"); this.notebook1.SetTabLabel (this.alignment4, this.label4); this.label4.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment5 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment5.Name = "alignment5"; this.alignment5.LeftPadding = ((uint)(3)); this.alignment5.TopPadding = ((uint)(3)); this.alignment5.RightPadding = ((uint)(3)); this.alignment5.BottomPadding = ((uint)(3)); // Container child alignment5.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox (); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.image31 = new global::Gtk.Image (); this.image31.Name = "image31"; this.vbox8.Add (this.image31); global::Gtk.Box.BoxChild w203 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.image31])); w203.Position = 0; w203.Expand = false; w203.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>MASGAU Automatic Save Game Archive Utility v.0.9</b>"); this.label6.UseMarkup = true; this.vbox8.Add (this.label6); global::Gtk.Box.BoxChild w204 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.label6])); w204.Position = 1; w204.Expand = false; w204.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.frame17 = new global::Gtk.Frame (); this.frame17.Name = "frame17"; // Container child frame17.Gtk.Container+ContainerChild this.GtkAlignment17 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment17.Name = "GtkAlignment17"; this.GtkAlignment17.LeftPadding = ((uint)(3)); this.GtkAlignment17.RightPadding = ((uint)(3)); this.GtkAlignment17.BottomPadding = ((uint)(3)); // Container child GtkAlignment17.Gtk.Container+ContainerChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView (); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow3.Add (this.treeview2); this.GtkAlignment17.Add (this.GtkScrolledWindow3); this.frame17.Add (this.GtkAlignment17); this.GtkLabel33 = new global::Gtk.Label (); this.GtkLabel33.Name = "GtkLabel33"; this.GtkLabel33.LabelProp = global::Mono.Unix.Catalog.GetString ("Contributors"); this.GtkLabel33.UseMarkup = true; this.frame17.LabelWidget = this.GtkLabel33; this.vbox8.Add (this.frame17); global::Gtk.Box.BoxChild w208 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.frame17])); w208.Position = 2; // Container child vbox8.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("<u>http://masgau.sourceforge.net</u>"); this.label7.UseMarkup = true; this.vbox8.Add (this.label7); global::Gtk.Box.BoxChild w209 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.label7])); w209.Position = 3; w209.Expand = false; w209.Fill = false; this.alignment5.Add (this.vbox8); this.notebook1.Add (this.alignment5); global::Gtk.Notebook.NotebookChild w211 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.alignment5])); w211.Position = 4; // Notebook tab this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("About"); this.notebook1.SetTabLabel (this.alignment5, this.label5); this.label5.ShowAll (); this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w212 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebook1])); w212.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.statusbar3 = new global::Gtk.Statusbar (); this.statusbar3.Name = "statusbar3"; this.statusbar3.Spacing = 6; this.statusbar3.HasResizeGrip = false; // Container child statusbar3.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.Name = "progressbar1"; this.statusbar3.Add (this.progressbar1); global::Gtk.Box.BoxChild w213 = ((global::Gtk.Box.BoxChild)(this.statusbar3[this.progressbar1])); w213.Position = 1; this.vbox1.Add (this.statusbar3); global::Gtk.Box.BoxChild w214 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar3])); w214.Position = 1; w214.Expand = false; w214.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 602; this.DefaultHeight = 452; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LazerTagHostUI.PlayerSelectionScreen global::Stetic.BinContainer.Attach (this); this.Name = "LazerTagHostUI.PlayerSelectionScreen"; // Container child LazerTagHostUI.PlayerSelectionScreen.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 500; this.hpaned1.BorderWidth = ((uint)(6)); // Container child hpaned1.Gtk.Paned+PanedChild this.vboxPanel = new global::Gtk.VBox (); this.vboxPanel.Name = "vboxPanel"; this.vboxPanel.Spacing = 6; // Container child vboxPanel.Gtk.Box+BoxChild this.labelTitle = new global::Gtk.Label (); this.labelTitle.Name = "labelTitle"; this.labelTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Step Description Here"); this.vboxPanel.Add (this.labelTitle); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vboxPanel[this.labelTitle])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vboxPanel.Gtk.Box+BoxChild this.playerselector = new global::LazerTagHostUI.PlayerSelector (); this.playerselector.Events = ((global::Gdk.EventMask)(256)); this.playerselector.Name = "playerselector"; this.vboxPanel.Add (this.playerselector); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxPanel[this.playerselector])); w2.Position = 1; this.hpaned1.Add (this.vboxPanel); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.vboxPanel])); w3.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vboxPlayerControls = new global::Gtk.VBox (); this.vboxPlayerControls.WidthRequest = 150; this.vboxPlayerControls.Name = "vboxPlayerControls"; this.vboxPlayerControls.Spacing = 6; // Container child vboxPlayerControls.Gtk.Box+BoxChild this.buttonDropPlayer = new global::Gtk.Button (); this.buttonDropPlayer.CanFocus = true; this.buttonDropPlayer.Name = "buttonDropPlayer"; this.buttonDropPlayer.UseUnderline = true; // Container child buttonDropPlayer.Gtk.Container+ContainerChild global::Gtk.Alignment w4 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w5 = new global::Gtk.HBox (); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w6 = new global::Gtk.Image (); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); w5.Add (w6); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w8 = new global::Gtk.Label (); w8.LabelProp = global::Mono.Unix.Catalog.GetString ("Drop Player"); w8.UseUnderline = true; w5.Add (w8); w4.Add (w5); this.buttonDropPlayer.Add (w4); this.vboxPlayerControls.Add (this.buttonDropPlayer); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vboxPlayerControls[this.buttonDropPlayer])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vboxPlayerControls.Gtk.Box+BoxChild this.comboboxentryRenamePlayer = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentryRenamePlayer.AppendText (global::Mono.Unix.Catalog.GetString ("Duckbob")); this.comboboxentryRenamePlayer.AppendText (global::Mono.Unix.Catalog.GetString ("Raptor007")); this.comboboxentryRenamePlayer.AppendText (global::Mono.Unix.Catalog.GetString ("ChubChub")); this.comboboxentryRenamePlayer.AppendText (global::Mono.Unix.Catalog.GetString ("Nojoe")); this.comboboxentryRenamePlayer.AppendText (global::Mono.Unix.Catalog.GetString ("Nein")); this.comboboxentryRenamePlayer.AppendText (global::Mono.Unix.Catalog.GetString ("Sparhawk2k")); this.comboboxentryRenamePlayer.AppendText (global::Mono.Unix.Catalog.GetString ("Blue")); this.comboboxentryRenamePlayer.AppendText (global::Mono.Unix.Catalog.GetString ("Gold")); this.comboboxentryRenamePlayer.Name = "comboboxentryRenamePlayer"; this.vboxPlayerControls.Add (this.comboboxentryRenamePlayer); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxPlayerControls[this.comboboxentryRenamePlayer])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vboxPlayerControls.Gtk.Box+BoxChild this.buttonLateJoin = new global::Gtk.Button (); this.buttonLateJoin.CanFocus = true; this.buttonLateJoin.Name = "buttonLateJoin"; this.buttonLateJoin.UseUnderline = true; // Container child buttonLateJoin.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-add", 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 ("Late Join"); w18.UseUnderline = true; w15.Add (w18); w14.Add (w15); this.buttonLateJoin.Add (w14); this.vboxPlayerControls.Add (this.buttonLateJoin); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxPlayerControls[this.buttonLateJoin])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vboxPlayerControls.Gtk.Box+BoxChild this.togglebuttonRelativeScores = new global::Gtk.ToggleButton (); this.togglebuttonRelativeScores.CanFocus = true; this.togglebuttonRelativeScores.Name = "togglebuttonRelativeScores"; this.togglebuttonRelativeScores.UseUnderline = true; // Container child togglebuttonRelativeScores.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, "stock_calendar-view-month", 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 ("Show Relative Scores"); w27.UseUnderline = true; w24.Add (w27); w23.Add (w24); this.togglebuttonRelativeScores.Add (w23); this.vboxPlayerControls.Add (this.togglebuttonRelativeScores); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vboxPlayerControls[this.togglebuttonRelativeScores])); w31.Position = 3; w31.Expand = false; w31.Fill = false; // Container child vboxPlayerControls.Gtk.Box+BoxChild this.hboxBaseControls = new global::Gtk.HBox (); this.hboxBaseControls.Name = "hboxBaseControls"; this.hboxBaseControls.Spacing = 6; // Container child hboxBaseControls.Gtk.Box+BoxChild this.buttonNext = new global::Gtk.Button (); this.buttonNext.CanFocus = true; this.buttonNext.Name = "buttonNext"; this.buttonNext.UseUnderline = true; // Container child buttonNext.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-apply", 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 ("_Next"); w36.UseUnderline = true; w33.Add (w36); w32.Add (w33); this.buttonNext.Add (w32); this.hboxBaseControls.Add (this.buttonNext); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hboxBaseControls[this.buttonNext])); w40.PackType = ((global::Gtk.PackType)(1)); w40.Position = 2; w40.Expand = false; w40.Fill = false; // Container child hboxBaseControls.Gtk.Box+BoxChild this.buttonPause = new global::Gtk.Button (); this.buttonPause.CanFocus = true; this.buttonPause.Name = "buttonPause"; this.buttonPause.UseUnderline = true; // Container child buttonPause.Gtk.Container+ContainerChild global::Gtk.Alignment w41 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w42 = new global::Gtk.HBox (); w42.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w43 = new global::Gtk.Image (); w43.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_appointment-reminder", global::Gtk.IconSize.Menu); w42.Add (w43); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w45 = new global::Gtk.Label (); w45.LabelProp = global::Mono.Unix.Catalog.GetString ("_Pause"); w45.UseUnderline = true; w42.Add (w45); w41.Add (w42); this.buttonPause.Add (w41); this.hboxBaseControls.Add (this.buttonPause); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hboxBaseControls[this.buttonPause])); w49.PackType = ((global::Gtk.PackType)(1)); w49.Position = 3; w49.Expand = false; w49.Fill = false; // Container child hboxBaseControls.Gtk.Box+BoxChild this.buttonAbortHost = new global::Gtk.Button (); this.buttonAbortHost.CanFocus = true; this.buttonAbortHost.Name = "buttonAbortHost"; this.buttonAbortHost.UseUnderline = true; // Container child buttonAbortHost.Gtk.Container+ContainerChild global::Gtk.Alignment w50 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w51 = new global::Gtk.HBox (); w51.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w52 = new global::Gtk.Image (); w52.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); w51.Add (w52); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w54 = new global::Gtk.Label (); w54.LabelProp = global::Mono.Unix.Catalog.GetString ("_Abort Host"); w54.UseUnderline = true; w51.Add (w54); w50.Add (w51); this.buttonAbortHost.Add (w50); this.hboxBaseControls.Add (this.buttonAbortHost); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hboxBaseControls[this.buttonAbortHost])); w58.PackType = ((global::Gtk.PackType)(1)); w58.Position = 4; w58.Expand = false; w58.Fill = false; this.vboxPlayerControls.Add (this.hboxBaseControls); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vboxPlayerControls[this.hboxBaseControls])); w59.PackType = ((global::Gtk.PackType)(1)); w59.Position = 5; w59.Expand = false; w59.Fill = false; this.hpaned1.Add (this.vboxPlayerControls); global::Gtk.Paned.PanedChild w60 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.vboxPlayerControls])); w60.Resize = false; w60.Shrink = false; this.Add (this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.togglebuttonRelativeScores.Toggled += new global::System.EventHandler (this.RelativeScoresToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MagnumHouse.PhysicsAdjuster this.Name = "MagnumHouse.PhysicsAdjuster"; this.Title = global::Mono.Unix.Catalog.GetString ("PhysicsAdjuster"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MagnumHouse.PhysicsAdjuster.Gtk.Container+ContainerChild this.notebook = new global::Gtk.Notebook (); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 1; // Container child notebook.Gtk.Notebook+NotebookChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.statsArea = new global::Gtk.DrawingArea (); this.statsArea.Name = "statsArea"; this.vbox1.Add (this.statsArea); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statsArea])); w1.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("red = speed, blue = acceleration"); this.label16.Wrap = true; this.expander1.Add (this.label16); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("key"); this.GtkLabel1.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel1; this.vbox1.Add (this.expander1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.expander1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.notebook.Add (this.vbox1); // Notebook tab this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("stats"); this.notebook.SetTabLabel (this.vbox1, this.label5); this.label5.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.drawBBsToggleButton = new global::Gtk.ToggleButton (); this.drawBBsToggleButton.CanFocus = true; this.drawBBsToggleButton.Name = "drawBBsToggleButton"; this.drawBBsToggleButton.UseUnderline = true; this.drawBBsToggleButton.Label = global::Mono.Unix.Catalog.GetString ("draw bbs"); this.table1.Add (this.drawBBsToggleButton); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.drawBBsToggleButton])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.plusSizeButton = new global::Gtk.Button (); this.plusSizeButton.CanFocus = true; this.plusSizeButton.Name = "plusSizeButton"; this.plusSizeButton.UseUnderline = true; this.plusSizeButton.Label = global::Mono.Unix.Catalog.GetString ("+"); this.hbox1.Add (this.plusSizeButton); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.plusSizeButton])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.minusSizeButton = new global::Gtk.Button (); this.minusSizeButton.CanFocus = true; this.minusSizeButton.Name = "minusSizeButton"; this.minusSizeButton.UseUnderline = true; this.minusSizeButton.Label = global::Mono.Unix.Catalog.GetString ("-"); this.hbox1.Add (this.minusSizeButton); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.minusSizeButton])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table1.Add (this.hbox1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("draw bbs"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Size"); this.table1.Add (this.label15); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label15])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("restart"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.restartLevelButton = new global::Gtk.Button (); this.restartLevelButton.CanFocus = true; this.restartLevelButton.Name = "restartLevelButton"; this.restartLevelButton.UseUnderline = true; this.restartLevelButton.Label = global::Mono.Unix.Catalog.GetString ("restart"); this.table1.Add (this.restartLevelButton); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.restartLevelButton])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook.Add (this.table1); global::Gtk.Notebook.NotebookChild w13 = ((global::Gtk.Notebook.NotebookChild)(this.notebook[this.table1])); w13.Position = 1; // Notebook tab this.sizeLabel = new global::Gtk.Label (); this.sizeLabel.Name = "sizeLabel"; this.sizeLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("me gangster"); this.notebook.SetTabLabel (this.table1, this.sizeLabel); this.sizeLabel.ShowAll (); this.Add (this.notebook); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 467; this.DefaultHeight = 473; this.Show (); this.statsArea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.drawStatsArea); this.restartLevelButton.Activated += new global::System.EventHandler (this.restartButtonClicked); this.plusSizeButton.Clicked += new global::System.EventHandler (this.plusSizeButtonClicked); this.minusSizeButton.Clicked += new global::System.EventHandler (this.minusSizeButtonClicked); this.drawBBsToggleButton.Toggled += new global::System.EventHandler (this.drawBoundingBoxesToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Panel.NewProjectPanel global::Stetic.BinContainer.Attach(this); this.Name = "LongoMatch.Gui.Panel.NewProjectPanel"; // Container child LongoMatch.Gui.Panel.NewProjectPanel.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; // Container child vbox3.Gtk.Box+BoxChild this.headereventbox = new global::Gtk.EventBox(); this.headereventbox.Name = "headereventbox"; // Container child headereventbox.Gtk.Container+ContainerChild this.panelheader1 = new global::LongoMatch.Gui.Panel.PanelHeader(); this.panelheader1.Events = ((global::Gdk.EventMask)(256)); this.panelheader1.Name = "panelheader1"; this.headereventbox.Add(this.panelheader1); this.vbox3.Add(this.headereventbox); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.headereventbox])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; this.notebook1.ShowBorder = false; this.notebook1.Scrollable = true; // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment2.Name = "alignment2"; // Container child alignment2.Gtk.Container+ContainerChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Homogeneous = true; // Container child hbox11.Gtk.Box+BoxChild this.vbox12 = new global::Gtk.VBox(); this.vbox12.Name = "vbox12"; this.vbox12.Spacing = 6; // Container child vbox12.Gtk.Box+BoxChild this.alignment4 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment4.Name = "alignment4"; // Container child alignment4.Gtk.Container+ContainerChild this.filebutton = new global::Gtk.Button(); this.filebutton.WidthRequest = 100; this.filebutton.HeightRequest = 100; this.filebutton.CanFocus = true; this.filebutton.Name = "filebutton"; // Container child filebutton.Gtk.Container+ContainerChild this.fileimage = new global::Gtk.Image(); this.fileimage.Name = "fileimage"; this.filebutton.Add(this.fileimage); this.alignment4.Add(this.filebutton); this.vbox12.Add(this.alignment4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.alignment4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.WidthRequest = 180; this.label2.Name = "label2"; this.label2.LabelProp = global::VAS.Core.Catalog.GetString("Video file"); this.label2.Wrap = true; this.label2.Justify = ((global::Gtk.Justification)(2)); this.label2.WidthChars = 1; this.vbox12.Add(this.label2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.label2])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.hbox11.Add(this.vbox12); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.vbox12])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.vbox13 = new global::Gtk.VBox(); this.vbox13.Name = "vbox13"; this.vbox13.Spacing = 6; // Container child vbox13.Gtk.Box+BoxChild this.alignment3 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment3.Name = "alignment3"; // Container child alignment3.Gtk.Container+ContainerChild this.capturebutton = new global::Gtk.Button(); this.capturebutton.WidthRequest = 100; this.capturebutton.HeightRequest = 100; this.capturebutton.CanFocus = true; this.capturebutton.Name = "capturebutton"; // Container child capturebutton.Gtk.Container+ContainerChild this.captureimage = new global::Gtk.Image(); this.captureimage.Name = "captureimage"; this.capturebutton.Add(this.captureimage); this.alignment3.Add(this.capturebutton); this.vbox13.Add(this.alignment3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.alignment3])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox13.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.WidthRequest = 180; this.label4.Name = "label4"; this.label4.LabelProp = global::VAS.Core.Catalog.GetString("Capture device"); this.label4.Wrap = true; this.label4.Justify = ((global::Gtk.Justification)(2)); this.label4.WidthChars = 1; this.vbox13.Add(this.label4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.label4])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.hbox11.Add(this.vbox13); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.vbox13])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.vbox14 = new global::Gtk.VBox(); this.vbox14.Name = "vbox14"; this.vbox14.Spacing = 6; // Container child vbox14.Gtk.Box+BoxChild this.alignment5 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment5.Name = "alignment5"; // Container child alignment5.Gtk.Container+ContainerChild this.fakebutton = new global::Gtk.Button(); this.fakebutton.WidthRequest = 100; this.fakebutton.HeightRequest = 100; this.fakebutton.CanFocus = true; this.fakebutton.Name = "fakebutton"; // Container child fakebutton.Gtk.Container+ContainerChild this.fakeimage = new global::Gtk.Image(); this.fakeimage.Name = "fakeimage"; this.fakebutton.Add(this.fakeimage); this.alignment5.Add(this.fakebutton); this.vbox14.Add(this.alignment5); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.alignment5])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.WidthRequest = 180; this.label5.Name = "label5"; this.label5.LabelProp = global::VAS.Core.Catalog.GetString("Fake capture device"); this.label5.Wrap = true; this.label5.Justify = ((global::Gtk.Justification)(2)); this.label5.WidthChars = 1; this.vbox14.Add(this.label5); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.label5])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.hbox11.Add(this.vbox14); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.vbox14])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.vbox15 = new global::Gtk.VBox(); this.vbox15.Name = "vbox15"; this.vbox15.Spacing = 6; // Container child vbox15.Gtk.Box+BoxChild this.alignment6 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment6.Name = "alignment6"; // Container child alignment6.Gtk.Container+ContainerChild this.ipbutton = new global::Gtk.Button(); this.ipbutton.WidthRequest = 100; this.ipbutton.HeightRequest = 100; this.ipbutton.CanFocus = true; this.ipbutton.Name = "ipbutton"; // Container child ipbutton.Gtk.Container+ContainerChild this.ipimage = new global::Gtk.Image(); this.ipimage.Name = "ipimage"; this.ipbutton.Add(this.ipimage); this.alignment6.Add(this.ipbutton); this.vbox15.Add(this.alignment6); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.alignment6])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox15.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.WidthRequest = 180; this.label6.Name = "label6"; this.label6.LabelProp = global::VAS.Core.Catalog.GetString("Ip camera"); this.label6.Wrap = true; this.label6.Justify = ((global::Gtk.Justification)(2)); this.label6.WidthChars = 1; this.vbox15.Add(this.label6); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.label6])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.hbox11.Add(this.vbox15); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.vbox15])); w22.Position = 3; w22.Expand = false; w22.Fill = false; this.alignment2.Add(this.hbox11); this.notebook1.Add(this.alignment2); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::VAS.Core.Catalog.GetString("page1"); this.notebook1.SetTabLabel(this.alignment2, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.vbox5.BorderWidth = ((uint)(10)); // Container child vbox5.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.topbox = new global::Gtk.HBox(); this.topbox.Name = "topbox"; this.topbox.Spacing = 6; // Container child topbox.Gtk.Box+BoxChild this.lefttable = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.lefttable.Name = "lefttable"; this.lefttable.RowSpacing = ((uint)(6)); this.lefttable.ColumnSpacing = ((uint)(6)); // Container child lefttable.Gtk.Table+TableChild this.competitionentry = new global::Gtk.Entry(); this.competitionentry.CanFocus = true; this.competitionentry.Name = "competitionentry"; this.competitionentry.IsEditable = true; this.competitionentry.InvisibleChar = '●'; this.lefttable.Add(this.competitionentry); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.lefttable[this.competitionentry])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child lefttable.Gtk.Table+TableChild this.Competitionlabel = new global::Gtk.Label(); this.Competitionlabel.Name = "Competitionlabel"; this.Competitionlabel.Xalign = 1F; this.Competitionlabel.LabelProp = global::VAS.Core.Catalog.GetString("Competition"); this.lefttable.Add(this.Competitionlabel); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.lefttable[this.Competitionlabel])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child lefttable.Gtk.Table+TableChild this.datelabel2 = new global::Gtk.Label(); this.datelabel2.Name = "datelabel2"; this.datelabel2.Xalign = 1F; this.datelabel2.LabelProp = global::VAS.Core.Catalog.GetString("Date"); this.lefttable.Add(this.datelabel2); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.lefttable[this.datelabel2])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child lefttable.Gtk.Table+TableChild this.datepicker1 = new global::VAS.UI.UI.Component.DatePicker (); this.datepicker1.Events = ((global::Gdk.EventMask)(256)); this.datepicker1.Name = "datepicker1"; this.datepicker1.Date = new global::System.DateTime(0); this.lefttable.Add(this.datepicker1); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.lefttable[this.datepicker1])); w28.TopAttach = ((uint)(3)); w28.BottomAttach = ((uint)(4)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(0)); w28.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child lefttable.Gtk.Table+TableChild this.desclabel = new global::Gtk.Label(); this.desclabel.Name = "desclabel"; this.desclabel.Xalign = 1F; this.desclabel.Yalign = 0F; this.desclabel.LabelProp = global::VAS.Core.Catalog.GetString("Description"); this.lefttable.Add(this.desclabel); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.lefttable[this.desclabel])); w29.TopAttach = ((uint)(2)); w29.BottomAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child lefttable.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.desctextview = new global::Gtk.TextView(); this.desctextview.CanFocus = true; this.desctextview.Name = "desctextview"; this.GtkScrolledWindow.Add(this.desctextview); this.lefttable.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.lefttable[this.GtkScrolledWindow])); w31.TopAttach = ((uint)(2)); w31.BottomAttach = ((uint)(3)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child lefttable.Gtk.Table+TableChild this.seasonentry = new global::Gtk.Entry(); this.seasonentry.CanFocus = true; this.seasonentry.Name = "seasonentry"; this.seasonentry.IsEditable = true; this.seasonentry.InvisibleChar = '●'; this.lefttable.Add(this.seasonentry); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.lefttable[this.seasonentry])); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child lefttable.Gtk.Table+TableChild this.seasonlabel = new global::Gtk.Label(); this.seasonlabel.Name = "seasonlabel"; this.seasonlabel.Xalign = 1F; this.seasonlabel.LabelProp = global::VAS.Core.Catalog.GetString("Season"); this.lefttable.Add(this.seasonlabel); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.lefttable[this.seasonlabel])); w33.YOptions = ((global::Gtk.AttachOptions)(4)); this.topbox.Add(this.lefttable); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.topbox[this.lefttable])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child topbox.Gtk.Box+BoxChild this.centerbox = new global::Gtk.VBox(); this.centerbox.WidthRequest = 500; this.centerbox.Name = "centerbox"; this.centerbox.Spacing = 6; // Container child centerbox.Gtk.Box+BoxChild this.hbox15 = new global::Gtk.HBox(); this.hbox15.HeightRequest = 60; this.hbox15.Name = "hbox15"; // Container child hbox15.Gtk.Box+BoxChild this.hometeamscombobox = new global::LongoMatch.Gui.Component.HomeTeamsComboBox(); this.hometeamscombobox.Name = "hometeamscombobox"; this.hbox15.Add(this.hometeamscombobox); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.hometeamscombobox])); w35.Position = 0; // Container child hbox15.Gtk.Box+BoxChild this.vsimage = new global::Gtk.Image(); this.vsimage.Name = "vsimage"; this.hbox15.Add(this.vsimage); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.vsimage])); w36.Position = 1; w36.Expand = false; w36.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.awayteamscombobox = new global::LongoMatch.Gui.Component.AwayTeamsComboBox(); this.awayteamscombobox.Name = "awayteamscombobox"; this.hbox15.Add(this.awayteamscombobox); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.awayteamscombobox])); w37.Position = 2; this.centerbox.Add(this.hbox15); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.centerbox[this.hbox15])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child centerbox.Gtk.Box+BoxChild this.mediafilesetselection1 = new global::LongoMatch.Gui.Component.MediaFileSetSelection(); this.mediafilesetselection1.HeightRequest = 100; this.mediafilesetselection1.Events = ((global::Gdk.EventMask)(256)); this.mediafilesetselection1.Name = "mediafilesetselection1"; this.centerbox.Add(this.mediafilesetselection1); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.centerbox[this.mediafilesetselection1])); w39.Position = 1; // Container child centerbox.Gtk.Box+BoxChild this.capturebox = new global::Gtk.VBox(); this.capturebox.Name = "capturebox"; this.capturebox.Spacing = 6; // Container child capturebox.Gtk.Box+BoxChild this.outputfiletable = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.outputfiletable.Name = "outputfiletable"; this.outputfiletable.RowSpacing = ((uint)(6)); this.outputfiletable.ColumnSpacing = ((uint)(6)); // Container child outputfiletable.Gtk.Table+TableChild this.capturemediafilechooser = new global::VAS.UI.Component.MediaFileChooser (); this.capturemediafilechooser.Events = ((global::Gdk.EventMask)(256)); this.capturemediafilechooser.Name = "capturemediafilechooser"; this.outputfiletable.Add(this.capturemediafilechooser); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.outputfiletable[this.capturemediafilechooser])); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child outputfiletable.Gtk.Table+TableChild this.outputfilelabel = new global::Gtk.Label(); this.outputfilelabel.Name = "outputfilelabel"; this.outputfilelabel.Xalign = 1F; this.outputfilelabel.LabelProp = global::VAS.Core.Catalog.GetString("Output file"); this.outputfiletable.Add(this.outputfilelabel); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.outputfiletable[this.outputfilelabel])); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); this.capturebox.Add(this.outputfiletable); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.capturebox[this.outputfiletable])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child capturebox.Gtk.Box+BoxChild this.urltable = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.urltable.Name = "urltable"; this.urltable.RowSpacing = ((uint)(6)); this.urltable.ColumnSpacing = ((uint)(6)); // Container child urltable.Gtk.Table+TableChild this.urientry = new global::Gtk.Entry(); this.urientry.CanFocus = true; this.urientry.Name = "urientry"; this.urientry.IsEditable = true; this.urientry.InvisibleChar = '•'; this.urltable.Add(this.urientry); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.urltable[this.urientry])); w43.LeftAttach = ((uint)(1)); w43.RightAttach = ((uint)(2)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child urltable.Gtk.Table+TableChild this.urilabel = new global::Gtk.Label(); this.urilabel.Name = "urilabel"; this.urilabel.Xalign = 1F; this.urilabel.LabelProp = global::VAS.Core.Catalog.GetString("URL"); this.urltable.Add(this.urilabel); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.urltable[this.urilabel])); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); this.capturebox.Add(this.urltable); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.capturebox[this.urltable])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child capturebox.Gtk.Box+BoxChild this.credentialtable = new global::Gtk.Table(((uint)(1)), ((uint)(4)), false); this.credentialtable.Name = "credentialtable"; this.credentialtable.RowSpacing = ((uint)(6)); this.credentialtable.ColumnSpacing = ((uint)(6)); // Container child credentialtable.Gtk.Table+TableChild this.passwordentry = new global::Gtk.Entry(); this.passwordentry.CanFocus = true; this.passwordentry.Name = "passwordentry"; this.passwordentry.IsEditable = true; this.passwordentry.Visibility = false; this.passwordentry.InvisibleChar = '●'; this.credentialtable.Add(this.passwordentry); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.credentialtable[this.passwordentry])); w46.LeftAttach = ((uint)(3)); w46.RightAttach = ((uint)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child credentialtable.Gtk.Table+TableChild this.passwordlabel = new global::Gtk.Label(); this.passwordlabel.Name = "passwordlabel"; this.passwordlabel.Xalign = 1F; this.passwordlabel.LabelProp = global::VAS.Core.Catalog.GetString("Password"); this.credentialtable.Add(this.passwordlabel); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.credentialtable[this.passwordlabel])); w47.LeftAttach = ((uint)(2)); w47.RightAttach = ((uint)(3)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child credentialtable.Gtk.Table+TableChild this.userentry = new global::Gtk.Entry(); this.userentry.CanFocus = true; this.userentry.Name = "userentry"; this.userentry.IsEditable = true; this.userentry.InvisibleChar = '●'; this.credentialtable.Add(this.userentry); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.credentialtable[this.userentry])); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(2)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child credentialtable.Gtk.Table+TableChild this.userlabel = new global::Gtk.Label(); this.userlabel.Name = "userlabel"; this.userlabel.Xalign = 1F; this.userlabel.LabelProp = global::VAS.Core.Catalog.GetString("Username"); this.credentialtable.Add(this.userlabel); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.credentialtable[this.userlabel])); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); this.capturebox.Add(this.credentialtable); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.capturebox[this.credentialtable])); w50.Position = 2; w50.Expand = false; w50.Fill = false; // Container child capturebox.Gtk.Box+BoxChild this.devicetable = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.devicetable.Name = "devicetable"; this.devicetable.RowSpacing = ((uint)(6)); this.devicetable.ColumnSpacing = ((uint)(6)); // Container child devicetable.Gtk.Table+TableChild this.device = new global::Gtk.Label(); this.device.Name = "device"; this.device.Xalign = 1F; this.device.LabelProp = global::VAS.Core.Catalog.GetString("Device"); this.devicetable.Add(this.device); global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.devicetable[this.device])); w51.XOptions = ((global::Gtk.AttachOptions)(4)); w51.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child devicetable.Gtk.Table+TableChild this.devicecombobox = global::Gtk.ComboBox.NewText(); this.devicecombobox.WidthRequest = 300; this.devicecombobox.Name = "devicecombobox"; this.devicetable.Add(this.devicecombobox); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.devicetable[this.devicecombobox])); w52.LeftAttach = ((uint)(1)); w52.RightAttach = ((uint)(2)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child devicetable.Gtk.Table+TableChild this.deviceformatcombobox = global::Gtk.ComboBox.NewText(); this.deviceformatcombobox.Name = "deviceformatcombobox"; this.devicetable.Add(this.deviceformatcombobox); global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.devicetable[this.deviceformatcombobox])); w53.TopAttach = ((uint)(1)); w53.BottomAttach = ((uint)(2)); w53.LeftAttach = ((uint)(1)); w53.RightAttach = ((uint)(2)); w53.XOptions = ((global::Gtk.AttachOptions)(4)); w53.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child devicetable.Gtk.Table+TableChild this.deviceformatlabel = new global::Gtk.Label(); this.deviceformatlabel.Name = "deviceformatlabel"; this.deviceformatlabel.Xalign = 1F; this.deviceformatlabel.LabelProp = global::VAS.Core.Catalog.GetString("Device format"); this.devicetable.Add(this.deviceformatlabel); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.devicetable[this.deviceformatlabel])); w54.TopAttach = ((uint)(1)); w54.BottomAttach = ((uint)(2)); w54.XOptions = ((global::Gtk.AttachOptions)(4)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); this.capturebox.Add(this.devicetable); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.capturebox[this.devicetable])); w55.Position = 3; w55.Expand = false; w55.Fill = false; // Container child capturebox.Gtk.Box+BoxChild this.encpropstable = new global::Gtk.Table(((uint)(2)), ((uint)(4)), false); this.encpropstable.Name = "encpropstable"; this.encpropstable.RowSpacing = ((uint)(6)); this.encpropstable.ColumnSpacing = ((uint)(6)); // Container child encpropstable.Gtk.Table+TableChild this.encodingcombobox = global::Gtk.ComboBox.NewText(); this.encodingcombobox.Name = "encodingcombobox"; this.encpropstable.Add(this.encodingcombobox); global::Gtk.Table.TableChild w56 = ((global::Gtk.Table.TableChild)(this.encpropstable[this.encodingcombobox])); w56.LeftAttach = ((uint)(1)); w56.RightAttach = ((uint)(2)); w56.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child encpropstable.Gtk.Table+TableChild this.imagecombobox = global::Gtk.ComboBox.NewText(); this.imagecombobox.Name = "imagecombobox"; this.encpropstable.Add(this.imagecombobox); global::Gtk.Table.TableChild w57 = ((global::Gtk.Table.TableChild)(this.encpropstable[this.imagecombobox])); w57.TopAttach = ((uint)(1)); w57.BottomAttach = ((uint)(2)); w57.LeftAttach = ((uint)(1)); w57.RightAttach = ((uint)(2)); w57.XOptions = ((global::Gtk.AttachOptions)(4)); w57.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child encpropstable.Gtk.Table+TableChild this.outputsizelabel = new global::Gtk.Label(); this.outputsizelabel.Name = "outputsizelabel"; this.outputsizelabel.Xalign = 1F; this.outputsizelabel.LabelProp = global::VAS.Core.Catalog.GetString("Output size"); this.encpropstable.Add(this.outputsizelabel); global::Gtk.Table.TableChild w58 = ((global::Gtk.Table.TableChild)(this.encpropstable[this.outputsizelabel])); w58.TopAttach = ((uint)(1)); w58.BottomAttach = ((uint)(2)); w58.XOptions = ((global::Gtk.AttachOptions)(4)); w58.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child encpropstable.Gtk.Table+TableChild this.qualitycombobox = global::Gtk.ComboBox.NewText(); this.qualitycombobox.Name = "qualitycombobox"; this.encpropstable.Add(this.qualitycombobox); global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.encpropstable[this.qualitycombobox])); w59.LeftAttach = ((uint)(3)); w59.RightAttach = ((uint)(4)); w59.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child encpropstable.Gtk.Table+TableChild this.qualityformatlabel = new global::Gtk.Label(); this.qualityformatlabel.Name = "qualityformatlabel"; this.qualityformatlabel.Xalign = 1F; this.qualityformatlabel.LabelProp = global::VAS.Core.Catalog.GetString("Quality"); this.encpropstable.Add(this.qualityformatlabel); global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.encpropstable[this.qualityformatlabel])); w60.LeftAttach = ((uint)(2)); w60.RightAttach = ((uint)(3)); w60.XOptions = ((global::Gtk.AttachOptions)(4)); w60.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child encpropstable.Gtk.Table+TableChild this.videoformatlabel = new global::Gtk.Label(); this.videoformatlabel.Name = "videoformatlabel"; this.videoformatlabel.Xalign = 1F; this.videoformatlabel.LabelProp = global::VAS.Core.Catalog.GetString("Format"); this.encpropstable.Add(this.videoformatlabel); global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.encpropstable[this.videoformatlabel])); w61.XOptions = ((global::Gtk.AttachOptions)(4)); w61.YOptions = ((global::Gtk.AttachOptions)(4)); this.capturebox.Add(this.encpropstable); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.capturebox[this.encpropstable])); w62.Position = 4; w62.Expand = false; w62.Fill = false; this.centerbox.Add(this.capturebox); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.centerbox[this.capturebox])); w63.Position = 2; w63.Expand = false; w63.Fill = false; this.topbox.Add(this.centerbox); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.topbox[this.centerbox])); w64.Position = 1; w64.Fill = false; // Container child topbox.Gtk.Box+BoxChild this.righttable = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.righttable.Name = "righttable"; this.righttable.RowSpacing = ((uint)(6)); this.righttable.ColumnSpacing = ((uint)(6)); // Container child righttable.Gtk.Table+TableChild this.analysislabel = new global::Gtk.Label(); this.analysislabel.Name = "analysislabel"; this.analysislabel.LabelProp = global::VAS.Core.Catalog.GetString("Dashboard"); this.righttable.Add(this.analysislabel); global::Gtk.Table.TableChild w65 = ((global::Gtk.Table.TableChild)(this.righttable[this.analysislabel])); w65.XOptions = ((global::Gtk.AttachOptions)(4)); w65.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child righttable.Gtk.Table+TableChild this.tagscombobox = global::Gtk.ComboBox.NewText(); this.tagscombobox.Name = "tagscombobox"; this.righttable.Add(this.tagscombobox); global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.righttable[this.tagscombobox])); w66.LeftAttach = ((uint)(1)); w66.RightAttach = ((uint)(2)); w66.YOptions = ((global::Gtk.AttachOptions)(0)); this.topbox.Add(this.righttable); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.topbox[this.righttable])); w67.Position = 2; w67.Expand = false; w67.Fill = false; this.alignment1.Add(this.topbox); this.vbox5.Add(this.alignment1); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.alignment1])); w69.Position = 0; w69.Expand = false; w69.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox6.Add(this.hseparator1); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hseparator1])); w70.Position = 0; w70.Expand = false; w70.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox14 = new global::Gtk.HBox(); this.hbox14.Name = "hbox14"; this.hbox14.Spacing = 6; // Container child hbox14.Gtk.Box+BoxChild this.homealignment = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 1F); this.homealignment.Name = "homealignment"; // Container child homealignment.Gtk.Container+ContainerChild this.hbox16 = new global::Gtk.HBox(); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 6; // Container child hbox16.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::VAS.Core.Catalog.GetString("Tactics"); this.hbox16.Add(this.label11); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.label11])); w71.Position = 0; w71.Expand = false; w71.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.hometacticsentry = new global::Gtk.Entry(); this.hometacticsentry.CanFocus = true; this.hometacticsentry.Name = "hometacticsentry"; this.hometacticsentry.IsEditable = true; this.hometacticsentry.InvisibleChar = '•'; this.hbox16.Add(this.hometacticsentry); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.hometacticsentry])); w72.Position = 1; w72.Expand = false; // Container child hbox16.Gtk.Box+BoxChild this.hometacticsbutton = new global::Gtk.Button(); this.hometacticsbutton.CanFocus = true; this.hometacticsbutton.Name = "hometacticsbutton"; this.hometacticsbutton.UseUnderline = true; global::Gtk.Image w73 = new global::Gtk.Image(); w73.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.hometacticsbutton.Image = w73; this.hbox16.Add(this.hometacticsbutton); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.hometacticsbutton])); w74.Position = 2; w74.Expand = false; w74.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.homecolor1button = new global::Gtk.ToggleButton(); this.homecolor1button.WidthRequest = 30; this.homecolor1button.CanFocus = true; this.homecolor1button.Name = "homecolor1button"; // Container child homecolor1button.Gtk.Container+ContainerChild this.homecolor1 = new global::Gtk.DrawingArea(); this.homecolor1.Name = "homecolor1"; this.homecolor1button.Add(this.homecolor1); this.hbox16.Add(this.homecolor1button); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.homecolor1button])); w76.Position = 3; // Container child hbox16.Gtk.Box+BoxChild this.homecolor2button = new global::Gtk.ToggleButton(); this.homecolor2button.WidthRequest = 30; this.homecolor2button.CanFocus = true; this.homecolor2button.Name = "homecolor2button"; // Container child homecolor2button.Gtk.Container+ContainerChild this.homecolor2 = new global::Gtk.DrawingArea(); this.homecolor2.Name = "homecolor2"; this.homecolor2button.Add(this.homecolor2); this.hbox16.Add(this.homecolor2button); global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.homecolor2button])); w78.Position = 4; this.homealignment.Add(this.hbox16); this.hbox14.Add(this.homealignment); global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.homealignment])); w80.Position = 0; // Container child hbox14.Gtk.Box+BoxChild this.awayalignment = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 1F); this.awayalignment.Name = "awayalignment"; // Container child awayalignment.Gtk.Container+ContainerChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::VAS.Core.Catalog.GetString("Tactics"); this.hbox17.Add(this.label12); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.label12])); w81.Position = 0; w81.Expand = false; w81.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.awaytacticsentry = new global::Gtk.Entry(); this.awaytacticsentry.CanFocus = true; this.awaytacticsentry.Name = "awaytacticsentry"; this.awaytacticsentry.IsEditable = true; this.awaytacticsentry.InvisibleChar = '•'; this.hbox17.Add(this.awaytacticsentry); global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.awaytacticsentry])); w82.Position = 1; w82.Expand = false; // Container child hbox17.Gtk.Box+BoxChild this.awaytacticsbutton = new global::Gtk.Button(); this.awaytacticsbutton.CanFocus = true; this.awaytacticsbutton.Name = "awaytacticsbutton"; this.awaytacticsbutton.UseUnderline = true; global::Gtk.Image w83 = new global::Gtk.Image(); w83.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.awaytacticsbutton.Image = w83; this.hbox17.Add(this.awaytacticsbutton); global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.awaytacticsbutton])); w84.Position = 2; w84.Expand = false; w84.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.awaycolor1button = new global::Gtk.ToggleButton(); this.awaycolor1button.WidthRequest = 30; this.awaycolor1button.CanFocus = true; this.awaycolor1button.Name = "awaycolor1button"; // Container child awaycolor1button.Gtk.Container+ContainerChild this.awaycolor1 = new global::Gtk.DrawingArea(); this.awaycolor1.Name = "awaycolor1"; this.awaycolor1button.Add(this.awaycolor1); this.hbox17.Add(this.awaycolor1button); global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.awaycolor1button])); w86.Position = 3; // Container child hbox17.Gtk.Box+BoxChild this.awaycolor2button = new global::Gtk.ToggleButton(); this.awaycolor2button.WidthRequest = 30; this.awaycolor2button.CanFocus = true; this.awaycolor2button.Name = "awaycolor2button"; // Container child awaycolor2button.Gtk.Container+ContainerChild this.awaycolor2 = new global::Gtk.DrawingArea(); this.awaycolor2.Name = "awaycolor2"; this.awaycolor2button.Add(this.awaycolor2); this.hbox17.Add(this.awaycolor2button); global::Gtk.Box.BoxChild w88 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.awaycolor2button])); w88.Position = 4; this.awayalignment.Add(this.hbox17); this.hbox14.Add(this.awayalignment); global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.awayalignment])); w90.Position = 1; this.vbox6.Add(this.hbox14); global::Gtk.Box.BoxChild w91 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox14])); w91.Position = 1; w91.Expand = false; // Container child vbox6.Gtk.Box+BoxChild this.drawingarea = new global::Gtk.DrawingArea(); this.drawingarea.Name = "drawingarea"; this.vbox6.Add(this.drawingarea); global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.drawingarea])); w92.Position = 2; this.vbox5.Add(this.vbox6); global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox6])); w93.Position = 1; this.notebook1.Add(this.vbox5); global::Gtk.Notebook.NotebookChild w94 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox5])); w94.Position = 1; w94.TabFill = false; w94.MenuLabel = ""; // Notebook tab this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::VAS.Core.Catalog.GetString("page2"); this.notebook1.SetTabLabel(this.vbox5, this.label13); this.label13.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.projectperiods1 = new global::LongoMatch.Gui.Component.SynchronizationWidget(); this.projectperiods1.Events = ((global::Gdk.EventMask)(256)); this.projectperiods1.Name = "projectperiods1"; this.projectperiods1.FixedPeriods = false; this.notebook1.Add(this.projectperiods1); global::Gtk.Notebook.NotebookChild w95 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.projectperiods1])); w95.Position = 2; // Notebook tab this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::VAS.Core.Catalog.GetString("page3"); this.notebook1.SetTabLabel(this.projectperiods1, this.label14); this.label14.ShowAll(); this.vbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w96 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1])); w96.Position = 1; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Container child MainWindow.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonCloseAll = new global::Gtk.Button (); this.buttonCloseAll.WidthRequest = 300; this.buttonCloseAll.HeightRequest = 300; this.buttonCloseAll.CanFocus = true; this.buttonCloseAll.Name = "buttonCloseAll"; this.buttonCloseAll.UseUnderline = true; // Container child buttonCloseAll.Gtk.Container+ContainerChild global::Gtk.Alignment w1 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w2 = new global::Gtk.HBox (); w2.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_dialog-warning", global::Gtk.IconSize.Dialog); w2.Add (w3); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w5 = new global::Gtk.Label (); w5.LabelProp = global::Mono.Unix.Catalog.GetString ("Close All"); w5.UseUnderline = true; w2.Add (w5); w1.Add (w2); this.buttonCloseAll.Add (w1); this.table1.Add (this.buttonCloseAll); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonCloseAll])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonExit = new global::Gtk.Button (); this.buttonExit.WidthRequest = 653; this.buttonExit.HeightRequest = 300; this.buttonExit.CanFocus = true; this.buttonExit.Name = "buttonExit"; this.buttonExit.UseUnderline = true; // Container child buttonExit.Gtk.Container+ContainerChild global::Gtk.Alignment w10 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w11 = new global::Gtk.HBox (); w11.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_delete", global::Gtk.IconSize.Dialog); w11.Add (w12); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w14 = new global::Gtk.Label (); w14.LabelProp = global::Mono.Unix.Catalog.GetString ("Exit"); w14.UseUnderline = true; w11.Add (w14); w10.Add (w11); this.buttonExit.Add (w10); this.table1.Add (this.buttonExit); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonExit])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.YOptions = ((global::Gtk.AttachOptions)(1)); // Container child table1.Gtk.Table+TableChild this.buttonGps = new global::Gtk.ToggleButton (); this.buttonGps.WidthRequest = 300; this.buttonGps.HeightRequest = 300; this.buttonGps.CanFocus = true; this.buttonGps.Name = "buttonGps"; this.buttonGps.UseUnderline = true; // Container child buttonGps.Gtk.Container+ContainerChild global::Gtk.Alignment w19 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w20 = new global::Gtk.HBox (); w20.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w21 = new global::Gtk.Image (); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_internet", global::Gtk.IconSize.Dialog); w20.Add (w21); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w23 = new global::Gtk.Label (); w23.LabelProp = global::Mono.Unix.Catalog.GetString ("GPS"); w23.UseUnderline = true; w20.Add (w23); w19.Add (w20); this.buttonGps.Add (w19); this.table1.Add (this.buttonGps); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonGps])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonImage = new global::Gtk.ToggleButton (); this.buttonImage.WidthRequest = 300; this.buttonImage.HeightRequest = 300; this.buttonImage.CanFocus = true; this.buttonImage.Name = "buttonImage"; this.buttonImage.UseUnderline = true; // Container child buttonImage.Gtk.Container+ContainerChild global::Gtk.Alignment w28 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w29 = new global::Gtk.HBox (); w29.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w30 = new global::Gtk.Image (); w30.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_zoom-page", global::Gtk.IconSize.Dialog); w29.Add (w30); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w32 = new global::Gtk.Label (); w32.LabelProp = global::Mono.Unix.Catalog.GetString ("Show Image"); w32.UseUnderline = true; w29.Add (w32); w28.Add (w29); this.buttonImage.Add (w28); this.table1.Add (this.buttonImage); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonImage])); w36.LeftAttach = ((uint)(2)); w36.RightAttach = ((uint)(3)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonRecord = new global::Gtk.ToggleButton (); this.buttonRecord.WidthRequest = 300; this.buttonRecord.HeightRequest = 300; this.buttonRecord.CanFocus = true; this.buttonRecord.Name = "buttonRecord"; this.buttonRecord.UseUnderline = true; // Container child buttonRecord.Gtk.Container+ContainerChild global::Gtk.Alignment w37 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w38 = new global::Gtk.HBox (); w38.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w39 = new global::Gtk.Image (); w39.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_media-rec", global::Gtk.IconSize.Dialog); w38.Add (w39); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w41 = new global::Gtk.Label (); w41.LabelProp = global::Mono.Unix.Catalog.GetString ("Record"); w41.UseUnderline = true; w38.Add (w41); w37.Add (w38); this.buttonRecord.Add (w37); this.table1.Add (this.buttonRecord); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonRecord])); w45.TopAttach = ((uint)(1)); w45.BottomAttach = ((uint)(2)); w45.LeftAttach = ((uint)(1)); w45.RightAttach = ((uint)(2)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonRoscore = new global::Gtk.ToggleButton (); this.buttonRoscore.WidthRequest = 300; this.buttonRoscore.HeightRequest = 300; this.buttonRoscore.CanFocus = true; this.buttonRoscore.Name = "buttonRoscore"; this.buttonRoscore.UseUnderline = true; // Container child buttonRoscore.Gtk.Container+ContainerChild global::Gtk.Alignment w46 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w47 = new global::Gtk.HBox (); w47.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w48 = new global::Gtk.Image (); w48.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-authentication", global::Gtk.IconSize.Dialog); w47.Add (w48); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w50 = new global::Gtk.Label (); w50.LabelProp = global::Mono.Unix.Catalog.GetString ("Roscore"); w50.UseUnderline = true; w47.Add (w50); w46.Add (w47); this.buttonRoscore.Add (w46); this.table1.Add (this.buttonRoscore); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonRoscore])); w54.XOptions = ((global::Gtk.AttachOptions)(4)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonUsb = new global::Gtk.ToggleButton (); this.buttonUsb.WidthRequest = 300; this.buttonUsb.HeightRequest = 300; this.buttonUsb.CanFocus = true; this.buttonUsb.Name = "buttonUsb"; this.buttonUsb.UseUnderline = true; // Container child buttonUsb.Gtk.Container+ContainerChild global::Gtk.Alignment w55 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w56 = new global::Gtk.HBox (); w56.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w57 = new global::Gtk.Image (); w57.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-missing-image", global::Gtk.IconSize.Dialog); w56.Add (w57); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w59 = new global::Gtk.Label (); w59.LabelProp = global::Mono.Unix.Catalog.GetString ("USB Camera"); w59.UseUnderline = true; w56.Add (w59); w55.Add (w56); this.buttonUsb.Add (w55); this.table1.Add (this.buttonUsb); global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonUsb])); w63.LeftAttach = ((uint)(1)); w63.RightAttach = ((uint)(2)); w63.XOptions = ((global::Gtk.AttachOptions)(4)); w63.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonUvc = new global::Gtk.Button (); this.buttonUvc.WidthRequest = 300; this.buttonUvc.HeightRequest = 300; this.buttonUvc.CanFocus = true; this.buttonUvc.Name = "buttonUvc"; this.buttonUvc.UseUnderline = true; // Container child buttonUvc.Gtk.Container+ContainerChild global::Gtk.Alignment w64 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w65 = new global::Gtk.HBox (); w65.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w66 = new global::Gtk.Image (); w66.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-select-color", global::Gtk.IconSize.Dialog); w65.Add (w66); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w68 = new global::Gtk.Label (); w68.LabelProp = global::Mono.Unix.Catalog.GetString ("Set Camera Parameters"); w68.UseUnderline = true; w65.Add (w68); w64.Add (w65); this.buttonUvc.Add (w64); this.table1.Add (this.buttonUvc); global::Gtk.Table.TableChild w72 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonUvc])); w72.TopAttach = ((uint)(1)); w72.BottomAttach = ((uint)(2)); w72.XOptions = ((global::Gtk.AttachOptions)(4)); w72.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 971; this.DefaultHeight = 924; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.buttonUvc.Clicked += new global::System.EventHandler (this.buttonUvcClicked); this.buttonUsb.Clicked += new global::System.EventHandler (this.buttonUsbClicked); this.buttonRoscore.Clicked += new global::System.EventHandler (this.buttonRoscoreClicked); this.buttonRecord.Clicked += new global::System.EventHandler (this.buttonRecordClicked); this.buttonImage.Clicked += new global::System.EventHandler (this.buttonImageClicked); this.buttonGps.Clicked += new global::System.EventHandler (this.buttonGpsClicked); this.buttonExit.Clicked += new global::System.EventHandler (this.buttonExitClicked); this.buttonCloseAll.Clicked += new global::System.EventHandler (this.buttonCloseAllClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FAction = new global::Gtk.Action ("FAction", global::Mono.Unix.Catalog.GetString ("文件(_F)"), null, null); this.FAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("文件(_F)"); w1.Add (this.FAction, null); this.HAction = new global::Gtk.Action ("HAction", global::Mono.Unix.Catalog.GetString ("帮助(_H)"), null, null); this.HAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("帮助(_H)"); w1.Add (this.HAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("退出(_Q)"), null, "gtk-quit"); this.quitAction.IsImportant = true; this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("退出(_Q)"); w1.Add (this.quitAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("关于(_A)"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("关于(_A)"); w1.Add (this.aboutAction, null); this.EAction = new global::Gtk.Action ("EAction", global::Mono.Unix.Catalog.GetString ("编辑(_E)"), null, null); this.EAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("编辑(_E)"); w1.Add (this.EAction, null); this.openportAction = new global::Gtk.Action ("openportAction", global::Mono.Unix.Catalog.GetString ("打开串口(_O)"), null, "gtk-connect"); this.openportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("打开串口(_O)"); w1.Add (this.openportAction, null); this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("首选项(_P)"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("首选项(_P)"); w1.Add (this.preferencesAction, null); this.TAction = new global::Gtk.Action ("TAction", global::Mono.Unix.Catalog.GetString ("工具(_T)"), null, null); this.TAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("工具(_T)"); w1.Add (this.TAction, null); this.AAction = new global::Gtk.Action ("AAction", global::Mono.Unix.Catalog.GetString ("分析(_A)"), null, null); this.AAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("分析(_A)"); w1.Add (this.AAction, null); this.GAction = new global::Gtk.Action ("GAction", global::Mono.Unix.Catalog.GetString ("曲线拟合分析(_G)"), null, null); this.GAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("曲线拟合分析(_G)"); w1.Add (this.GAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("串口调试助手"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.commbug.commbug_24x24.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.tableMain = new global::Gtk.Table (((uint)(3)), ((uint)(1)), false); this.tableMain.Name = "tableMain"; this.tableMain.RowSpacing = ((uint)(6)); this.tableMain.ColumnSpacing = ((uint)(6)); // Container child tableMain.Gtk.Table+TableChild this.hpanedMain = new global::Gtk.HPaned (); this.hpanedMain.CanFocus = true; this.hpanedMain.Name = "hpanedMain"; this.hpanedMain.Position = 297; // Container child hpanedMain.Gtk.Paned+PanedChild this.vboxLeft = new global::Gtk.VBox (); this.vboxLeft.Name = "vboxLeft"; this.vboxLeft.Spacing = 6; // Container child vboxLeft.Gtk.Box+BoxChild this.expanderCommSet = new global::Gtk.Expander (null); this.expanderCommSet.CanFocus = true; this.expanderCommSet.Name = "expanderCommSet"; this.expanderCommSet.Expanded = true; // Container child expanderCommSet.Gtk.Container+ContainerChild this.alignmentCommSet = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.alignmentCommSet.Name = "alignmentCommSet"; this.alignmentCommSet.LeftPadding = ((uint)(12)); // Container child alignmentCommSet.Gtk.Container+ContainerChild this.vboxCommSet = new global::Gtk.VBox (); this.vboxCommSet.Name = "vboxCommSet"; this.vboxCommSet.Spacing = 6; // Container child vboxCommSet.Gtk.Box+BoxChild this.tableCommSetBasic = new global::Gtk.Table (((uint)(1)), ((uint)(1)), false); this.tableCommSetBasic.Name = "tableCommSetBasic"; this.tableCommSetBasic.RowSpacing = ((uint)(6)); this.tableCommSetBasic.ColumnSpacing = ((uint)(6)); // Container child tableCommSetBasic.Gtk.Table+TableChild this.tableCommBasic = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false); this.tableCommBasic.Name = "tableCommBasic"; this.tableCommBasic.RowSpacing = ((uint)(6)); this.tableCommBasic.ColumnSpacing = ((uint)(6)); // Container child tableCommBasic.Gtk.Table+TableChild this.comboboxentryBaudRate = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("1200")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("2400")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("4800")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("9600")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("19200")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("38400")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("57600")); this.comboboxentryBaudRate.AppendText (global::Mono.Unix.Catalog.GetString ("115200")); this.comboboxentryBaudRate.TooltipMarkup = "设置串口波特率。"; this.comboboxentryBaudRate.Name = "comboboxentryBaudRate"; this.comboboxentryBaudRate.Active = 3; this.tableCommBasic.Add (this.comboboxentryBaudRate); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.comboboxentryBaudRate])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.comboboxentryPortName = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentryPortName.Name = "comboboxentryPortName"; this.tableCommBasic.Add (this.comboboxentryPortName); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.comboboxentryPortName])); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(7)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.imageBaudRate = new global::Gtk.Image (); this.imageBaudRate.TooltipMarkup = "设置串口波特率。"; this.imageBaudRate.Name = "imageBaudRate"; this.imageBaudRate.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.baudrate.baudrate_24x24.png"); this.tableCommBasic.Add (this.imageBaudRate); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.imageBaudRate])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.imageCommSelect = new global::Gtk.Image (); this.imageCommSelect.TooltipMarkup = "选择您要调试的串口。"; this.imageCommSelect.Name = "imageCommSelect"; this.imageCommSelect.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.port.port_24x24.png"); this.tableCommBasic.Add (this.imageCommSelect); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.imageCommSelect])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.labelBaudRate = new global::Gtk.Label (); this.labelBaudRate.TooltipMarkup = "设置串口波特率。"; this.labelBaudRate.Name = "labelBaudRate"; this.labelBaudRate.Xalign = 0F; this.labelBaudRate.LabelProp = global::Mono.Unix.Catalog.GetString ("波特率"); this.tableCommBasic.Add (this.labelBaudRate); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.labelBaudRate])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommBasic.Gtk.Table+TableChild this.labelCommSelect = new global::Gtk.Label (); this.labelCommSelect.TooltipMarkup = "选择您要调试的串口。"; this.labelCommSelect.Name = "labelCommSelect"; this.labelCommSelect.LabelProp = global::Mono.Unix.Catalog.GetString ("串口选择"); this.tableCommBasic.Add (this.labelCommSelect); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableCommBasic [this.labelCommSelect])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableCommSetBasic.Add (this.tableCommBasic); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableCommSetBasic [this.tableCommBasic])); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxCommSet.Add (this.tableCommSetBasic); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxCommSet [this.tableCommSetBasic])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxCommSet.Gtk.Box+BoxChild this.expanderSetComm = new global::Gtk.Expander (null); this.expanderSetComm.CanFocus = true; this.expanderSetComm.Name = "expanderSetComm"; this.expanderSetComm.Expanded = true; // Container child expanderSetComm.Gtk.Container+ContainerChild this.tableCommSet = new global::Gtk.Table (((uint)(1)), ((uint)(5)), false); this.tableCommSet.Name = "tableCommSet"; this.tableCommSet.RowSpacing = ((uint)(6)); this.tableCommSet.ColumnSpacing = ((uint)(6)); // Container child tableCommSet.Gtk.Table+TableChild this.tableCommSetDataBits = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableCommSetDataBits.Name = "tableCommSetDataBits"; this.tableCommSetDataBits.RowSpacing = ((uint)(6)); this.tableCommSetDataBits.ColumnSpacing = ((uint)(6)); // Container child tableCommSetDataBits.Gtk.Table+TableChild this.labelDataBits = new global::Gtk.Label (); this.labelDataBits.Name = "labelDataBits"; this.labelDataBits.LabelProp = global::Mono.Unix.Catalog.GetString ("数据位"); this.tableCommSetDataBits.Add (this.labelDataBits); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableCommSetDataBits [this.labelDataBits])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSetDataBits.Gtk.Table+TableChild this.spinbuttonDataBits = new global::Gtk.SpinButton (5, 8, 1); this.spinbuttonDataBits.CanFocus = true; this.spinbuttonDataBits.Name = "spinbuttonDataBits"; this.spinbuttonDataBits.Adjustment.PageIncrement = 10; this.spinbuttonDataBits.ClimbRate = 1; this.spinbuttonDataBits.Numeric = true; this.spinbuttonDataBits.Value = 8; this.tableCommSetDataBits.Add (this.spinbuttonDataBits); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableCommSetDataBits [this.spinbuttonDataBits])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableCommSet.Add (this.tableCommSetDataBits); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.tableCommSetDataBits])); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSet.Gtk.Table+TableChild this.tableCommSetParity = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableCommSetParity.Name = "tableCommSetParity"; this.tableCommSetParity.RowSpacing = ((uint)(6)); this.tableCommSetParity.ColumnSpacing = ((uint)(6)); // Container child tableCommSetParity.Gtk.Table+TableChild this.comboboxPatity = global::Gtk.ComboBox.NewText (); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("None")); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("Even")); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("Odd")); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("Mark")); this.comboboxPatity.AppendText (global::Mono.Unix.Catalog.GetString ("Space")); this.comboboxPatity.Name = "comboboxPatity"; this.comboboxPatity.Active = 0; this.tableCommSetParity.Add (this.comboboxPatity); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableCommSetParity [this.comboboxPatity])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSetParity.Gtk.Table+TableChild this.labelParity = new global::Gtk.Label (); this.labelParity.Name = "labelParity"; this.labelParity.LabelProp = global::Mono.Unix.Catalog.GetString ("校验"); this.tableCommSetParity.Add (this.labelParity); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableCommSetParity [this.labelParity])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableCommSet.Add (this.tableCommSetParity); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.tableCommSetParity])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSet.Gtk.Table+TableChild this.tableCommSetStopBits = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableCommSetStopBits.Name = "tableCommSetStopBits"; this.tableCommSetStopBits.RowSpacing = ((uint)(6)); this.tableCommSetStopBits.ColumnSpacing = ((uint)(6)); // Container child tableCommSetStopBits.Gtk.Table+TableChild this.comboboxStopBits = global::Gtk.ComboBox.NewText (); this.comboboxStopBits.AppendText (global::Mono.Unix.Catalog.GetString ("None")); this.comboboxStopBits.AppendText (global::Mono.Unix.Catalog.GetString ("1")); this.comboboxStopBits.AppendText (global::Mono.Unix.Catalog.GetString ("1.5")); this.comboboxStopBits.AppendText (global::Mono.Unix.Catalog.GetString ("2")); this.comboboxStopBits.Name = "comboboxStopBits"; this.comboboxStopBits.Active = 1; this.tableCommSetStopBits.Add (this.comboboxStopBits); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableCommSetStopBits [this.comboboxStopBits])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSetStopBits.Gtk.Table+TableChild this.labelStopBits = new global::Gtk.Label (); this.labelStopBits.Name = "labelStopBits"; this.labelStopBits.LabelProp = global::Mono.Unix.Catalog.GetString ("停止位"); this.tableCommSetStopBits.Add (this.labelStopBits); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableCommSetStopBits [this.labelStopBits])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableCommSet.Add (this.tableCommSetStopBits); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.tableCommSetStopBits])); w18.LeftAttach = ((uint)(4)); w18.RightAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSet.Gtk.Table+TableChild this.vseparatorCommSetL = new global::Gtk.VSeparator (); this.vseparatorCommSetL.Name = "vseparatorCommSetL"; this.tableCommSet.Add (this.vseparatorCommSetL); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.vseparatorCommSetL])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommSet.Gtk.Table+TableChild this.vseparatorCommSetR = new global::Gtk.VSeparator (); this.vseparatorCommSetR.Name = "vseparatorCommSetR"; this.tableCommSet.Add (this.vseparatorCommSetR); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableCommSet [this.vseparatorCommSetR])); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.expanderSetComm.Add (this.tableCommSet); this.GtkLabelCommAdvanced = new global::Gtk.Label (); this.GtkLabelCommAdvanced.TooltipMarkup = "详细设置串口参数。"; this.GtkLabelCommAdvanced.Name = "GtkLabelCommAdvanced"; this.GtkLabelCommAdvanced.LabelProp = global::Mono.Unix.Catalog.GetString ("详细设置"); this.GtkLabelCommAdvanced.UseUnderline = true; this.expanderSetComm.LabelWidget = this.GtkLabelCommAdvanced; this.vboxCommSet.Add (this.expanderSetComm); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxCommSet [this.expanderSetComm])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vboxCommSet.Gtk.Box+BoxChild this.tableComm = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.tableComm.Name = "tableComm"; this.tableComm.RowSpacing = ((uint)(6)); this.tableComm.ColumnSpacing = ((uint)(6)); // Container child tableComm.Gtk.Table+TableChild this.imagePortState = new global::Gtk.Image (); this.imagePortState.Name = "imagePortState"; this.imagePortState.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.port_state.port_state-off_24x24.png"); this.tableComm.Add (this.imagePortState); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableComm [this.imagePortState])); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableComm.Gtk.Table+TableChild this.togglebuttonPortSwitch = new global::Gtk.ToggleButton (); this.togglebuttonPortSwitch.CanFocus = true; this.togglebuttonPortSwitch.Name = "togglebuttonPortSwitch"; this.togglebuttonPortSwitch.UseUnderline = true; this.togglebuttonPortSwitch.Label = global::Mono.Unix.Catalog.GetString ("打开串口(_O)"); this.tableComm.Add (this.togglebuttonPortSwitch); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableComm [this.togglebuttonPortSwitch])); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxCommSet.Add (this.tableComm); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vboxCommSet [this.tableComm])); w25.PackType = ((global::Gtk.PackType)(1)); w25.Position = 2; w25.Expand = false; w25.Fill = false; this.alignmentCommSet.Add (this.vboxCommSet); this.expanderCommSet.Add (this.alignmentCommSet); this.GtkLabelCommSet = new global::Gtk.Label (); this.GtkLabelCommSet.TooltipMarkup = "设置串口参数。"; this.GtkLabelCommSet.Name = "GtkLabelCommSet"; this.GtkLabelCommSet.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>串口设置</b>"); this.GtkLabelCommSet.UseMarkup = true; this.GtkLabelCommSet.UseUnderline = true; this.expanderCommSet.LabelWidget = this.GtkLabelCommSet; this.vboxLeft.Add (this.expanderCommSet); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.expanderCommSet])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vboxLeft.Gtk.Box+BoxChild this.hseparatorLeftA = new global::Gtk.HSeparator (); this.hseparatorLeftA.Name = "hseparatorLeftA"; this.vboxLeft.Add (this.hseparatorLeftA); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.hseparatorLeftA])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child vboxLeft.Gtk.Box+BoxChild this.expanderSendSet = new global::Gtk.Expander (null); this.expanderSendSet.CanFocus = true; this.expanderSendSet.Name = "expanderSendSet"; this.expanderSendSet.Expanded = true; // Container child expanderSendSet.Gtk.Container+ContainerChild this.alignmentSendSetExpan = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignmentSendSetExpan.Name = "alignmentSendSetExpan"; // Container child alignmentSendSetExpan.Gtk.Container+ContainerChild this.GtkAlignmentSendSet = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignmentSendSet.Name = "GtkAlignmentSendSet"; this.GtkAlignmentSendSet.LeftPadding = ((uint)(12)); // Container child GtkAlignmentSendSet.Gtk.Container+ContainerChild this.tableSendSet = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableSendSet.Name = "tableSendSet"; this.tableSendSet.RowSpacing = ((uint)(6)); this.tableSendSet.ColumnSpacing = ((uint)(6)); // Container child tableSendSet.Gtk.Table+TableChild this.expanderAutoSend = new global::Gtk.Expander (null); this.expanderAutoSend.CanFocus = true; this.expanderAutoSend.Name = "expanderAutoSend"; this.expanderAutoSend.Expanded = true; // Container child expanderAutoSend.Gtk.Container+ContainerChild this.tableAutoSend = new global::Gtk.Table (((uint)(1)), ((uint)(4)), false); this.tableAutoSend.Name = "tableAutoSend"; this.tableAutoSend.RowSpacing = ((uint)(6)); this.tableAutoSend.ColumnSpacing = ((uint)(6)); // Container child tableAutoSend.Gtk.Table+TableChild this.checkbuttonAutoSend = new global::Gtk.CheckButton (); this.checkbuttonAutoSend.CanFocus = true; this.checkbuttonAutoSend.Name = "checkbuttonAutoSend"; this.checkbuttonAutoSend.Label = global::Mono.Unix.Catalog.GetString ("自动发送"); this.checkbuttonAutoSend.DrawIndicator = true; this.checkbuttonAutoSend.UseUnderline = true; this.tableAutoSend.Add (this.checkbuttonAutoSend); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tableAutoSend [this.checkbuttonAutoSend])); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAutoSend.Gtk.Table+TableChild this.labelSetInterval = new global::Gtk.Label (); this.labelSetInterval.Name = "labelSetInterval"; this.labelSetInterval.LabelProp = global::Mono.Unix.Catalog.GetString ("定时"); this.tableAutoSend.Add (this.labelSetInterval); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tableAutoSend [this.labelSetInterval])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAutoSend.Gtk.Table+TableChild this.labelSetIntervalms = new global::Gtk.Label (); this.labelSetIntervalms.Name = "labelSetIntervalms"; this.labelSetIntervalms.LabelProp = global::Mono.Unix.Catalog.GetString ("ms"); this.tableAutoSend.Add (this.labelSetIntervalms); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableAutoSend [this.labelSetIntervalms])); w32.LeftAttach = ((uint)(3)); w32.RightAttach = ((uint)(4)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableAutoSend.Gtk.Table+TableChild this.spinbuttonInterval = new global::Gtk.SpinButton (0.01, 10000, 0.01); this.spinbuttonInterval.TooltipMarkup = "设定自动发送的间隔时间,\n单位是毫秒(ms)。"; this.spinbuttonInterval.CanFocus = true; this.spinbuttonInterval.Name = "spinbuttonInterval"; this.spinbuttonInterval.Adjustment.PageIncrement = 10; this.spinbuttonInterval.ClimbRate = 1; this.spinbuttonInterval.Numeric = true; this.spinbuttonInterval.Value = 500; this.tableAutoSend.Add (this.spinbuttonInterval); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableAutoSend [this.spinbuttonInterval])); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); this.expanderAutoSend.Add (this.tableAutoSend); this.GtkLabelAutoSend = new global::Gtk.Label (); this.GtkLabelAutoSend.Name = "GtkLabelAutoSend"; this.GtkLabelAutoSend.LabelProp = global::Mono.Unix.Catalog.GetString ("自动发送设置"); this.GtkLabelAutoSend.UseUnderline = true; this.expanderAutoSend.LabelWidget = this.GtkLabelAutoSend; this.tableSendSet.Add (this.expanderAutoSend); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableSendSet [this.expanderAutoSend])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendSet.Gtk.Table+TableChild this.expanderSendContents = new global::Gtk.Expander (null); this.expanderSendContents.CanFocus = true; this.expanderSendContents.Name = "expanderSendContents"; this.expanderSendContents.Expanded = true; // Container child expanderSendContents.Gtk.Container+ContainerChild this.tableSendContents = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.tableSendContents.Name = "tableSendContents"; this.tableSendContents.RowSpacing = ((uint)(6)); this.tableSendContents.ColumnSpacing = ((uint)(6)); // Container child tableSendContents.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.HeightRequest = 60; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewSend = new global::Gtk.TextView (); this.textviewSend.CanFocus = true; this.textviewSend.Name = "textviewSend"; this.textviewSend.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add (this.textviewSend); this.tableSendContents.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableSendContents [this.GtkScrolledWindow])); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendContents.Gtk.Table+TableChild this.tableSendContentsSet = new global::Gtk.Table (((uint)(4)), ((uint)(1)), false); this.tableSendContentsSet.Name = "tableSendContentsSet"; this.tableSendContentsSet.RowSpacing = ((uint)(6)); this.tableSendContentsSet.ColumnSpacing = ((uint)(6)); // Container child tableSendContentsSet.Gtk.Table+TableChild this.buttonSend = new global::Gtk.Button (); this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; // Container child buttonSend.Gtk.Container+ContainerChild global::Gtk.Alignment w38 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w39 = new global::Gtk.HBox (); w39.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w40 = new global::Gtk.Image (); w40.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.send.send_24x24.png"); w39.Add (w40); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w42 = new global::Gtk.Label (); w42.LabelProp = global::Mono.Unix.Catalog.GetString ("发送"); w42.UseUnderline = true; w39.Add (w42); w38.Add (w39); this.buttonSend.Add (w38); this.tableSendContentsSet.Add (this.buttonSend); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.tableSendContentsSet [this.buttonSend])); w46.TopAttach = ((uint)(3)); w46.BottomAttach = ((uint)(4)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendContentsSet.Gtk.Table+TableChild this.radiobuttonDec = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("10进制")); this.radiobuttonDec.CanFocus = true; this.radiobuttonDec.Name = "radiobuttonDec"; this.radiobuttonDec.Active = true; this.radiobuttonDec.DrawIndicator = true; this.radiobuttonDec.UseUnderline = true; this.radiobuttonDec.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.tableSendContentsSet.Add (this.radiobuttonDec); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.tableSendContentsSet [this.radiobuttonDec])); w47.TopAttach = ((uint)(2)); w47.BottomAttach = ((uint)(3)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendContentsSet.Gtk.Table+TableChild this.radiobuttonHex = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("16进制")); this.radiobuttonHex.CanFocus = true; this.radiobuttonHex.Name = "radiobuttonHex"; this.radiobuttonHex.DrawIndicator = true; this.radiobuttonHex.UseUnderline = true; this.radiobuttonHex.Group = this.radiobuttonDec.Group; this.tableSendContentsSet.Add (this.radiobuttonHex); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.tableSendContentsSet [this.radiobuttonHex])); w48.TopAttach = ((uint)(1)); w48.BottomAttach = ((uint)(2)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSendContentsSet.Gtk.Table+TableChild this.radiobuttonText = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("文本")); this.radiobuttonText.CanFocus = true; this.radiobuttonText.Name = "radiobuttonText"; this.radiobuttonText.DrawIndicator = true; this.radiobuttonText.UseUnderline = true; this.radiobuttonText.Group = this.radiobuttonDec.Group; this.tableSendContentsSet.Add (this.radiobuttonText); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.tableSendContentsSet [this.radiobuttonText])); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableSendContents.Add (this.tableSendContentsSet); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.tableSendContents [this.tableSendContentsSet])); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); this.expanderSendContents.Add (this.tableSendContents); this.GtkLabelSendContents = new global::Gtk.Label (); this.GtkLabelSendContents.Name = "GtkLabelSendContents"; this.GtkLabelSendContents.LabelProp = global::Mono.Unix.Catalog.GetString ("发送内容设置"); this.GtkLabelSendContents.UseUnderline = true; this.expanderSendContents.LabelWidget = this.GtkLabelSendContents; this.tableSendSet.Add (this.expanderSendContents); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.tableSendSet [this.expanderSendContents])); w52.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignmentSendSet.Add (this.tableSendSet); this.alignmentSendSetExpan.Add (this.GtkAlignmentSendSet); this.expanderSendSet.Add (this.alignmentSendSetExpan); this.GtkLabelSendSet = new global::Gtk.Label (); this.GtkLabelSendSet.Name = "GtkLabelSendSet"; this.GtkLabelSendSet.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>发送设置</b>"); this.GtkLabelSendSet.UseMarkup = true; this.GtkLabelSendSet.UseUnderline = true; this.expanderSendSet.LabelWidget = this.GtkLabelSendSet; this.vboxLeft.Add (this.expanderSendSet); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.expanderSendSet])); w56.Position = 2; w56.Expand = false; w56.Fill = false; this.hpanedMain.Add (this.vboxLeft); global::Gtk.Paned.PanedChild w57 = ((global::Gtk.Paned.PanedChild)(this.hpanedMain [this.vboxLeft])); w57.Resize = false; // Container child hpanedMain.Gtk.Paned+PanedChild this.tableRight = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableRight.Name = "tableRight"; this.tableRight.RowSpacing = ((uint)(6)); this.tableRight.ColumnSpacing = ((uint)(6)); // Container child tableRight.Gtk.Table+TableChild this.expanderDataShowSet = new global::Gtk.Expander (null); this.expanderDataShowSet.CanFocus = true; this.expanderDataShowSet.Name = "expanderDataShowSet"; this.expanderDataShowSet.Expanded = true; // Container child expanderDataShowSet.Gtk.Container+ContainerChild this.alignmentClear = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.alignmentClear.Name = "alignmentClear"; this.alignmentClear.LeftPadding = ((uint)(12)); // Container child alignmentClear.Gtk.Container+ContainerChild this.tableDataShowSet = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.tableDataShowSet.Name = "tableDataShowSet"; this.tableDataShowSet.RowSpacing = ((uint)(6)); this.tableDataShowSet.ColumnSpacing = ((uint)(6)); // Container child tableDataShowSet.Gtk.Table+TableChild this.tableScrollSet = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false); this.tableScrollSet.Name = "tableScrollSet"; this.tableScrollSet.RowSpacing = ((uint)(6)); this.tableScrollSet.ColumnSpacing = ((uint)(6)); // Container child tableScrollSet.Gtk.Table+TableChild this.checkbuttonAutoScrollReceive = new global::Gtk.CheckButton (); this.checkbuttonAutoScrollReceive.CanFocus = true; this.checkbuttonAutoScrollReceive.Name = "checkbuttonAutoScrollReceive"; this.checkbuttonAutoScrollReceive.Label = global::Mono.Unix.Catalog.GetString ("接收区自动滚屏"); this.checkbuttonAutoScrollReceive.Active = true; this.checkbuttonAutoScrollReceive.DrawIndicator = true; this.checkbuttonAutoScrollReceive.UseUnderline = true; this.tableScrollSet.Add (this.checkbuttonAutoScrollReceive); global::Gtk.Table.TableChild w58 = ((global::Gtk.Table.TableChild)(this.tableScrollSet [this.checkbuttonAutoScrollReceive])); w58.LeftAttach = ((uint)(2)); w58.RightAttach = ((uint)(3)); w58.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableScrollSet.Gtk.Table+TableChild this.checkbuttonAutoScrollSend = new global::Gtk.CheckButton (); this.checkbuttonAutoScrollSend.CanFocus = true; this.checkbuttonAutoScrollSend.Name = "checkbuttonAutoScrollSend"; this.checkbuttonAutoScrollSend.Label = global::Mono.Unix.Catalog.GetString ("发送区自动滚屏"); this.checkbuttonAutoScrollSend.Active = true; this.checkbuttonAutoScrollSend.DrawIndicator = true; this.checkbuttonAutoScrollSend.UseUnderline = true; this.tableScrollSet.Add (this.checkbuttonAutoScrollSend); global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.tableScrollSet [this.checkbuttonAutoScrollSend])); w59.LeftAttach = ((uint)(1)); w59.RightAttach = ((uint)(2)); w59.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableScrollSet.Gtk.Table+TableChild this.imageAutoScroll = new global::Gtk.Image (); this.imageAutoScroll.Name = "imageAutoScroll"; this.imageAutoScroll.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Menu); this.tableScrollSet.Add (this.imageAutoScroll); global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.tableScrollSet [this.imageAutoScroll])); w60.XOptions = ((global::Gtk.AttachOptions)(4)); w60.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableDataShowSet.Add (this.tableScrollSet); global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.tableDataShowSet [this.tableScrollSet])); w61.TopAttach = ((uint)(1)); w61.BottomAttach = ((uint)(2)); w61.XOptions = ((global::Gtk.AttachOptions)(4)); w61.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableDataShowSet.Gtk.Table+TableChild this.tableShowClearSet = new global::Gtk.Table (((uint)(1)), ((uint)(4)), false); this.tableShowClearSet.Name = "tableShowClearSet"; this.tableShowClearSet.RowSpacing = ((uint)(6)); this.tableShowClearSet.ColumnSpacing = ((uint)(6)); // Container child tableShowClearSet.Gtk.Table+TableChild this.buttonClearAll = new global::Gtk.Button (); this.buttonClearAll.CanFocus = true; this.buttonClearAll.Name = "buttonClearAll"; this.buttonClearAll.UseUnderline = true; // Container child buttonClearAll.Gtk.Container+ContainerChild global::Gtk.Alignment w62 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w63 = new global::Gtk.HBox (); w63.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w64 = new global::Gtk.Image (); w64.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); w63.Add (w64); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w66 = new global::Gtk.Label (); w66.LabelProp = global::Mono.Unix.Catalog.GetString ("全部清空(_A)"); w66.UseUnderline = true; w63.Add (w66); w62.Add (w63); this.buttonClearAll.Add (w62); this.tableShowClearSet.Add (this.buttonClearAll); global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.tableShowClearSet [this.buttonClearAll])); w70.LeftAttach = ((uint)(3)); w70.RightAttach = ((uint)(4)); w70.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableShowClearSet.Gtk.Table+TableChild this.buttonClearReceiveArea = new global::Gtk.Button (); this.buttonClearReceiveArea.CanFocus = true; this.buttonClearReceiveArea.Name = "buttonClearReceiveArea"; this.buttonClearReceiveArea.UseUnderline = true; // Container child buttonClearReceiveArea.Gtk.Container+ContainerChild global::Gtk.Alignment w71 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w72 = new global::Gtk.HBox (); w72.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w73 = new global::Gtk.Image (); w73.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.clear_receive.clear_receive_24x24.png"); w72.Add (w73); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w75 = new global::Gtk.Label (); w75.LabelProp = global::Mono.Unix.Catalog.GetString ("清空接收区"); w75.UseUnderline = true; w72.Add (w75); w71.Add (w72); this.buttonClearReceiveArea.Add (w71); this.tableShowClearSet.Add (this.buttonClearReceiveArea); global::Gtk.Table.TableChild w79 = ((global::Gtk.Table.TableChild)(this.tableShowClearSet [this.buttonClearReceiveArea])); w79.LeftAttach = ((uint)(2)); w79.RightAttach = ((uint)(3)); w79.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableShowClearSet.Gtk.Table+TableChild this.buttonClearSendArea = new global::Gtk.Button (); this.buttonClearSendArea.CanFocus = true; this.buttonClearSendArea.Name = "buttonClearSendArea"; this.buttonClearSendArea.UseUnderline = true; // Container child buttonClearSendArea.Gtk.Container+ContainerChild global::Gtk.Alignment w80 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w81 = new global::Gtk.HBox (); w81.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w82 = new global::Gtk.Image (); w82.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CommBug.icons.clear_send.clear_send_24x24.png"); w81.Add (w82); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w84 = new global::Gtk.Label (); w84.LabelProp = global::Mono.Unix.Catalog.GetString ("清空发送区"); w84.UseUnderline = true; w81.Add (w84); w80.Add (w81); this.buttonClearSendArea.Add (w80); this.tableShowClearSet.Add (this.buttonClearSendArea); global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.tableShowClearSet [this.buttonClearSendArea])); w88.LeftAttach = ((uint)(1)); w88.RightAttach = ((uint)(2)); w88.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableShowClearSet.Gtk.Table+TableChild this.buttonClearSendContents = new global::Gtk.Button (); this.buttonClearSendContents.CanFocus = true; this.buttonClearSendContents.Name = "buttonClearSendContents"; this.buttonClearSendContents.UseUnderline = true; this.buttonClearSendContents.Label = global::Mono.Unix.Catalog.GetString ("清空发送内容"); this.tableShowClearSet.Add (this.buttonClearSendContents); global::Gtk.Table.TableChild w89 = ((global::Gtk.Table.TableChild)(this.tableShowClearSet [this.buttonClearSendContents])); w89.YOptions = ((global::Gtk.AttachOptions)(4)); this.tableDataShowSet.Add (this.tableShowClearSet); global::Gtk.Table.TableChild w90 = ((global::Gtk.Table.TableChild)(this.tableDataShowSet [this.tableShowClearSet])); w90.YOptions = ((global::Gtk.AttachOptions)(4)); this.alignmentClear.Add (this.tableDataShowSet); this.expanderDataShowSet.Add (this.alignmentClear); this.GtkLabelDataShowSet = new global::Gtk.Label (); this.GtkLabelDataShowSet.Name = "GtkLabelDataShowSet"; this.GtkLabelDataShowSet.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>数据显示</b>"); this.GtkLabelDataShowSet.UseMarkup = true; this.GtkLabelDataShowSet.UseUnderline = true; this.expanderDataShowSet.LabelWidget = this.GtkLabelDataShowSet; this.tableRight.Add (this.expanderDataShowSet); global::Gtk.Table.TableChild w93 = ((global::Gtk.Table.TableChild)(this.tableRight [this.expanderDataShowSet])); w93.TopAttach = ((uint)(1)); w93.BottomAttach = ((uint)(2)); w93.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableRight.Gtk.Table+TableChild this.hpanedRight = new global::Gtk.HPaned (); this.hpanedRight.CanFocus = true; this.hpanedRight.Name = "hpanedRight"; this.hpanedRight.Position = 247; // Container child hpanedRight.Gtk.Paned+PanedChild this.frameSendArea = new global::Gtk.Frame (); this.frameSendArea.Name = "frameSendArea"; this.frameSendArea.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frameSendArea.Gtk.Container+ContainerChild this.notebookSendArea = new global::Gtk.Notebook (); this.notebookSendArea.CanFocus = true; this.notebookSendArea.Name = "notebookSendArea"; this.notebookSendArea.CurrentPage = 0; // Container child notebookSendArea.Gtk.Notebook+NotebookChild this.hboxTextS = new global::Gtk.HBox (); this.hboxTextS.Name = "hboxTextS"; // Container child hboxTextS.Gtk.Box+BoxChild this.GtkScrolledWindowTextS = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowTextS.Name = "GtkScrolledWindowTextS"; this.GtkScrolledWindowTextS.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTextS.Gtk.Container+ContainerChild this.textviewTextS = new global::Gtk.TextView (); this.textviewTextS.CanFocus = true; this.textviewTextS.Name = "textviewTextS"; this.textviewTextS.Editable = false; this.textviewTextS.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowTextS.Add (this.textviewTextS); this.hboxTextS.Add (this.GtkScrolledWindowTextS); global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.hboxTextS [this.GtkScrolledWindowTextS])); w95.Position = 0; this.notebookSendArea.Add (this.hboxTextS); // Notebook tab this.labelSText = new global::Gtk.Label (); this.labelSText.Name = "labelSText"; this.labelSText.LabelProp = global::Mono.Unix.Catalog.GetString ("文本"); this.notebookSendArea.SetTabLabel (this.hboxTextS, this.labelSText); this.labelSText.ShowAll (); // Container child notebookSendArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowHexS = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowHexS.Name = "GtkScrolledWindowHexS"; this.GtkScrolledWindowHexS.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowHexS.Gtk.Container+ContainerChild this.textviewHexS = new global::Gtk.TextView (); this.textviewHexS.CanFocus = true; this.textviewHexS.Name = "textviewHexS"; this.textviewHexS.Editable = false; this.textviewHexS.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowHexS.Add (this.textviewHexS); this.notebookSendArea.Add (this.GtkScrolledWindowHexS); global::Gtk.Notebook.NotebookChild w98 = ((global::Gtk.Notebook.NotebookChild)(this.notebookSendArea [this.GtkScrolledWindowHexS])); w98.Position = 1; // Notebook tab this.labelSHex = new global::Gtk.Label (); this.labelSHex.Name = "labelSHex"; this.labelSHex.LabelProp = global::Mono.Unix.Catalog.GetString ("十六进制"); this.notebookSendArea.SetTabLabel (this.GtkScrolledWindowHexS, this.labelSHex); this.labelSHex.ShowAll (); // Container child notebookSendArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowDecS = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowDecS.Name = "GtkScrolledWindowDecS"; this.GtkScrolledWindowDecS.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowDecS.Gtk.Container+ContainerChild this.textviewDecS = new global::Gtk.TextView (); this.textviewDecS.CanFocus = true; this.textviewDecS.Name = "textviewDecS"; this.textviewDecS.Editable = false; this.textviewDecS.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowDecS.Add (this.textviewDecS); this.notebookSendArea.Add (this.GtkScrolledWindowDecS); global::Gtk.Notebook.NotebookChild w100 = ((global::Gtk.Notebook.NotebookChild)(this.notebookSendArea [this.GtkScrolledWindowDecS])); w100.Position = 2; // Notebook tab this.labelSDex = new global::Gtk.Label (); this.labelSDex.Name = "labelSDex"; this.labelSDex.LabelProp = global::Mono.Unix.Catalog.GetString ("十进制"); this.notebookSendArea.SetTabLabel (this.GtkScrolledWindowDecS, this.labelSDex); this.labelSDex.ShowAll (); this.frameSendArea.Add (this.notebookSendArea); this.GtkLabelSendArea = new global::Gtk.Label (); this.GtkLabelSendArea.Name = "GtkLabelSendArea"; this.GtkLabelSendArea.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>已发送的数据</b>"); this.GtkLabelSendArea.UseMarkup = true; this.frameSendArea.LabelWidget = this.GtkLabelSendArea; this.hpanedRight.Add (this.frameSendArea); global::Gtk.Paned.PanedChild w102 = ((global::Gtk.Paned.PanedChild)(this.hpanedRight [this.frameSendArea])); w102.Resize = false; // Container child hpanedRight.Gtk.Paned+PanedChild this.frameReceiveArea = new global::Gtk.Frame (); this.frameReceiveArea.Name = "frameReceiveArea"; this.frameReceiveArea.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frameReceiveArea.Gtk.Container+ContainerChild this.notebookReceiveArea = new global::Gtk.Notebook (); this.notebookReceiveArea.CanFocus = true; this.notebookReceiveArea.Name = "notebookReceiveArea"; this.notebookReceiveArea.CurrentPage = 0; // Container child notebookReceiveArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowText = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowText.Name = "GtkScrolledWindowText"; this.GtkScrolledWindowText.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowText.Gtk.Container+ContainerChild this.textviewText = new global::Gtk.TextView (); this.textviewText.CanFocus = true; this.textviewText.Name = "textviewText"; this.textviewText.Editable = false; this.textviewText.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowText.Add (this.textviewText); this.notebookReceiveArea.Add (this.GtkScrolledWindowText); // Notebook tab this.labelRText = new global::Gtk.Label (); this.labelRText.Name = "labelRText"; this.labelRText.LabelProp = global::Mono.Unix.Catalog.GetString ("文本"); this.notebookReceiveArea.SetTabLabel (this.GtkScrolledWindowText, this.labelRText); this.labelRText.ShowAll (); // Container child notebookReceiveArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowHex = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowHex.Name = "GtkScrolledWindowHex"; this.GtkScrolledWindowHex.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowHex.Gtk.Container+ContainerChild this.textviewHex = new global::Gtk.TextView (); this.textviewHex.CanFocus = true; this.textviewHex.Name = "textviewHex"; this.textviewHex.Editable = false; this.textviewHex.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowHex.Add (this.textviewHex); this.notebookReceiveArea.Add (this.GtkScrolledWindowHex); global::Gtk.Notebook.NotebookChild w106 = ((global::Gtk.Notebook.NotebookChild)(this.notebookReceiveArea [this.GtkScrolledWindowHex])); w106.Position = 1; // Notebook tab this.labelRHex = new global::Gtk.Label (); this.labelRHex.Name = "labelRHex"; this.labelRHex.LabelProp = global::Mono.Unix.Catalog.GetString ("十六进制"); this.notebookReceiveArea.SetTabLabel (this.GtkScrolledWindowHex, this.labelRHex); this.labelRHex.ShowAll (); // Container child notebookReceiveArea.Gtk.Notebook+NotebookChild this.GtkScrolledWindowDec = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowDec.Name = "GtkScrolledWindowDec"; this.GtkScrolledWindowDec.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowDec.Gtk.Container+ContainerChild this.textviewDec = new global::Gtk.TextView (); this.textviewDec.CanFocus = true; this.textviewDec.Name = "textviewDec"; this.textviewDec.Editable = false; this.textviewDec.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowDec.Add (this.textviewDec); this.notebookReceiveArea.Add (this.GtkScrolledWindowDec); global::Gtk.Notebook.NotebookChild w108 = ((global::Gtk.Notebook.NotebookChild)(this.notebookReceiveArea [this.GtkScrolledWindowDec])); w108.Position = 2; // Notebook tab this.labelRDec = new global::Gtk.Label (); this.labelRDec.Name = "labelRDec"; this.labelRDec.LabelProp = global::Mono.Unix.Catalog.GetString ("十进制"); this.notebookReceiveArea.SetTabLabel (this.GtkScrolledWindowDec, this.labelRDec); this.labelRDec.ShowAll (); this.frameReceiveArea.Add (this.notebookReceiveArea); this.GtkLabelR = new global::Gtk.Label (); this.GtkLabelR.Name = "GtkLabelR"; this.GtkLabelR.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>接收到的数据</b>"); this.GtkLabelR.UseMarkup = true; this.frameReceiveArea.LabelWidget = this.GtkLabelR; this.hpanedRight.Add (this.frameReceiveArea); this.tableRight.Add (this.hpanedRight); global::Gtk.Table.TableChild w111 = ((global::Gtk.Table.TableChild)(this.tableRight [this.hpanedRight])); w111.XOptions = ((global::Gtk.AttachOptions)(4)); this.hpanedMain.Add (this.tableRight); this.tableMain.Add (this.hpanedMain); global::Gtk.Table.TableChild w113 = ((global::Gtk.Table.TableChild)(this.tableMain [this.hpanedMain])); w113.TopAttach = ((uint)(1)); w113.BottomAttach = ((uint)(2)); w113.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.UIManager.AddUiFromString ("<ui><menubar name='menubarMain'><menu name='FAction' action='FAction'><menuitem name='quitAction' action='quitAction'/></menu><menu name='EAction' action='EAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='TAction' action='TAction'><menu name='AAction' action='AAction'><menuitem name='GAction' action='GAction'/></menu></menu><menu name='HAction' action='HAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubarMain = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubarMain"))); this.menubarMain.Name = "menubarMain"; this.tableMain.Add (this.menubarMain); global::Gtk.Table.TableChild w114 = ((global::Gtk.Table.TableChild)(this.tableMain [this.menubarMain])); w114.XOptions = ((global::Gtk.AttachOptions)(4)); w114.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.statusbarMain = new global::Gtk.Statusbar (); this.statusbarMain.Name = "statusbarMain"; this.statusbarMain.Spacing = 6; // Container child statusbarMain.Gtk.Box+BoxChild this.labelPortStatus = new global::Gtk.Label (); this.labelPortStatus.Name = "labelPortStatus"; this.labelPortStatus.Xalign = 0F; this.labelPortStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("串口关"); this.statusbarMain.Add (this.labelPortStatus); global::Gtk.Box.BoxChild w115 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelPortStatus])); w115.Position = 0; w115.Expand = false; w115.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.vseparatorStatus_1 = new global::Gtk.VSeparator (); this.vseparatorStatus_1.Name = "vseparatorStatus_1"; this.statusbarMain.Add (this.vseparatorStatus_1); global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.vseparatorStatus_1])); w116.Position = 1; w116.Expand = false; w116.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.labelRx = new global::Gtk.Label (); this.labelRx.Name = "labelRx"; this.labelRx.Xalign = 0F; this.labelRx.LabelProp = global::Mono.Unix.Catalog.GetString ("Rx"); this.statusbarMain.Add (this.labelRx); global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelRx])); w117.Position = 2; w117.Expand = false; w117.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.labelRxStatus = new global::Gtk.Label (); this.labelRxStatus.Name = "labelRxStatus"; this.labelRxStatus.Xalign = 0F; this.labelRxStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.labelRxStatus.Selectable = true; this.statusbarMain.Add (this.labelRxStatus); global::Gtk.Box.BoxChild w118 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelRxStatus])); w118.Position = 3; w118.Expand = false; w118.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.vseparatorStatus_2 = new global::Gtk.VSeparator (); this.vseparatorStatus_2.Name = "vseparatorStatus_2"; this.statusbarMain.Add (this.vseparatorStatus_2); global::Gtk.Box.BoxChild w119 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.vseparatorStatus_2])); w119.Position = 4; w119.Expand = false; w119.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.labelTx = new global::Gtk.Label (); this.labelTx.Name = "labelTx"; this.labelTx.Xalign = 0F; this.labelTx.LabelProp = global::Mono.Unix.Catalog.GetString ("Tx"); this.statusbarMain.Add (this.labelTx); global::Gtk.Box.BoxChild w120 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelTx])); w120.Position = 5; w120.Expand = false; w120.Fill = false; // Container child statusbarMain.Gtk.Box+BoxChild this.labelTxStatus = new global::Gtk.Label (); this.labelTxStatus.Name = "labelTxStatus"; this.labelTxStatus.Xalign = 0F; this.labelTxStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.labelTxStatus.Selectable = true; this.statusbarMain.Add (this.labelTxStatus); global::Gtk.Box.BoxChild w121 = ((global::Gtk.Box.BoxChild)(this.statusbarMain [this.labelTxStatus])); w121.Position = 6; w121.Expand = false; w121.Fill = false; this.tableMain.Add (this.statusbarMain); global::Gtk.Table.TableChild w122 = ((global::Gtk.Table.TableChild)(this.tableMain [this.statusbarMain])); w122.TopAttach = ((uint)(2)); w122.BottomAttach = ((uint)(3)); w122.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.tableMain); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 800; this.DefaultHeight = 510; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.GAction.Activated += new global::System.EventHandler (this.OnNumericalModelingActionActivated); this.comboboxentryPortName.Changed += new global::System.EventHandler (this.OnComboboxentryPortNameChanged); this.comboboxentryBaudRate.Changed += new global::System.EventHandler (this.OnComboboxentryBaudRateChanged); this.comboboxStopBits.Changed += new global::System.EventHandler (this.OnComboboxStopBitsChanged); this.comboboxPatity.Changed += new global::System.EventHandler (this.OnComboboxPatityChanged); this.spinbuttonDataBits.Changed += new global::System.EventHandler (this.OnSpinbuttonDataBitsChanged); this.togglebuttonPortSwitch.Clicked += new global::System.EventHandler (this.OntogglebuttonPortSwitchClicked); this.radiobuttonText.GroupChanged += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.radiobuttonText.Clicked += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.radiobuttonHex.GroupChanged += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.radiobuttonHex.Clicked += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.radiobuttonDec.Clicked += new global::System.EventHandler (this.OnRadiobuttonSendActivated); this.buttonSend.Clicked += new global::System.EventHandler (this.OnButtonSendClicked); this.textviewSend.Backspace += new global::System.EventHandler (this.OnTextviewSendBackspace); this.spinbuttonInterval.ValueChanged += new global::System.EventHandler (this.OnSpinbuttonIntervalValueChanged); this.checkbuttonAutoSend.Clicked += new global::System.EventHandler (this.OnCheckbuttonAutoSendClicked); this.buttonClearSendContents.Clicked += new global::System.EventHandler (this.OnButtonClearSendContentsClicked); this.buttonClearSendArea.Clicked += new global::System.EventHandler (this.OnButtonClearSendAreaClicked); this.buttonClearReceiveArea.Clicked += new global::System.EventHandler (this.OnButtonClearReceiveAreaClicked); this.buttonClearAll.Clicked += new global::System.EventHandler (this.OnButtonClearAllClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.RouteListTrackDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.RouteListTrackDlg"; // Container child Vodovoz.RouteListTrackDlg.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Водители в пути:"); this.yhbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.label1])); w1.Position = 0; // Container child yhbox1.Gtk.Box+BoxChild this.routelisttrackfilterview1 = new global::Vodovoz.Filters.GtkViews.RouteListTrackFilterView(new RouteListTrackFilterViewModel()); this.routelisttrackfilterview1.Events = ((global::Gdk.EventMask)(256)); this.routelisttrackfilterview1.Name = "routelisttrackfilterview1"; this.yhbox1.Add(this.routelisttrackfilterview1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.routelisttrackfilterview1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox2.Add(this.yhbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.yhbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.yTreeViewDrivers = new global::QSOrmProject.RepresentationTreeView(); this.yTreeViewDrivers.WidthRequest = 500; this.yTreeViewDrivers.CanFocus = true; this.yTreeViewDrivers.Name = "yTreeViewDrivers"; this.GtkScrolledWindow.Add(this.yTreeViewDrivers); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w5.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonOpenKeeping = new global::Gtk.Button(); this.buttonOpenKeeping.CanFocus = true; this.buttonOpenKeeping.Name = "buttonOpenKeeping"; this.buttonOpenKeeping.UseUnderline = true; this.buttonOpenKeeping.Label = global::Mono.Unix.Catalog.GetString("Открыть ведение"); this.hbox2.Add(this.buttonOpenKeeping); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonOpenKeeping])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonChat = new global::Gtk.Button(); this.buttonChat.CanFocus = true; this.buttonChat.Name = "buttonChat"; this.buttonChat.UseUnderline = true; this.buttonChat.Label = global::Mono.Unix.Catalog.GetString("Открыть чат"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("chat-icon.png"); this.buttonChat.Image = w7; this.hbox2.Add(this.buttonChat); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonChat])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonSendMessage = new global::Gtk.Button(); this.buttonSendMessage.CanFocus = true; this.buttonSendMessage.Name = "buttonSendMessage"; this.buttonSendMessage.UseUnderline = true; this.buttonSendMessage.Label = global::Mono.Unix.Catalog.GetString("Отправить сообщение"); global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("document-send.png"); this.buttonSendMessage.Image = w9; this.hbox2.Add(this.buttonSendMessage); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSendMessage])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxRight = new global::Gtk.VBox(); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; // Container child vboxRight.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Список адресов"); this.vboxRight.Add(this.label2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.label2])); w13.Position = 0; w13.Expand = false; // Container child vboxRight.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.yTreeAddresses = new global::QSOrmProject.RepresentationTreeView(); this.yTreeAddresses.WidthRequest = 600; this.yTreeAddresses.HeightRequest = 150; this.yTreeAddresses.CanFocus = true; this.yTreeAddresses.Name = "yTreeAddresses"; this.GtkScrolledWindow1.Add(this.yTreeAddresses); this.vboxRight.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.GtkScrolledWindow1])); w15.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.toggleButtonHideAddresses = new global::Gtk.ToggleButton(); this.toggleButtonHideAddresses.TooltipMarkup = "Скрыть\\показать адреса."; this.toggleButtonHideAddresses.CanFocus = true; this.toggleButtonHideAddresses.Name = "toggleButtonHideAddresses"; this.toggleButtonHideAddresses.UseUnderline = true; this.toggleButtonHideAddresses.Label = global::Mono.Unix.Catalog.GetString("⇧⇩ Адреса МЛ"); this.hbox3.Add(this.toggleButtonHideAddresses); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.toggleButtonHideAddresses])); w16.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.ybuttonTrackPoints = new global::Gamma.GtkWidgets.yButton(); this.ybuttonTrackPoints.TooltipMarkup = "Координаты"; this.ybuttonTrackPoints.Name = "ybuttonTrackPoints"; this.ybuttonTrackPoints.UseUnderline = true; this.ybuttonTrackPoints.Label = "Координаты"; this.hbox3.Add(this.ybuttonTrackPoints); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ybuttonTrackPoints])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить все"); global::Gtk.Image w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w18; this.hbox3.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonRefresh])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCleanTrack = new global::Gtk.Button(); this.buttonCleanTrack.Sensitive = false; this.buttonCleanTrack.CanFocus = true; this.buttonCleanTrack.Name = "buttonCleanTrack"; this.buttonCleanTrack.UseUnderline = true; this.buttonCleanTrack.Label = global::Mono.Unix.Catalog.GetString("Убрать трек"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCleanTrack.Image = w20; this.hbox3.Add(this.buttonCleanTrack); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCleanTrack])); w21.Position = 3; w21.Expand = false; w21.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox3.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboMapType])); w22.Position = 4; w22.Expand = false; w22.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonMapInWindow = new global::Gtk.Button(); this.buttonMapInWindow.CanFocus = true; this.buttonMapInWindow.Name = "buttonMapInWindow"; this.buttonMapInWindow.UseUnderline = true; this.buttonMapInWindow.Label = global::Mono.Unix.Catalog.GetString("Карта в окне"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.window-new.png"); this.buttonMapInWindow.Image = w23; this.hbox3.Add(this.buttonMapInWindow); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonMapInWindow])); w24.Position = 5; w24.Expand = false; w24.Fill = false; this.vboxRight.Add(this.hbox3); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.hbox3])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vboxRight.Add(this.gmapWidget); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vboxRight[this.gmapWidget])); w26.Position = 3; this.hbox1.Add(this.vboxRight); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxRight])); w27.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonChat.Hide(); this.buttonSendMessage.Hide(); this.label2.Hide(); this.GtkScrolledWindow1.Hide(); this.Hide(); this.yTreeViewDrivers.RowActivated += new global::Gtk.RowActivatedHandler(this.OnYTreeViewDriversRowActivated); this.buttonOpenKeeping.Clicked += new global::System.EventHandler(this.OnButtonOpenKeepingClicked); this.buttonChat.Clicked += new global::System.EventHandler(this.OnButtonChatClicked); this.buttonSendMessage.Clicked += new global::System.EventHandler(this.OnButtonSendMessageClicked); this.toggleButtonHideAddresses.Toggled += new global::System.EventHandler(this.OnToggleButtonHideAddressesToggled); this.ybuttonTrackPoints.Clicked += new global::System.EventHandler(this.OnButtonTrackPointsClicked); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); this.buttonCleanTrack.Clicked += new global::System.EventHandler(this.OnButtonCleanTrackClicked); this.yenumcomboMapType.ChangedByUser += new global::System.EventHandler(this.OnYenumcomboMapTypeChangedByUser); this.buttonMapInWindow.Clicked += new global::System.EventHandler(this.OnButtonMapInWindowClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LampManager.ApacheModsList global::Stetic.BinContainer.Attach (this); this.Name = "LampManager.ApacheModsList"; // Container child LampManager.ApacheModsList.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow (); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.treeView = new global::Gtk.TreeView (); this.treeView.CanFocus = true; this.treeView.Name = "treeView"; this.scrolledwindow3.Add (this.treeView); this.vbox1.Add (this.scrolledwindow3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow3])); w2.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.statusButton = new global::Gtk.ToggleButton (); this.statusButton.CanFocus = true; this.statusButton.Name = "statusButton"; // Container child statusButton.Gtk.Container+ContainerChild global::Gtk.Alignment w3 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w4 = new global::Gtk.HBox (); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); w4.Add (w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label (); w7.LabelProp = global::Mono.Unix.Catalog.GetString ("Activate"); w4.Add (w7); w3.Add (w4); this.statusButton.Add (w3); this.hbox1.Add (this.statusButton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.statusButton])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.editButton = new global::Gtk.Button (); this.editButton.CanFocus = true; this.editButton.Name = "editButton"; this.editButton.UseUnderline = true; // Container child editButton.Gtk.Container+ContainerChild global::Gtk.Alignment w12 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w13 = new global::Gtk.HBox (); w13.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w14 = new global::Gtk.Image (); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); w13.Add (w14); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w16 = new global::Gtk.Label (); w16.LabelProp = global::Mono.Unix.Catalog.GetString ("Edit"); w16.UseUnderline = true; w13.Add (w16); w12.Add (w13); this.editButton.Add (w12); this.hbox1.Add (this.editButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.editButton])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.statusButton.Toggled += new global::System.EventHandler (this.OnStatusButtonToggled); this.editButton.Clicked += new global::System.EventHandler (this.OnEditButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView (); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add (this.textview1); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w2.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton (); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString ("GtkToggleButton"); this.hbox1.Add (this.togglebutton1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.togglebutton2 = new global::Gtk.ToggleButton (); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString ("GtkToggleButton"); this.hbox1.Add (this.togglebutton2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton2])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 468; this.DefaultHeight = 378; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.togglebutton1.Clicked += new global::System.EventHandler (this.OnTogglebutton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget libTerminus.cRestoreWizard this.Name = "libTerminus.cRestoreWizard"; this.Title = global::Mono.Unix.Catalog.GetString ("Elemente wiederherstellen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cRestoreWizard.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander (null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calendar2 = new global::Gtk.Calendar (); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add (this.calendar2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Minimaler Beginn"); this.vbox3.Add (this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 24; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Maximales Ende"); this.vbox3.Add (this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale (null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1; this.hscale2.Adjustment.Upper = 24; this.hscale2.Adjustment.PageIncrement = 1; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale2])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Suchen"); this.hbox2.Add (this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox3.Add (this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w7.Position = 5; w7.Expand = false; w7.Fill = false; this.expander2.Add (this.vbox3); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Zeitbereich"); this.GtkLabel1.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel1; this.vbox2.Add (this.expander2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add (this.treeview1); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Ergebnisse"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w12.Position = 1; // Container child 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.togglebutton1 = new global::Gtk.ToggleButton (); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; // Container child togglebutton1.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox (); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add (w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label (); w17.LabelProp = global::Mono.Unix.Catalog.GetString ("In Zwischenablage kopieren"); w17.UseUnderline = true; w14.Add (w17); w13.Add (w14); this.togglebutton1.Add (w13); this.hbox1.Add (this.togglebutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 570; this.DefaultHeight = 517; this.Show (); this.hscale2.ValueChanged += new global::System.EventHandler (this.OnHscale2ValueChanged); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); this.togglebutton1.Clicked += new global::System.EventHandler (this.OnTogglebutton1Clicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget Mono.Instrumentation.Monitor.InstrumenationChartView global::Stetic.BinContainer.Attach (this); this.Name = "Mono.Instrumentation.Monitor.InstrumenationChartView"; // Container child Mono.Instrumentation.Monitor.InstrumenationChartView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hpaned2 = new global::Gtk.HPaned (); this.hpaned2.CanFocus = true; this.hpaned2.Name = "hpaned2"; this.hpaned2.Position = 471; // Container child hpaned2.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.boxCharts = new global::Gtk.VBox (); this.boxCharts.Name = "boxCharts"; this.boxCharts.Spacing = 6; // Container child boxCharts.Gtk.Box+BoxChild this.hboxChartBar = new global::Gtk.HBox (); this.hboxChartBar.Name = "hboxChartBar"; this.hboxChartBar.Spacing = 6; // Container child hboxChartBar.Gtk.Box+BoxChild this.toggleTimeView = new global::Gtk.ToggleButton (); this.toggleTimeView.CanFocus = true; this.toggleTimeView.Name = "toggleTimeView"; this.toggleTimeView.UseUnderline = true; this.toggleTimeView.Relief = ((global::Gtk.ReliefStyle)(2)); this.toggleTimeView.Label = global::Mono.Unix.Catalog.GetString ("Time View"); this.hboxChartBar.Add (this.toggleTimeView); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.toggleTimeView])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.toggleListView = new global::Gtk.ToggleButton (); this.toggleListView.CanFocus = true; this.toggleListView.Name = "toggleListView"; this.toggleListView.UseUnderline = true; this.toggleListView.Relief = ((global::Gtk.ReliefStyle)(2)); this.toggleListView.Label = global::Mono.Unix.Catalog.GetString ("List View"); this.hboxChartBar.Add (this.toggleListView); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.toggleListView])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.buttonZoomOut = new global::Gtk.Button (); this.buttonZoomOut.CanFocus = true; this.buttonZoomOut.Name = "buttonZoomOut"; this.buttonZoomOut.UseUnderline = true; this.buttonZoomOut.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child buttonZoomOut.Gtk.Container+ContainerChild global::Gtk.Alignment w3 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w4 = new global::Gtk.HBox (); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-zoom-out", global::Gtk.IconSize.Menu); w4.Add (w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label (); w4.Add (w7); w3.Add (w4); this.buttonZoomOut.Add (w3); this.hboxChartBar.Add (this.buttonZoomOut); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.buttonZoomOut])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.buttonZoomIn = new global::Gtk.Button (); this.buttonZoomIn.CanFocus = true; this.buttonZoomIn.Name = "buttonZoomIn"; this.buttonZoomIn.UseUnderline = true; this.buttonZoomIn.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child buttonZoomIn.Gtk.Container+ContainerChild global::Gtk.Alignment w12 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w13 = new global::Gtk.HBox (); w13.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w14 = new global::Gtk.Image (); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-zoom-in", global::Gtk.IconSize.Menu); w13.Add (w14); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w16 = new global::Gtk.Label (); w13.Add (w16); w12.Add (w13); this.buttonZoomIn.Add (w12); this.hboxChartBar.Add (this.buttonZoomIn); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.buttonZoomIn])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.boxCharts.Add (this.hboxChartBar); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.boxCharts [this.hboxChartBar])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child boxCharts.Gtk.Box+BoxChild this.frameCharts = new global::Gtk.VBox (); this.frameCharts.Name = "frameCharts"; this.frameCharts.Spacing = 6; // Container child frameCharts.Gtk.Box+BoxChild this.chartScroller = new global::Gtk.HScrollbar (null); this.chartScroller.Name = "chartScroller"; this.chartScroller.Adjustment.Upper = 100; this.chartScroller.Adjustment.PageIncrement = 10; this.chartScroller.Adjustment.PageSize = 10; this.chartScroller.Adjustment.StepIncrement = 1; this.frameCharts.Add (this.chartScroller); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.frameCharts [this.chartScroller])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.boxCharts.Add (this.frameCharts); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.boxCharts [this.frameCharts])); w23.Position = 1; this.hbox4.Add (this.boxCharts); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.boxCharts])); w24.Position = 0; this.hpaned2.Add (this.hbox4); global::Gtk.Paned.PanedChild w25 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.hbox4])); w25.Resize = false; // Container child hpaned2.Gtk.Paned+PanedChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hboxSeriesBar = new global::Gtk.HBox (); this.hboxSeriesBar.Name = "hboxSeriesBar"; this.hboxSeriesBar.Spacing = 6; // Container child hboxSeriesBar.Gtk.Box+BoxChild this.buttonRemoveCounter = new global::Gtk.Button (); this.buttonRemoveCounter.CanFocus = true; this.buttonRemoveCounter.Name = "buttonRemoveCounter"; this.buttonRemoveCounter.UseStock = true; this.buttonRemoveCounter.UseUnderline = true; this.buttonRemoveCounter.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonRemoveCounter.Label = "gtk-remove"; this.hboxSeriesBar.Add (this.buttonRemoveCounter); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxSeriesBar [this.buttonRemoveCounter])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hboxSeriesBar.Gtk.Box+BoxChild this.buttonAddCounter = new global::Gtk.Button (); this.buttonAddCounter.CanFocus = true; this.buttonAddCounter.Name = "buttonAddCounter"; this.buttonAddCounter.UseStock = true; this.buttonAddCounter.UseUnderline = true; this.buttonAddCounter.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonAddCounter.Label = "gtk-add"; this.hboxSeriesBar.Add (this.buttonAddCounter); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSeriesBar [this.buttonAddCounter])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox5.Add (this.hboxSeriesBar); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hboxSeriesBar])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.listSeries = new global::Gtk.TreeView (); this.listSeries.WidthRequest = 100; this.listSeries.CanFocus = true; this.listSeries.Name = "listSeries"; this.listSeries.HeadersVisible = false; this.GtkScrolledWindow1.Add (this.listSeries); this.vbox5.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1])); w30.Position = 1; this.hpaned2.Add (this.vbox5); global::Gtk.Paned.PanedChild w31 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.vbox5])); w31.Resize = false; w31.Shrink = false; this.vbox3.Add (this.hpaned2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hpaned2])); w32.Position = 0; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.toggleTimeView.Toggled += new global::System.EventHandler (this.OnToggleTimeViewToggled); this.toggleListView.Toggled += new global::System.EventHandler (this.OnToggleListViewToggled); this.buttonZoomIn.Clicked += new global::System.EventHandler (this.OnButtonZoomInClicked); this.buttonZoomOut.Clicked += new global::System.EventHandler (this.OnButtonZoomOutClicked); this.chartScroller.ValueChanged += new global::System.EventHandler (this.OnChartScrollerValueChanged); this.buttonAddCounter.Clicked += new global::System.EventHandler (this.OnButtonAddCounterClicked); this.buttonRemoveCounter.Clicked += new global::System.EventHandler (this.OnButtonRemoveCounterClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget libTerminus.cRestoreWizard this.Name = "libTerminus.cRestoreWizard"; this.Title = global::Mono.Unix.Catalog.GetString("Elemente wiederherstellen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cRestoreWizard.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander(null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add(this.calendar2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Minimaler Beginn"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 24; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Maximales Ende"); this.vbox3.Add(this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1; this.hscale2.Adjustment.Upper = 24; this.hscale2.Adjustment.PageIncrement = 1; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale2])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Suchen"); this.hbox2.Add(this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w7.Position = 5; w7.Expand = false; w7.Fill = false; this.expander2.Add(this.vbox3); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Zeitbereich"); this.GtkLabel1.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel1; this.vbox2.Add(this.expander2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add(this.treeview1); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Ergebnisse"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w12.Position = 1; // Container child 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.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; // Container child togglebutton1.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox(); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add(w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label(); w17.LabelProp = global::Mono.Unix.Catalog.GetString("In Zwischenablage kopieren"); w17.UseUnderline = true; w14.Add(w17); w13.Add(w14); this.togglebutton1.Add(w13); this.hbox1.Add(this.togglebutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 570; this.DefaultHeight = 517; this.Show(); this.hscale2.ValueChanged += new global::System.EventHandler(this.OnHscale2ValueChanged); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.togglebutton1.Clicked += new global::System.EventHandler(this.OnTogglebutton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget mainWindow.MainWindow this.Name = "mainWindow.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child mainWindow.MainWindow.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100; this.hscale1.Adjustment.PageIncrement = 10; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 39.5804195804196; this.hscale1.DrawValue = false; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed9 = new global::Gtk.Fixed(); this.fixed9.Name = "fixed9"; this.fixed9.HasWindow = false; // Container child fixed9.Gtk.Fixed+FixedChild this.button10 = new global::Gtk.Button(); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseStock = true; this.button10.UseUnderline = true; this.button10.FocusOnClick = false; this.button10.Relief = ((global::Gtk.ReliefStyle)(2)); this.button10.Label = "gtk-media-stop"; this.fixed9.Add(this.button10); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed9 [this.button10])); w3.X = 227; // Container child fixed9.Gtk.Fixed+FixedChild this.button11 = new global::Gtk.Button(); this.button11.CanFocus = true; this.button11.Name = "button11"; this.button11.UseStock = true; this.button11.UseUnderline = true; this.button11.Relief = ((global::Gtk.ReliefStyle)(2)); this.button11.Label = "gtk-media-previous"; this.fixed9.Add(this.button11); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed9 [this.button11])); w4.X = 4; // Container child fixed9.Gtk.Fixed+FixedChild this.button12 = new global::Gtk.Button(); this.button12.CanFocus = true; this.button12.Name = "button12"; this.button12.UseStock = true; this.button12.UseUnderline = true; this.button12.Relief = ((global::Gtk.ReliefStyle)(2)); this.button12.Label = "gtk-media-play"; this.fixed9.Add(this.button12); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed9 [this.button12])); w5.X = 108; // Container child fixed9.Gtk.Fixed+FixedChild this.button13 = new global::Gtk.Button(); this.button13.CanFocus = true; this.button13.Name = "button13"; this.button13.UseStock = true; this.button13.UseUnderline = true; this.button13.Relief = ((global::Gtk.ReliefStyle)(2)); this.button13.Label = "gtk-media-next"; this.fixed9.Add(this.button13); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed9 [this.button13])); w6.X = 331; this.vbox3.Add(this.fixed9); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed9])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed11 = new global::Gtk.Fixed(); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; // Container child fixed11.Gtk.Fixed+FixedChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.WidthRequest = 150; this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Upper = 100; this.hscale2.Adjustment.PageIncrement = 10; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = false; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed11.Add(this.hscale2); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.hscale2])); w8.X = 116; // Container child fixed11.Gtk.Fixed+FixedChild this.button15 = new global::Gtk.Button(); this.button15.CanFocus = true; this.button15.Name = "button15"; this.button15.UseUnderline = true; this.button15.Label = global::Mono.Unix.Catalog.GetString("shuffle"); global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-sort-ascending", global::Gtk.IconSize.Menu); this.button15.Image = w9; this.fixed11.Add(this.button15); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.button15])); w10.X = 1; // Container child fixed11.Gtk.Fixed+FixedChild this.button16 = new global::Gtk.Button(); this.button16.CanFocus = true; this.button16.Name = "button16"; this.button16.UseUnderline = true; global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.button16.Image = w11; this.fixed11.Add(this.button16); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.button16])); w12.X = 82; // Container child fixed11.Gtk.Fixed+FixedChild this.hscale3 = new global::Gtk.HScale(null); this.hscale3.WidthRequest = 90; this.hscale3.CanFocus = true; this.hscale3.Name = "hscale3"; this.hscale3.Adjustment.Upper = 100; this.hscale3.Adjustment.PageIncrement = 10; this.hscale3.Adjustment.StepIncrement = 1; this.hscale3.Adjustment.Value = 50; this.hscale3.DrawValue = false; this.hscale3.Digits = 0; this.hscale3.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed11.Add(this.hscale3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.hscale3])); w13.X = 269; // Container child fixed11.Gtk.Fixed+FixedChild this.togglebutton2 = new global::Gtk.ToggleButton(); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString("EQ"); global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-unindent", global::Gtk.IconSize.Menu); this.togglebutton2.Image = w14; this.fixed11.Add(this.togglebutton2); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.togglebutton2])); w15.X = 410; // Container child fixed11.Gtk.Fixed+FixedChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("PL"); global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-sort-descending", global::Gtk.IconSize.Menu); this.togglebutton1.Image = w16; this.fixed11.Add(this.togglebutton1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.togglebutton1])); w17.X = 368; this.vbox3.Add(this.fixed11); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed11])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed10 = new global::Gtk.Fixed(); this.fixed10.Name = "fixed10"; this.fixed10.HasWindow = false; // Container child fixed10.Gtk.Fixed+FixedChild this.button14 = new global::Gtk.Button(); this.button14.CanFocus = true; this.button14.Name = "button14"; this.button14.UseStock = true; this.button14.UseUnderline = true; this.button14.Relief = ((global::Gtk.ReliefStyle)(2)); this.button14.Label = "gtk-open"; this.fixed10.Add(this.button14); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed10 [this.button14])); w19.X = 4; // Container child fixed10.Gtk.Fixed+FixedChild this.button19 = new global::Gtk.Button(); this.button19.CanFocus = true; this.button19.Name = "button19"; this.button19.UseUnderline = true; this.button19.Label = global::Mono.Unix.Catalog.GetString("test"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-about", global::Gtk.IconSize.Menu); this.button19.Image = w20; this.fixed10.Add(this.button19); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed10 [this.button19])); w21.X = 250; // Container child fixed10.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Очистить"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.button1.Image = w22; this.fixed10.Add(this.button1); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed10 [this.button1])); w23.X = 156; // Container child fixed10.Gtk.Fixed+FixedChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Folder"); this.fixed10.Add(this.button2); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed10 [this.button2])); w24.X = 77; this.vbox3.Add(this.fixed10); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed10])); w25.Position = 4; w25.Expand = false; w25.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 456; this.DefaultHeight = 182; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.hscale1.ValueChanged += new global::System.EventHandler(this.OnHscale1ValueChanged); this.button10.Clicked += new global::System.EventHandler(this.OnButton10Clicked); this.button11.Clicked += new global::System.EventHandler(this.OnButton11Clicked); this.button12.Clicked += new global::System.EventHandler(this.OnButton12Clicked); this.button13.Clicked += new global::System.EventHandler(this.OnButton13Clicked); this.button15.Clicked += new global::System.EventHandler(this.OnButton15Clicked); this.button16.Clicked += new global::System.EventHandler(this.OnButton16Clicked); this.togglebutton1.Clicked += new global::System.EventHandler(this.OnTogglebutton1Clicked); this.button14.Clicked += new global::System.EventHandler(this.OnButton14Clicked); this.button19.Clicked += new global::System.EventHandler(this.OnButton19Clicked); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FIleAction = new global::Gtk.Action("FIleAction", global::Mono.Unix.Catalog.GetString("FIle"), null, null); this.FIleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("FIle"); w1.Add(this.FIleAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction, null); this.PanelsAction = new global::Gtk.Action("PanelsAction", global::Mono.Unix.Catalog.GetString("Panels"), null, null); this.PanelsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Panels"); w1.Add(this.PanelsAction, null); this.TurbineAction = new global::Gtk.Action("TurbineAction", global::Mono.Unix.Catalog.GetString("Turbine"), null, null); this.TurbineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Turbine"); w1.Add(this.TurbineAction, null); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.ExitAction1 = new global::Gtk.Action("ExitAction1", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Reactor"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='ExitAction1' action='ExitAction1'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("no value"); this.label10.WidthChars = 8; this.table1.Add(this.label10); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label10])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("no value"); this.label11.WidthChars = 8; this.table1.Add(this.label11); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label11])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("no value"); this.label12.WidthChars = 8; this.table1.Add(this.label12); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label12])); w5.TopAttach = ((uint)(4)); w5.BottomAttach = ((uint)(5)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("no value"); this.label13.WidthChars = 8; this.table1.Add(this.label13); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label13])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Tavg"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("no value"); this.label3.WidthChars = 8; this.table1.Add(this.label3); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Tref"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("no value"); this.label5.WidthChars = 8; this.table1.Add(this.label5); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Turbine power"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w11.TopAttach = ((uint)(5)); w11.BottomAttach = ((uint)(6)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Neutron flux"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Boron concentration"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Burnup"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.table1])); w15.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox5.Add(this.hseparator2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("RCS makeup"); this.vbox2.Add(this.label19); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label19])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table4 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Water"); this.table4.Add(this.label20); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table4[this.label20])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("liters"); this.table4.Add(this.label21); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table4[this.label21])); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Boron"); this.table4.Add(this.label22); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table4[this.label22])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("liters"); this.table4.Add(this.label23); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table4[this.label23])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0, 1000, 1); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10; this.spinbutton1.ClimbRate = 1; this.spinbutton1.Numeric = true; this.table4.Add(this.spinbutton1); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table4[this.spinbutton1])); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.spinbutton2 = new global::Gtk.SpinButton(0, 1000, 1); this.spinbutton2.CanFocus = true; this.spinbutton2.Name = "spinbutton2"; this.spinbutton2.Adjustment.PageIncrement = 10; this.spinbutton2.ClimbRate = 1; this.spinbutton2.Numeric = true; this.table4.Add(this.spinbutton2); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table4[this.spinbutton2])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table4); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table4])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Borate")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox2.Add(this.radiobutton1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radiobutton1])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Dilute")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.vbox2.Add(this.radiobutton2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radiobutton2])); w26.Position = 3; w26.Expand = false; w26.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.togglebutton2 = new global::Gtk.ToggleButton(); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString("START"); this.vbox2.Add(this.togglebutton2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.togglebutton2])); w27.Position = 4; w27.Expand = false; w27.Fill = false; this.vbox5.Add(this.vbox2); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox2])); w28.Position = 2; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox5])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox1.Add(this.vseparator2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator2])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(2)), ((uint)(6)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Group B"); this.table3.Add(this.label1); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3[this.label1])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Group A"); this.table3.Add(this.label14); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3[this.label14])); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Group C"); this.table3.Add(this.label15); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table3[this.label15])); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Group D"); this.table3.Add(this.label16); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table3[this.label16])); w34.LeftAttach = ((uint)(3)); w34.RightAttach = ((uint)(4)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Group SA"); this.table3.Add(this.label17); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table3[this.label17])); w35.LeftAttach = ((uint)(4)); w35.RightAttach = ((uint)(5)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label18 = new global::Gtk.Label(); this.label18.Name = "label18"; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Group SB"); this.table3.Add(this.label18); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table3[this.label18])); w36.LeftAttach = ((uint)(5)); w36.RightAttach = ((uint)(6)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.vscale1 = new global::Gtk.VScale(null); this.vscale1.CanFocus = true; this.vscale1.Name = "vscale1"; this.vscale1.Inverted = true; this.vscale1.Adjustment.Upper = 228; this.vscale1.Adjustment.PageIncrement = 10; this.vscale1.Adjustment.StepIncrement = 1; this.vscale1.DrawValue = true; this.vscale1.Digits = 0; this.vscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.table3.Add(this.vscale1); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table3[this.vscale1])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.vscale2 = new global::Gtk.VScale(null); this.vscale2.CanFocus = true; this.vscale2.Name = "vscale2"; this.vscale2.Inverted = true; this.vscale2.Adjustment.Upper = 228; this.vscale2.Adjustment.PageIncrement = 10; this.vscale2.Adjustment.StepIncrement = 1; this.vscale2.DrawValue = true; this.vscale2.Digits = 0; this.vscale2.ValuePos = ((global::Gtk.PositionType)(3)); this.table3.Add(this.vscale2); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table3[this.vscale2])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.vscale3 = new global::Gtk.VScale(null); this.vscale3.CanFocus = true; this.vscale3.Name = "vscale3"; this.vscale3.Inverted = true; this.vscale3.Adjustment.Upper = 228; this.vscale3.Adjustment.PageIncrement = 10; this.vscale3.Adjustment.StepIncrement = 1; this.vscale3.DrawValue = true; this.vscale3.Digits = 0; this.vscale3.ValuePos = ((global::Gtk.PositionType)(3)); this.table3.Add(this.vscale3); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table3[this.vscale3])); w39.TopAttach = ((uint)(1)); w39.BottomAttach = ((uint)(2)); w39.LeftAttach = ((uint)(2)); w39.RightAttach = ((uint)(3)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.vscale4 = new global::Gtk.VScale(null); this.vscale4.CanFocus = true; this.vscale4.Name = "vscale4"; this.vscale4.Inverted = true; this.vscale4.Adjustment.Upper = 228; this.vscale4.Adjustment.PageIncrement = 10; this.vscale4.Adjustment.StepIncrement = 1; this.vscale4.DrawValue = true; this.vscale4.Digits = 0; this.vscale4.ValuePos = ((global::Gtk.PositionType)(3)); this.table3.Add(this.vscale4); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table3[this.vscale4])); w40.TopAttach = ((uint)(1)); w40.BottomAttach = ((uint)(2)); w40.LeftAttach = ((uint)(3)); w40.RightAttach = ((uint)(4)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.vscale5 = new global::Gtk.VScale(null); this.vscale5.CanFocus = true; this.vscale5.Name = "vscale5"; this.vscale5.Inverted = true; this.vscale5.Adjustment.Upper = 228; this.vscale5.Adjustment.PageIncrement = 10; this.vscale5.Adjustment.StepIncrement = 1; this.vscale5.DrawValue = true; this.vscale5.Digits = 0; this.vscale5.ValuePos = ((global::Gtk.PositionType)(3)); this.table3.Add(this.vscale5); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table3[this.vscale5])); w41.TopAttach = ((uint)(1)); w41.BottomAttach = ((uint)(2)); w41.LeftAttach = ((uint)(4)); w41.RightAttach = ((uint)(5)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.vscale6 = new global::Gtk.VScale(null); this.vscale6.CanFocus = true; this.vscale6.Name = "vscale6"; this.vscale6.Inverted = true; this.vscale6.Adjustment.Upper = 228; this.vscale6.Adjustment.PageIncrement = 10; this.vscale6.Adjustment.StepIncrement = 1; this.vscale6.DrawValue = true; this.vscale6.Digits = 0; this.vscale6.ValuePos = ((global::Gtk.PositionType)(3)); this.table3.Add(this.vscale6); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table3[this.vscale6])); w42.TopAttach = ((uint)(1)); w42.BottomAttach = ((uint)(2)); w42.LeftAttach = ((uint)(5)); w42.RightAttach = ((uint)(6)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.table3); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.table3])); w43.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox3.Add(this.hseparator1); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hseparator1])); w44.Position = 0; w44.Expand = false; w44.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Rod control"); this.vbox3.Add(this.label24); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label24])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Auto")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox2.Add(this.radiobutton3); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.radiobutton3])); w46.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.radiobutton4 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Manual")); this.radiobutton4.CanFocus = true; this.radiobutton4.Name = "radiobutton4"; this.radiobutton4.DrawIndicator = true; this.radiobutton4.UseUnderline = true; this.radiobutton4.Group = this.radiobutton3.Group; this.hbox2.Add(this.radiobutton4); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.radiobutton4])); w47.Position = 1; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w48.Position = 2; w48.Expand = false; w48.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Speed: "); this.hbox3.Add(this.label25); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label25])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("no value"); this.hbox3.Add(this.label26); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label26])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w51.Position = 3; w51.Expand = false; w51.Fill = false; this.vbox4.Add(this.vbox3); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.vbox3])); w52.Position = 1; w52.Expand = false; w52.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString("STEP UP"); this.table2.Add(this.button4); global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table2[this.button4])); w53.XOptions = ((global::Gtk.AttachOptions)(4)); w53.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.button5 = new global::Gtk.Button(); this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = global::Mono.Unix.Catalog.GetString("STEP DOWN"); this.table2.Add(this.button5); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table2[this.button5])); w54.TopAttach = ((uint)(1)); w54.BottomAttach = ((uint)(2)); w54.XOptions = ((global::Gtk.AttachOptions)(4)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.button6 = new global::Gtk.Button(); this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; this.button6.Label = global::Mono.Unix.Catalog.GetString("TRIP"); this.table2.Add(this.button6); global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table2[this.button6])); w55.TopAttach = ((uint)(1)); w55.BottomAttach = ((uint)(2)); w55.LeftAttach = ((uint)(2)); w55.RightAttach = ((uint)(3)); w55.XOptions = ((global::Gtk.AttachOptions)(4)); w55.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.table2); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.table2])); w56.Position = 2; w56.Expand = false; w56.Fill = false; this.hbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox4])); w57.Position = 2; w57.Expand = false; w57.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w58.Position = 3; w58.Expand = false; w58.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.table5 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label27 = new global::Gtk.Label(); this.label27.Name = "label27"; this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("Flux"); this.vbox6.Add(this.label27); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.label27])); w59.Position = 0; w59.Expand = false; w59.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.vscale7 = new global::Gtk.VScale(null); this.vscale7.CanFocus = true; this.vscale7.Name = "vscale7"; this.vscale7.Inverted = true; this.vscale7.Adjustment.Upper = 100; this.vscale7.Adjustment.PageIncrement = 10; this.vscale7.Adjustment.StepIncrement = 1; this.vscale7.DrawValue = false; this.vscale7.Digits = 0; this.vscale7.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox6.Add(this.vscale7); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.vscale7])); w60.Position = 1; // Container child vbox6.Gtk.Box+BoxChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.vbox6.Add(this.label28); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.label28])); w61.Position = 2; w61.Expand = false; w61.Fill = false; this.table5.Add(this.vbox6); global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.table5[this.vbox6])); w62.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.label29 = new global::Gtk.Label(); this.label29.Name = "label29"; this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Turbine"); this.vbox7.Add(this.label29); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.label29])); w63.Position = 0; w63.Expand = false; w63.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.vscale8 = new global::Gtk.VScale(null); this.vscale8.CanFocus = true; this.vscale8.Name = "vscale8"; this.vscale8.Inverted = true; this.vscale8.Adjustment.Upper = 100; this.vscale8.Adjustment.PageIncrement = 10; this.vscale8.Adjustment.StepIncrement = 1; this.vscale8.DrawValue = false; this.vscale8.Digits = 0; this.vscale8.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox7.Add(this.vscale8); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.vscale8])); w64.Position = 1; // Container child vbox7.Gtk.Box+BoxChild this.label30 = new global::Gtk.Label(); this.label30.Name = "label30"; this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.vbox7.Add(this.label30); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.label30])); w65.Position = 2; w65.Expand = false; w65.Fill = false; this.table5.Add(this.vbox7); global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.table5[this.vbox7])); w66.LeftAttach = ((uint)(1)); w66.RightAttach = ((uint)(2)); w66.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Tavg"); this.vbox8.Add(this.label31); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.label31])); w67.Position = 0; w67.Expand = false; w67.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.vscale9 = new global::Gtk.VScale(null); this.vscale9.CanFocus = true; this.vscale9.Name = "vscale9"; this.vscale9.Inverted = true; this.vscale9.Adjustment.Upper = 100; this.vscale9.Adjustment.PageIncrement = 10; this.vscale9.Adjustment.StepIncrement = 1; this.vscale9.DrawValue = false; this.vscale9.Digits = 0; this.vscale9.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox8.Add(this.vscale9); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.vscale9])); w68.Position = 1; // Container child vbox8.Gtk.Box+BoxChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.vbox8.Add(this.label32); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.label32])); w69.Position = 2; w69.Expand = false; w69.Fill = false; this.table5.Add(this.vbox8); global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.table5[this.vbox8])); w70.TopAttach = ((uint)(1)); w70.BottomAttach = ((uint)(2)); w70.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.label33 = new global::Gtk.Label(); this.label33.Name = "label33"; this.label33.LabelProp = global::Mono.Unix.Catalog.GetString("Tref"); this.vbox9.Add(this.label33); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.label33])); w71.Position = 0; w71.Expand = false; w71.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.vscale10 = new global::Gtk.VScale(null); this.vscale10.CanFocus = true; this.vscale10.Name = "vscale10"; this.vscale10.Inverted = true; this.vscale10.Adjustment.Upper = 100; this.vscale10.Adjustment.PageIncrement = 10; this.vscale10.Adjustment.StepIncrement = 1; this.vscale10.DrawValue = false; this.vscale10.Digits = 0; this.vscale10.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox9.Add(this.vscale10); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.vscale10])); w72.Position = 1; // Container child vbox9.Gtk.Box+BoxChild this.label34 = new global::Gtk.Label(); this.label34.Name = "label34"; this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.vbox9.Add(this.label34); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.label34])); w73.Position = 2; w73.Expand = false; w73.Fill = false; this.table5.Add(this.vbox9); global::Gtk.Table.TableChild w74 = ((global::Gtk.Table.TableChild)(this.table5[this.vbox9])); w74.TopAttach = ((uint)(1)); w74.BottomAttach = ((uint)(2)); w74.LeftAttach = ((uint)(1)); w74.RightAttach = ((uint)(2)); w74.XOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table5); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table5])); w75.Position = 4; w75.Expand = false; w75.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w76.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w77.Position = 2; w77.Expand = false; w77.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 620; this.DefaultHeight = 409; this.Show(); this.ExitAction.Activated += new global::System.EventHandler(this.OnExitActionActivated); this.togglebutton2.Clicked += new global::System.EventHandler(this.OnTogglebutton2Clicked); this.radiobutton3.Clicked += new global::System.EventHandler(this.OnRadiobutton3Clicked); this.radiobutton4.Clicked += new global::System.EventHandler(this.OnRadiobutton4Clicked); this.button5.Clicked += new global::System.EventHandler(this.OnButton5Clicked); this.button4.Clicked += new global::System.EventHandler(this.OnButton4Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.QuitAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child MainWindow.Gtk.Container+ContainerChild this.eventboxNonClient = new global::Gtk.EventBox(); this.eventboxNonClient.Name = "eventboxNonClient"; // Container child eventboxNonClient.Gtk.Container+ContainerChild this.eventboxClient = new global::Gtk.EventBox(); this.eventboxClient.Name = "eventboxClient"; this.eventboxClient.BorderWidth = ((uint)(4)); // Container child eventboxClient.Gtk.Container+ContainerChild this.vboxClient = new global::Gtk.VBox(); this.vboxClient.Name = "vboxClient"; // Container child vboxClient.Gtk.Box+BoxChild this.titlebox2 = new global::GuiWidgets.TitleBox(); this.titlebox2.Events = ((global::Gdk.EventMask)(256)); this.titlebox2.Name = "titlebox2"; this.titlebox2.Title = "Young, strong and crazy!"; this.titlebox2.QuitOnClose = true; this.titlebox2.MinimizeVisible = true; this.titlebox2.MaximizeVisible = true; this.vboxClient.Add(this.titlebox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.titlebox2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar4\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'QuitAction\' action=\'QuitAction\'/></menu><menu name=\'HelpAction\' action=\'" + "HelpAction\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu><menu/></m" + "enubar></ui>"); this.menubar4 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar4"))); this.menubar4.Name = "menubar4"; this.vboxClient.Add(this.menubar4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.menubar4])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w4.X = 8; w4.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add(this.entry1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w5.X = 8; w5.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("Young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.fixed1.Add(this.comboboxentry1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.comboboxentry1])); w6.X = 8; w6.Y = 68; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("checkbutton1"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add(this.checkbutton1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w7.X = 287; w7.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.Active = true; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.fixed1.Add(this.radiobutton1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w8.X = 287; w8.Y = 41; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add(this.radiobutton2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w9.X = 287; w9.Y = 66; // Container child fixed1.Gtk.Fixed+FixedChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.WidthRequest = 250; this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.fixed1.Add(this.progressbar1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.progressbar1])); w10.X = 8; w10.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.WidthRequest = 250; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 50D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.fixed1.Add(this.hscale1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.hscale1])); w11.X = 287; w11.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.spinbutton1.Value = 50D; this.fixed1.Add(this.spinbutton1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w12.X = 422; w12.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar3 = new global::Gtk.Calendar(); this.calendar3.CanFocus = true; this.calendar3.Name = "calendar3"; this.calendar3.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add(this.calendar3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar3])); w13.X = 8; w13.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.togglebutton2 = new global::Gtk.ToggleButton(); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.fixed1.Add(this.togglebutton2); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.togglebutton2])); w14.X = 79; w14.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview3 = new global::Gtk.TextView(); this.textview3.Buffer.Text = "Young, strong and crazy!"; this.textview3.WidthRequest = 200; this.textview3.HeightRequest = 150; this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.GtkScrolledWindow.Add(this.textview3); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.GtkScrolledWindow])); w16.X = 169; w16.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w17.X = 193; w17.Y = 13; this.alignment1.Add(this.fixed1); this.vboxClient.Add(this.alignment1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.alignment1])); w19.Position = 2; // Container child vboxClient.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar(); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.vboxClient.Add(this.statusbar2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.statusbar2])); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.eventboxClient.Add(this.vboxClient); this.eventboxNonClient.Add(this.eventboxClient); this.Add(this.eventboxNonClient); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 601; this.DefaultHeight = 481; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.QuitAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child MainWindow.Gtk.Container+ContainerChild this.eventboxNonClient = new global::Gtk.EventBox (); this.eventboxNonClient.Name = "eventboxNonClient"; // Container child eventboxNonClient.Gtk.Container+ContainerChild this.eventboxClient = new global::Gtk.EventBox (); this.eventboxClient.Name = "eventboxClient"; this.eventboxClient.BorderWidth = ((uint)(4)); // Container child eventboxClient.Gtk.Container+ContainerChild this.vboxClient = new global::Gtk.VBox (); this.vboxClient.Name = "vboxClient"; // Container child vboxClient.Gtk.Box+BoxChild this.titlebox2 = new global::GuiWidgets.TitleBox (); this.titlebox2.Events = ((global::Gdk.EventMask)(256)); this.titlebox2.Name = "titlebox2"; this.titlebox2.Title = "Young, strong and crazy!"; this.titlebox2.QuitOnClose = true; this.titlebox2.MinimizeVisible = true; this.titlebox2.MaximizeVisible = true; this.vboxClient.Add (this.titlebox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.titlebox2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar4\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'QuitAction\' action=\'QuitAction\'/></menu><menu name=\'HelpAction\' action=\'" + "HelpAction\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu><menu/></m" + "enubar></ui>"); this.menubar4 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar4"))); this.menubar4.Name = "menubar4"; this.vboxClient.Add (this.menubar4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.menubar4])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("GtkButton"); this.fixed1.Add (this.button1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w4.X = 8; w4.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString ("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add (this.entry1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w5.X = 8; w5.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("Young")); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("strong")); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.fixed1.Add (this.comboboxentry1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.comboboxentry1])); w6.X = 8; w6.Y = 68; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("checkbutton1"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add (this.checkbutton1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w7.X = 287; w7.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.Active = true; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiobutton1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w8.X = 287; w8.Y = 41; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w9.X = 287; w9.Y = 66; // Container child fixed1.Gtk.Fixed+FixedChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.WidthRequest = 250; this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.fixed1.Add (this.progressbar1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.progressbar1])); w10.X = 8; w10.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.WidthRequest = 250; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 50D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.fixed1.Add (this.hscale1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.hscale1])); w11.X = 287; w11.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton (0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.spinbutton1.Value = 50D; this.fixed1.Add (this.spinbutton1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w12.X = 422; w12.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar3 = new global::Gtk.Calendar (); this.calendar3.CanFocus = true; this.calendar3.Name = "calendar3"; this.calendar3.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendar3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar3])); w13.X = 8; w13.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.togglebutton2 = new global::Gtk.ToggleButton (); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString ("GtkToggleButton"); this.fixed1.Add (this.togglebutton2); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.togglebutton2])); w14.X = 79; w14.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview3 = new global::Gtk.TextView (); this.textview3.Buffer.Text = "Young, strong and crazy!"; this.textview3.WidthRequest = 200; this.textview3.HeightRequest = 150; this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.GtkScrolledWindow.Add (this.textview3); this.fixed1.Add (this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.GtkScrolledWindow])); w16.X = 169; w16.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("label1"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w17.X = 193; w17.Y = 13; this.alignment1.Add (this.fixed1); this.vboxClient.Add (this.alignment1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.alignment1])); w19.Position = 2; // Container child vboxClient.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar (); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.vboxClient.Add (this.statusbar2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.statusbar2])); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.eventboxClient.Add (this.vboxClient); this.eventboxNonClient.Add (this.eventboxClient); this.Add (this.eventboxNonClient); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 601; this.DefaultHeight = 481; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.numInput = new global::Gtk.Entry(); this.numInput.WidthRequest = 131; this.numInput.CanFocus = true; this.numInput.Name = "numInput"; this.numInput.IsEditable = true; this.numInput.InvisibleChar = '•'; this.fixed1.Add(this.numInput); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.numInput])); w1.X = 19; w1.Y = 163; // Container child fixed1.Gtk.Fixed+FixedChild this.numAccuracy = new global::Gtk.Entry(); this.numAccuracy.WidthRequest = 87; this.numAccuracy.CanFocus = true; this.numAccuracy.Name = "numAccuracy"; this.numAccuracy.IsEditable = true; this.numAccuracy.InvisibleChar = '•'; this.fixed1.Add(this.numAccuracy); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.numAccuracy])); w2.X = 160; w2.Y = 163; // Container child fixed1.Gtk.Fixed+FixedChild this.btnResult = new global::Gtk.Button(); this.btnResult.CanFocus = true; this.btnResult.Name = "btnResult"; this.btnResult.UseUnderline = true; this.btnResult.Label = global::Mono.Unix.Catalog.GetString("Show result"); this.fixed1.Add(this.btnResult); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnResult])); w3.X = 268; w3.Y = 162; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.output = new global::Gtk.TextView(); this.output.WidthRequest = 331; this.output.HeightRequest = 63; this.output.CanFocus = true; this.output.Name = "output"; this.GtkScrolledWindow.Add(this.output); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.GtkScrolledWindow])); w5.X = 21; w5.Y = 210; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Number"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w6.X = 19; w6.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Accuracy"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w7.X = 160; w7.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Real")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.fixed1.Add(this.radiobutton1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.radiobutton1])); w8.X = 19; w8.Y = 70; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Complex")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add(this.radiobutton2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.radiobutton2])); w9.X = 243; w9.Y = 70; // Container child fixed1.Gtk.Fixed+FixedChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("English"); this.fixed1.Add(this.togglebutton1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.togglebutton1])); w10.X = 369; w10.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Numbers:"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w11.X = 19; w11.Y = 39; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 453; this.DefaultHeight = 338; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnResult.Clicked += new global::System.EventHandler(this.showResult); this.togglebutton1.Clicked += new global::System.EventHandler(this.changeLang); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Rosenblatt"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-connect", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.Decorated = false; // Container child MainWindow.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 12; this.hbox1.BorderWidth = ((uint)(12)); // Container child hbox1.Gtk.Box+BoxChild this.root = new global::Gtk.DrawingArea(); this.root.Name = "root"; this.hbox1.Add(this.root); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.root])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 12; this.vbox1.BorderWidth = ((uint)(12)); // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame1.BorderWidth = ((uint)(12)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbuttonbox1 = new global::Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.Spacing = 12; this.vbuttonbox1.BorderWidth = ((uint)(12)); this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Save"); this.vbuttonbox1.Add(this.button3); global::Gtk.ButtonBox.ButtonBoxChild w2 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button3])); w2.Expand = false; w2.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Choose"); this.vbuttonbox1.Add(this.button1); global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Learn"); this.vbuttonbox1.Add(this.button2); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button2])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString("Random"); this.vbuttonbox1.Add(this.button4); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button4])); w5.Position = 3; w5.Expand = false; w5.Fill = false; this.GtkAlignment.Add(this.vbuttonbox1); this.frame1.Add(this.GtkAlignment); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Data</b>"); this.GtkLabel4.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel4; this.vbox1.Add(this.frame1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame2.BorderWidth = ((uint)(12)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 12; this.vbox2.BorderWidth = ((uint)(12)); // Container child vbox2.Gtk.Box+BoxChild this.lblQuality = new global::Gtk.Label(); this.lblQuality.Name = "lblQuality"; this.lblQuality.LabelProp = global::Mono.Unix.Catalog.GetString("Quality: 0.0%"); this.vbox2.Add(this.lblQuality); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.lblQuality])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.button5 = new global::Gtk.Button(); this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = global::Mono.Unix.Catalog.GetString("Redraw"); this.vbox2.Add(this.button5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.button5])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.comboAxis1 = global::Gtk.ComboBox.NewText(); global::Gtk.Tooltips w11 = new Gtk.Tooltips(); w11.SetTip(this.comboAxis1, "Axis OX", "Axis OX"); this.comboAxis1.Name = "comboAxis1"; this.vbox2.Add(this.comboAxis1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.comboAxis1])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.comboAxis2 = global::Gtk.ComboBox.NewText(); w11.SetTip(this.comboAxis2, "Axis OY", "Axis OY"); this.comboAxis2.Name = "comboAxis2"; this.vbox2.Add(this.comboAxis2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.comboAxis2])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.comboAxis3 = global::Gtk.ComboBox.NewText(); w11.SetTip(this.comboAxis3, "Axis OZ", "Axis OZ"); this.comboAxis3.Name = "comboAxis3"; this.vbox2.Add(this.comboAxis3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.comboAxis3])); w14.Position = 4; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame3.BorderWidth = ((uint)(12)); // Container child frame3.Gtk.Container+ContainerChild this.axisBox = new global::Gtk.VBox(); this.axisBox.Name = "axisBox"; this.axisBox.Spacing = 12; this.axisBox.BorderWidth = ((uint)(12)); this.frame3.Add(this.axisBox); this.GtkLabel6 = new global::Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Axis:</b>"); this.GtkLabel6.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel6; this.vbox2.Add(this.frame3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.frame3])); w16.Position = 5; // Container child vbox2.Gtk.Box+BoxChild this.frame4 = new global::Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame4.BorderWidth = ((uint)(12)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.toggle3D = new global::Gtk.ToggleButton(); this.toggle3D.CanFocus = true; this.toggle3D.Name = "toggle3D"; this.toggle3D.UseUnderline = true; this.toggle3D.Active = true; this.toggle3D.Label = global::Mono.Unix.Catalog.GetString("3D Mode"); this.vbox3.Add(this.toggle3D); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.toggle3D])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscaleDist = new global::Gtk.HScale(null); w11.SetTip(this.hscaleDist, "Distance from Zero", "Distance from Zero"); this.hscaleDist.CanFocus = true; this.hscaleDist.Name = "hscaleDist"; this.hscaleDist.Adjustment.Lower = 2D; this.hscaleDist.Adjustment.Upper = 12D; this.hscaleDist.Adjustment.PageIncrement = 2D; this.hscaleDist.Adjustment.StepIncrement = 0.2D; this.hscaleDist.Adjustment.Value = 3D; this.hscaleDist.DrawValue = true; this.hscaleDist.Digits = 2; this.hscaleDist.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscaleDist); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hscaleDist])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscaleRot = new global::Gtk.HScale(null); w11.SetTip(this.hscaleRot, "Rotation", "Rotation"); this.hscaleRot.CanFocus = true; this.hscaleRot.Name = "hscaleRot"; this.hscaleRot.Adjustment.Lower = -1D; this.hscaleRot.Adjustment.Upper = 1D; this.hscaleRot.Adjustment.PageIncrement = 10D; this.hscaleRot.Adjustment.StepIncrement = 0.02D; this.hscaleRot.DrawValue = true; this.hscaleRot.Digits = 2; this.hscaleRot.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscaleRot); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hscaleRot])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscaleCamera = new global::Gtk.HScale(null); w11.SetTip(this.hscaleCamera, "Camera distance", "Camera distance"); this.hscaleCamera.CanFocus = true; this.hscaleCamera.Name = "hscaleCamera"; this.hscaleCamera.Adjustment.Lower = 1D; this.hscaleCamera.Adjustment.Upper = 24D; this.hscaleCamera.Adjustment.PageIncrement = 10D; this.hscaleCamera.Adjustment.StepIncrement = 0.2D; this.hscaleCamera.Adjustment.Value = 6D; this.hscaleCamera.DrawValue = true; this.hscaleCamera.Digits = 2; this.hscaleCamera.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscaleCamera); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hscaleCamera])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.GtkAlignment2.Add(this.vbox3); this.frame4.Add(this.GtkAlignment2); this.GtkLabel8 = new global::Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>3D View</b>"); this.GtkLabel8.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel8; this.vbox2.Add(this.frame4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.frame4])); w23.PackType = ((global::Gtk.PackType)(1)); w23.Position = 6; w23.Expand = false; w23.Fill = false; this.GtkAlignment1.Add(this.vbox2); this.frame2.Add(this.GtkAlignment1); this.GtkLabel9 = new global::Gtk.Label(); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Visual</b>"); this.GtkLabel9.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel9; this.vbox1.Add(this.frame2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame2])); w26.Position = 1; w26.Expand = false; w26.Fill = false; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 2741; this.DefaultHeight = 1713; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.root.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.RootButtonPressed); this.button3.Clicked += new global::System.EventHandler(this.BtnDataSave); this.button1.Clicked += new global::System.EventHandler(this.BtnDataChoose); this.button2.Clicked += new global::System.EventHandler(this.BtnDataLearn); this.button4.Clicked += new global::System.EventHandler(this.ButtonRandom); this.button5.Clicked += new global::System.EventHandler(this.BtnVisualRedraw); this.comboAxis1.Changed += new global::System.EventHandler(this.ComboFirstAxis); this.comboAxis2.Changed += new global::System.EventHandler(this.ComboSecondAxis); this.comboAxis3.Changed += new global::System.EventHandler(this.ComboThirdAxis); this.toggle3D.Toggled += new global::System.EventHandler(this.Toggle3DMode); this.hscaleDist.ValueChanged += new global::System.EventHandler(this.HScaleDistance); this.hscaleRot.ValueChanged += new global::System.EventHandler(this.HScaleRotate); this.hscaleCamera.ValueChanged += new global::System.EventHandler(this.HScaleCamera); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.D.OptionPanels.DCompilerOptions global::Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.D.OptionPanels.DCompilerOptions"; // Container child MonoDevelop.D.OptionPanels.DCompilerOptions.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.table6 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table6.Name = "table6"; this.table6.RowSpacing = ((uint)(6)); this.table6.ColumnSpacing = ((uint)(6)); // Container child table6.Gtk.Table+TableChild this.btnDefaults = new global::Gtk.Button(); this.btnDefaults.CanFocus = true; this.btnDefaults.Name = "btnDefaults"; this.btnDefaults.UseUnderline = true; this.btnDefaults.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Defaults"); this.table6.Add(this.btnDefaults); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table6 [this.btnDefaults])); w1.TopAttach = ((uint)(6)); w1.BottomAttach = ((uint)(7)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 2; // Container child hbox2.Gtk.Box+BoxChild this.txtBinPath = new global::Gtk.Entry(); this.txtBinPath.CanFocus = true; this.txtBinPath.Name = "txtBinPath"; this.txtBinPath.IsEditable = true; this.txtBinPath.InvisibleChar = '●'; this.hbox2.Add(this.txtBinPath); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.txtBinPath])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.button_BinPathBrowser = new global::Gtk.Button(); this.button_BinPathBrowser.CanFocus = true; this.button_BinPathBrowser.Name = "button_BinPathBrowser"; this.button_BinPathBrowser.UseUnderline = true; this.button_BinPathBrowser.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Browse..."); this.hbox2.Add(this.button_BinPathBrowser); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button_BinPathBrowser])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.table6.Add(this.hbox2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox2])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 2; // Container child hbox4.Gtk.Box+BoxChild this.cmbCompilers = global::Gtk.ComboBox.NewText(); this.cmbCompilers.Name = "cmbCompilers"; this.hbox4.Add(this.cmbCompilers); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.cmbCompilers])); w5.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.btnMakeDefault = new global::Gtk.ToggleButton(); global::Gtk.Tooltips w6 = new Gtk.Tooltips(); w6.SetTip(this.btnMakeDefault, "Click to make the current configuration default", "Click to make the current configuration default"); this.btnMakeDefault.Name = "btnMakeDefault"; this.btnMakeDefault.UseUnderline = true; this.btnMakeDefault.Active = true; this.btnMakeDefault.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Make Default"); this.hbox4.Add(this.btnMakeDefault); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnMakeDefault])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table6.Add(this.hbox4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox4])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.btnDebugArguments = new global::Gtk.Button(); this.btnDebugArguments.CanFocus = true; this.btnDebugArguments.Name = "btnDebugArguments"; this.btnDebugArguments.UseUnderline = true; this.btnDebugArguments.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Debug Arguments"); this.hbox8.Add(this.btnDebugArguments); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnDebugArguments])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnReleaseArguments = new global::Gtk.Button(); this.btnReleaseArguments.CanFocus = true; this.btnReleaseArguments.Name = "btnReleaseArguments"; this.btnReleaseArguments.UseUnderline = true; this.btnReleaseArguments.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Release Arguments"); this.hbox8.Add(this.btnReleaseArguments); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnReleaseArguments])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.table6.Add(this.hbox8); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox8])); w11.TopAttach = ((uint)(6)); w11.BottomAttach = ((uint)(7)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Toolchain bin path"); this.table6.Add(this.label2); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table6 [this.label2])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("\"Static library\" linker"); this.table6.Add(this.label28); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table6 [this.label28])); w13.TopAttach = ((uint)(5)); w13.BottomAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label29 = new global::Gtk.Label(); this.label29.Name = "label29"; this.label29.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("\"Shared library\" linker"); this.table6.Add(this.label29); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table6 [this.label29])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Compiler"); this.table6.Add(this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table6 [this.label3])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label30 = new global::Gtk.Label(); this.label30.Name = "label30"; this.label30.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("\"Executable\" linker"); this.table6.Add(this.label30); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table6 [this.label30])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Compiler executable"); this.table6.Add(this.label31); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table6 [this.label31])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtCompiler = new global::Gtk.Entry(); this.txtCompiler.CanFocus = true; this.txtCompiler.Name = "txtCompiler"; this.txtCompiler.IsEditable = true; this.txtCompiler.InvisibleChar = '•'; this.table6.Add(this.txtCompiler); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtCompiler])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtConsoleAppLinker = new global::Gtk.Entry(); this.txtConsoleAppLinker.CanFocus = true; this.txtConsoleAppLinker.Name = "txtConsoleAppLinker"; this.txtConsoleAppLinker.IsEditable = true; this.txtConsoleAppLinker.InvisibleChar = '•'; this.table6.Add(this.txtConsoleAppLinker); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtConsoleAppLinker])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtSharedLibLinker = new global::Gtk.Entry(); this.txtSharedLibLinker.CanFocus = true; this.txtSharedLibLinker.Name = "txtSharedLibLinker"; this.txtSharedLibLinker.IsEditable = true; this.txtSharedLibLinker.InvisibleChar = '•'; this.table6.Add(this.txtSharedLibLinker); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtSharedLibLinker])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtStaticLibLinker = new global::Gtk.Entry(); this.txtStaticLibLinker.CanFocus = true; this.txtStaticLibLinker.Name = "txtStaticLibLinker"; this.txtStaticLibLinker.IsEditable = true; this.txtStaticLibLinker.InvisibleChar = '•'; this.table6.Add(this.txtStaticLibLinker); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtStaticLibLinker])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox8.Add(this.table6); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.table6])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 1; this.notebook2.ShowBorder = false; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.text_DefaultLibraries = new global::Gtk.TextView(); w6.SetTip(this.text_DefaultLibraries, "A line-separated list of library references to link in by default", "A line-separated list of library references to link in by default"); this.text_DefaultLibraries.HeightRequest = 80; this.text_DefaultLibraries.CanFocus = true; this.text_DefaultLibraries.Name = "text_DefaultLibraries"; this.GtkScrolledWindow.Add(this.text_DefaultLibraries); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w24.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.check_enableLibPrefixing = new global::Gtk.CheckButton(); w6.SetTip(this.check_enableLibPrefixing, @"If checked, all referenced libraries that can not be found locally will be stripped by their file extensions and get a ""-L-l"" prefix as they are passed to the compiler during project building. '../myCustomLib/bin/myCustomLib.a' remains untouched. 'libphobos2.a' becomes '-L-llibphobos2' on compilation. This is mainly activated when using the gdc compiler.", @"If checked, all referenced libraries that can not be found locally will be stripped by their file extensions and get a ""-L-l"" prefix as they are passed to the compiler during project building. '../myCustomLib/bin/myCustomLib.a' remains untouched. 'libphobos2.a' becomes '-L-llibphobos2' on compilation. This is mainly activated when using the gdc compiler."); this.check_enableLibPrefixing.CanFocus = true; this.check_enableLibPrefixing.Name = "check_enableLibPrefixing"; this.check_enableLibPrefixing.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Enable gdc-specific import lib prefix stripping (e.g. libopengl32.a -> opengl32)"); this.check_enableLibPrefixing.Active = true; this.check_enableLibPrefixing.DrawIndicator = true; this.check_enableLibPrefixing.UseUnderline = true; this.vbox2.Add(this.check_enableLibPrefixing); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.check_enableLibPrefixing])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.notebook2.Add(this.vbox2); // Notebook tab this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Default Libraries"); this.notebook2.SetTabLabel(this.vbox2, this.label12); this.label12.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.table2 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); w6.SetTip(this.GtkScrolledWindow1, "Line-separated list of paths where the compiler (and the code completion engine!)" + " shall look in to resolve imports.", "Line-separated list of paths where the compiler (and the code completion engine!)" + " shall look in to resolve imports."); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.text_Includes = new global::Gtk.TextView(); this.text_Includes.CanFocus = true; this.text_Includes.Name = "text_Includes"; this.GtkScrolledWindow1.Add(this.text_Includes); this.table2.Add(this.GtkScrolledWindow1); // Container child table2.Gtk.Table+TableChild this.table3 = new global::Gtk.Table(((uint)(2)), ((uint)(1)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.button_AddInclude = new global::Gtk.Button(); this.button_AddInclude.CanFocus = true; this.button_AddInclude.Name = "button_AddInclude"; this.button_AddInclude.UseUnderline = true; this.button_AddInclude.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Browse & Add"); this.table3.Add(this.button_AddInclude); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3 [this.button_AddInclude])); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.table2.Add(this.table3); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.table3])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add(this.table2); global::Gtk.Notebook.NotebookChild w31 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table2])); w31.Position = 1; // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Includes"); this.notebook2.SetTabLabel(this.table2, this.label1); this.label1.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.tb_ArgPatterns = new global::Gtk.TextView(); this.tb_ArgPatterns.CanFocus = true; this.tb_ArgPatterns.Name = "tb_ArgPatterns"; this.GtkScrolledWindow2.Add(this.tb_ArgPatterns); this.notebook2.Add(this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.GtkScrolledWindow2])); w33.Position = 2; // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("[Arg Patterns]"); this.notebook2.SetTabLabel(this.GtkScrolledWindow2, this.label4); this.label4.ShowAll(); this.vbox8.Add(this.notebook2); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.notebook2])); w34.Position = 1; this.Add(this.vbox8); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.btnDebugArguments.Clicked += new global::System.EventHandler(this.btnDebugArguments_Clicked); this.btnReleaseArguments.Clicked += new global::System.EventHandler(this.btnReleaseArguments_Clicked); this.cmbCompilers.Changed += new global::System.EventHandler(this.OnCmbCompilersChanged); this.btnMakeDefault.Released += new global::System.EventHandler(this.OnTogglebuttonMakeDefaultPressed); this.button_BinPathBrowser.Clicked += new global::System.EventHandler(this.OnButtonBinPathBrowserClicked); this.btnDefaults.Clicked += new global::System.EventHandler(this.OnBtnDefaultsClicked); this.button_AddInclude.Clicked += new global::System.EventHandler(this.OnButtonAddIncludeClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("SerialTest"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(10)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.BorderWidth = ((uint)(3)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(9)); // Container child table1.Gtk.Table+TableChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.LeftPadding = ((uint)(196)); // Container child alignment1.Gtk.Container+ContainerChild this.connectButton = new global::Gtk.Button(); this.connectButton.CanFocus = true; this.connectButton.Name = "connectButton"; this.connectButton.UseStock = true; this.connectButton.UseUnderline = true; this.connectButton.Label = "gtk-connect"; this.alignment1.Add(this.connectButton); this.table1.Add(this.alignment1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.alignment1])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.baudRateComboBox = global::Gtk.ComboBox.NewText(); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("300")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("600")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("1200")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("2400")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("9600")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("14400")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("19200")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("38400")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("57600")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("115200")); this.baudRateComboBox.Name = "baudRateComboBox"; this.table1.Add(this.baudRateComboBox); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.baudRateComboBox])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.baudRateLabel = new global::Gtk.Label(); this.baudRateLabel.Name = "baudRateLabel"; this.baudRateLabel.Xalign = 1F; this.baudRateLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Baud:"); this.baudRateLabel.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.baudRateLabel); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.baudRateLabel])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.portLabel = new global::Gtk.Label(); this.portLabel.Name = "portLabel"; this.portLabel.Xalign = 1F; this.portLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Port:"); this.portLabel.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.portLabel); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.portLabel])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.portsComboBox = global::Gtk.ComboBox.NewText(); this.portsComboBox.Name = "portsComboBox"; this.table1.Add(this.portsComboBox); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.portsComboBox])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table1); this.frame1.Add(this.GtkAlignment); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Connection Settings</b>"); this.GtkLabel1.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel1; this.vbox2.Add(this.frame1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; w9.Padding = ((uint)(10)); this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w10.Position = 0; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(2)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table(((uint)(12)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 02"); this.table2.Add(this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 11"); this.table2.Add(this.label10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10])); w12.TopAttach = ((uint)(9)); w12.BottomAttach = ((uint)(10)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 12"); this.table2.Add(this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11])); w13.TopAttach = ((uint)(10)); w13.BottomAttach = ((uint)(11)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 13"); this.table2.Add(this.label12); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12])); w14.TopAttach = ((uint)(11)); w14.BottomAttach = ((uint)(12)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 03"); this.table2.Add(this.label2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 04"); this.table2.Add(this.label3); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 05"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 06"); this.table2.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 07"); this.table2.Add(this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 08"); this.table2.Add(this.label7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w20.TopAttach = ((uint)(6)); w20.BottomAttach = ((uint)(7)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 09"); this.table2.Add(this.label8); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w21.TopAttach = ((uint)(7)); w21.BottomAttach = ((uint)(8)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 10"); this.table2.Add(this.label9); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider10 = new global::Gtk.HScale(null); this.pwmPinSlider10.CanFocus = true; this.pwmPinSlider10.Name = "pwmPinSlider10"; this.pwmPinSlider10.Adjustment.Upper = 255; this.pwmPinSlider10.Adjustment.PageIncrement = 10; this.pwmPinSlider10.Adjustment.StepIncrement = 1; this.pwmPinSlider10.DrawValue = true; this.pwmPinSlider10.Digits = 0; this.pwmPinSlider10.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider10); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider10])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider11 = new global::Gtk.HScale(null); this.pwmPinSlider11.CanFocus = true; this.pwmPinSlider11.Name = "pwmPinSlider11"; this.pwmPinSlider11.Adjustment.Upper = 255; this.pwmPinSlider11.Adjustment.PageIncrement = 10; this.pwmPinSlider11.Adjustment.StepIncrement = 1; this.pwmPinSlider11.DrawValue = true; this.pwmPinSlider11.Digits = 0; this.pwmPinSlider11.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider11); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider11])); w24.TopAttach = ((uint)(9)); w24.BottomAttach = ((uint)(10)); w24.LeftAttach = ((uint)(2)); w24.RightAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider3 = new global::Gtk.HScale(null); this.pwmPinSlider3.CanFocus = true; this.pwmPinSlider3.Name = "pwmPinSlider3"; this.pwmPinSlider3.Adjustment.Upper = 255; this.pwmPinSlider3.Adjustment.PageIncrement = 10; this.pwmPinSlider3.Adjustment.StepIncrement = 1; this.pwmPinSlider3.DrawValue = true; this.pwmPinSlider3.Digits = 0; this.pwmPinSlider3.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider3); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider3])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider5 = new global::Gtk.HScale(null); this.pwmPinSlider5.CanFocus = true; this.pwmPinSlider5.Name = "pwmPinSlider5"; this.pwmPinSlider5.Adjustment.Upper = 255; this.pwmPinSlider5.Adjustment.PageIncrement = 10; this.pwmPinSlider5.Adjustment.StepIncrement = 1; this.pwmPinSlider5.DrawValue = true; this.pwmPinSlider5.Digits = 0; this.pwmPinSlider5.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider5); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider5])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider6 = new global::Gtk.HScale(null); this.pwmPinSlider6.CanFocus = true; this.pwmPinSlider6.Name = "pwmPinSlider6"; this.pwmPinSlider6.Adjustment.Upper = 255; this.pwmPinSlider6.Adjustment.PageIncrement = 10; this.pwmPinSlider6.Adjustment.StepIncrement = 1; this.pwmPinSlider6.DrawValue = true; this.pwmPinSlider6.Digits = 0; this.pwmPinSlider6.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider6])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider9 = new global::Gtk.HScale(null); this.pwmPinSlider9.CanFocus = true; this.pwmPinSlider9.Name = "pwmPinSlider9"; this.pwmPinSlider9.Adjustment.Upper = 255; this.pwmPinSlider9.Adjustment.PageIncrement = 10; this.pwmPinSlider9.Adjustment.StepIncrement = 1; this.pwmPinSlider9.DrawValue = true; this.pwmPinSlider9.Digits = 0; this.pwmPinSlider9.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider9); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider9])); w28.TopAttach = ((uint)(7)); w28.BottomAttach = ((uint)(8)); w28.LeftAttach = ((uint)(2)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmValue10 = new global::Gtk.Entry(); this.pwmValue10.CanFocus = true; this.pwmValue10.Name = "pwmValue10"; this.pwmValue10.IsEditable = true; this.pwmValue10.InvisibleChar = '•'; this.table2.Add(this.pwmValue10); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue10])); w29.TopAttach = ((uint)(8)); w29.BottomAttach = ((uint)(9)); w29.LeftAttach = ((uint)(3)); w29.RightAttach = ((uint)(4)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmValue11 = new global::Gtk.Entry(); this.pwmValue11.CanFocus = true; this.pwmValue11.Name = "pwmValue11"; this.pwmValue11.IsEditable = true; this.pwmValue11.InvisibleChar = '•'; this.table2.Add(this.pwmValue11); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue11])); w30.TopAttach = ((uint)(9)); w30.BottomAttach = ((uint)(10)); w30.LeftAttach = ((uint)(3)); w30.RightAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmValue3 = new global::Gtk.Entry(); this.pwmValue3.CanFocus = true; this.pwmValue3.Name = "pwmValue3"; this.pwmValue3.IsEditable = true; this.pwmValue3.MaxLength = 3; this.pwmValue3.InvisibleChar = '•'; this.table2.Add(this.pwmValue3); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue3])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.LeftAttach = ((uint)(3)); w31.RightAttach = ((uint)(4)); w31.XOptions = ((global::Gtk.AttachOptions)(0)); w31.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.pwmValue5 = new global::Gtk.Entry(); this.pwmValue5.CanFocus = true; this.pwmValue5.Name = "pwmValue5"; this.pwmValue5.IsEditable = true; this.pwmValue5.InvisibleChar = '•'; this.table2.Add(this.pwmValue5); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue5])); w32.TopAttach = ((uint)(3)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(3)); w32.RightAttach = ((uint)(4)); w32.XOptions = ((global::Gtk.AttachOptions)(0)); w32.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.pwmValue6 = new global::Gtk.Entry(); this.pwmValue6.CanFocus = true; this.pwmValue6.Name = "pwmValue6"; this.pwmValue6.IsEditable = true; this.pwmValue6.InvisibleChar = '•'; this.table2.Add(this.pwmValue6); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue6])); w33.TopAttach = ((uint)(4)); w33.BottomAttach = ((uint)(5)); w33.LeftAttach = ((uint)(3)); w33.RightAttach = ((uint)(4)); w33.XOptions = ((global::Gtk.AttachOptions)(0)); w33.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.pwmValue9 = new global::Gtk.Entry(); this.pwmValue9.CanFocus = true; this.pwmValue9.Name = "pwmValue9"; this.pwmValue9.IsEditable = true; this.pwmValue9.InvisibleChar = '•'; this.table2.Add(this.pwmValue9); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue9])); w34.TopAttach = ((uint)(7)); w34.BottomAttach = ((uint)(8)); w34.LeftAttach = ((uint)(3)); w34.RightAttach = ((uint)(4)); w34.XOptions = ((global::Gtk.AttachOptions)(0)); w34.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin10 = new global::Gtk.ToggleButton(); this.togglebuttonPin10.CanFocus = true; this.togglebuttonPin10.Name = "togglebuttonPin10"; this.togglebuttonPin10.UseUnderline = true; this.togglebuttonPin10.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w35 = new global::Gtk.Image(); w35.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin10.Image = w35; this.table2.Add(this.togglebuttonPin10); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin10])); w36.TopAttach = ((uint)(8)); w36.BottomAttach = ((uint)(9)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin11 = new global::Gtk.ToggleButton(); this.togglebuttonPin11.CanFocus = true; this.togglebuttonPin11.Name = "togglebuttonPin11"; this.togglebuttonPin11.UseUnderline = true; this.togglebuttonPin11.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w37 = new global::Gtk.Image(); w37.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin11.Image = w37; this.table2.Add(this.togglebuttonPin11); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin11])); w38.TopAttach = ((uint)(9)); w38.BottomAttach = ((uint)(10)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin12 = new global::Gtk.ToggleButton(); this.togglebuttonPin12.CanFocus = true; this.togglebuttonPin12.Name = "togglebuttonPin12"; this.togglebuttonPin12.UseUnderline = true; this.togglebuttonPin12.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w39 = new global::Gtk.Image(); w39.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin12.Image = w39; this.table2.Add(this.togglebuttonPin12); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin12])); w40.TopAttach = ((uint)(10)); w40.BottomAttach = ((uint)(11)); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin13 = new global::Gtk.ToggleButton(); this.togglebuttonPin13.CanFocus = true; this.togglebuttonPin13.Name = "togglebuttonPin13"; this.togglebuttonPin13.UseUnderline = true; this.togglebuttonPin13.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w41 = new global::Gtk.Image(); w41.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin13.Image = w41; this.table2.Add(this.togglebuttonPin13); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin13])); w42.TopAttach = ((uint)(11)); w42.BottomAttach = ((uint)(12)); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin2 = new global::Gtk.ToggleButton(); this.togglebuttonPin2.CanFocus = true; this.togglebuttonPin2.Name = "togglebuttonPin2"; this.togglebuttonPin2.UseUnderline = true; this.togglebuttonPin2.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w43 = new global::Gtk.Image(); w43.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin2.Image = w43; this.table2.Add(this.togglebuttonPin2); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin2])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin3 = new global::Gtk.ToggleButton(); this.togglebuttonPin3.CanFocus = true; this.togglebuttonPin3.Name = "togglebuttonPin3"; this.togglebuttonPin3.UseUnderline = true; this.togglebuttonPin3.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w45 = new global::Gtk.Image(); w45.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin3.Image = w45; this.table2.Add(this.togglebuttonPin3); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin3])); w46.TopAttach = ((uint)(1)); w46.BottomAttach = ((uint)(2)); w46.LeftAttach = ((uint)(1)); w46.RightAttach = ((uint)(2)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin4 = new global::Gtk.ToggleButton(); this.togglebuttonPin4.CanFocus = true; this.togglebuttonPin4.Name = "togglebuttonPin4"; this.togglebuttonPin4.UseUnderline = true; this.togglebuttonPin4.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w47 = new global::Gtk.Image(); w47.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin4.Image = w47; this.table2.Add(this.togglebuttonPin4); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin4])); w48.TopAttach = ((uint)(2)); w48.BottomAttach = ((uint)(3)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(2)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin5 = new global::Gtk.ToggleButton(); this.togglebuttonPin5.CanFocus = true; this.togglebuttonPin5.Name = "togglebuttonPin5"; this.togglebuttonPin5.UseUnderline = true; this.togglebuttonPin5.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w49 = new global::Gtk.Image(); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin5.Image = w49; this.table2.Add(this.togglebuttonPin5); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin5])); w50.TopAttach = ((uint)(3)); w50.BottomAttach = ((uint)(4)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin6 = new global::Gtk.ToggleButton(); this.togglebuttonPin6.CanFocus = true; this.togglebuttonPin6.Name = "togglebuttonPin6"; this.togglebuttonPin6.UseUnderline = true; this.togglebuttonPin6.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w51 = new global::Gtk.Image(); w51.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin6.Image = w51; this.table2.Add(this.togglebuttonPin6); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin6])); w52.TopAttach = ((uint)(4)); w52.BottomAttach = ((uint)(5)); w52.LeftAttach = ((uint)(1)); w52.RightAttach = ((uint)(2)); w52.XOptions = ((global::Gtk.AttachOptions)(4)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin7 = new global::Gtk.ToggleButton(); this.togglebuttonPin7.CanFocus = true; this.togglebuttonPin7.Name = "togglebuttonPin7"; this.togglebuttonPin7.UseUnderline = true; this.togglebuttonPin7.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w53 = new global::Gtk.Image(); w53.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin7.Image = w53; this.table2.Add(this.togglebuttonPin7); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin7])); w54.TopAttach = ((uint)(5)); w54.BottomAttach = ((uint)(6)); w54.LeftAttach = ((uint)(1)); w54.RightAttach = ((uint)(2)); w54.XOptions = ((global::Gtk.AttachOptions)(4)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin8 = new global::Gtk.ToggleButton(); this.togglebuttonPin8.CanFocus = true; this.togglebuttonPin8.Name = "togglebuttonPin8"; this.togglebuttonPin8.UseUnderline = true; this.togglebuttonPin8.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w55 = new global::Gtk.Image(); w55.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin8.Image = w55; this.table2.Add(this.togglebuttonPin8); global::Gtk.Table.TableChild w56 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin8])); w56.TopAttach = ((uint)(6)); w56.BottomAttach = ((uint)(7)); w56.LeftAttach = ((uint)(1)); w56.RightAttach = ((uint)(2)); w56.XOptions = ((global::Gtk.AttachOptions)(4)); w56.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin9 = new global::Gtk.ToggleButton(); this.togglebuttonPin9.CanFocus = true; this.togglebuttonPin9.Name = "togglebuttonPin9"; this.togglebuttonPin9.UseUnderline = true; this.togglebuttonPin9.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w57 = new global::Gtk.Image(); w57.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin9.Image = w57; this.table2.Add(this.togglebuttonPin9); global::Gtk.Table.TableChild w58 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin9])); w58.TopAttach = ((uint)(7)); w58.BottomAttach = ((uint)(8)); w58.LeftAttach = ((uint)(1)); w58.RightAttach = ((uint)(2)); w58.XOptions = ((global::Gtk.AttachOptions)(4)); w58.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment1.Add(this.table2); this.frame2.Add(this.GtkAlignment1); this.GtkLabel14 = new global::Gtk.Label(); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Control</b>"); this.GtkLabel14.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel14; this.vbox1.Add(this.frame2); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame2])); w61.Position = 1; w61.Expand = false; w61.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Homogeneous = true; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.statusCommandEntry = new global::Gtk.Entry(); this.statusCommandEntry.CanFocus = true; this.statusCommandEntry.Name = "statusCommandEntry"; this.statusCommandEntry.IsEditable = false; this.statusCommandEntry.InvisibleChar = '•'; this.statusbar1.Add(this.statusCommandEntry); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.statusCommandEntry])); w62.Position = 1; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w63.Position = 2; w63.Expand = false; w63.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 512; this.DefaultHeight = 718; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.portsComboBox.Changed += new global::System.EventHandler(this.OnPortsComboBoxChanged); this.connectButton.Clicked += new global::System.EventHandler(this.OnConnectButtonClicked); this.togglebuttonPin9.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin8.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin7.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin6.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin5.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin4.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin3.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin2.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin13.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin12.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin11.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin10.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.pwmValue9.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue6.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue5.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue3.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue11.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue10.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmPinSlider9.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider6.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider5.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider3.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider11.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider10.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", "File", null, null); this.FileAction.ShortLabel = "File"; w1.Add (this.FileAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", "Exit", null, null); this.ExitAction.ShortLabel = "Exit"; w1.Add (this.ExitAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", "Help", null, null); this.HelpAction.ShortLabel = "Help"; w1.Add (this.HelpAction, null); this.UserManualAction = new global::Gtk.Action ("UserManualAction", "User manual", null, null); this.UserManualAction.ShortLabel = "User manual"; w1.Add (this.UserManualAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", "About", null, null); this.AboutAction.ShortLabel = "About"; w1.Add (this.AboutAction, null); this.SwitchBackendWindowsOnlyAction = new global::Gtk.Action ("SwitchBackendWindowsOnlyAction", "Switch backend (Windows only)", null, null); this.SwitchBackendWindowsOnlyAction.ShortLabel = "Switch backend"; w1.Add (this.SwitchBackendWindowsOnlyAction, null); this.SwitchBackendAction = new global::Gtk.Action ("SwitchBackendAction", "Switch backend", null, null); this.SwitchBackendAction.ShortLabel = "Switch backend"; w1.Add (this.SwitchBackendAction, null); this.HelpAction1 = new global::Gtk.Action ("HelpAction1", "Help", null, null); this.HelpAction1.ShortLabel = "Help"; w1.Add (this.HelpAction1, null); this.UserManualAction1 = new global::Gtk.Action ("UserManualAction1", "User manual", null, null); this.UserManualAction1.ShortLabel = "User manual"; w1.Add (this.UserManualAction1, null); this.AboutAction1 = new global::Gtk.Action ("AboutAction1", "About", null, null); this.AboutAction1.ShortLabel = "About"; w1.Add (this.AboutAction1, null); this.RegenerateKeyAction = new global::Gtk.Action ("RegenerateKeyAction", "Regenerate key", null, null); this.RegenerateKeyAction.ShortLabel = "Regenerate key"; w1.Add (this.RegenerateKeyAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "Kirisurf"; this.Icon = global::Gdk.Pixbuf.LoadFromResource ("Kirisurf.kiri.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='HelpAction1' action='HelpAction1'><menuitem name='UserManualAction1' action='UserManualAction1'/><menuitem name='AboutAction1' action='AboutAction1'/></menu><menu name='RegenerateKeyAction' action='RegenerateKeyAction'/></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox3.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.table5 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), true); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(13)); this.table5.BorderWidth = ((uint)(5)); // Container child table5.Gtk.Table+TableChild this.forceLab = new global::Gtk.Label (); this.forceLab.Name = "forceLab"; this.forceLab.LabelProp = "Force all HTTP to go through Kirisurf:"; this.table5.Add (this.forceLab); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table5 [this.forceLab])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.hideButt = new global::Gtk.Button (); this.hideButt.CanFocus = true; this.hideButt.Name = "hideButt"; this.hideButt.UseUnderline = true; this.hideButt.Label = "Hide Kirisurf to system tray"; this.table5.Add (this.hideButt); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table5 [this.hideButt])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.httpLab = new global::Gtk.Label (); this.httpLab.Name = "httpLab"; this.httpLab.LabelProp = "Local HTTP proxy port:"; this.table5.Add (this.httpLab); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table5 [this.httpLab])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.httpPort = new global::Gtk.Label (); this.httpPort.Name = "httpPort"; this.httpPort.LabelProp = "<b>13370</b>"; this.httpPort.UseMarkup = true; this.table5.Add (this.httpPort); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table5 [this.httpPort])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.socksLab = new global::Gtk.Label (); this.socksLab.Name = "socksLab"; this.socksLab.LabelProp = "Local SOCKS4a proxy port:"; this.table5.Add (this.socksLab); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table5 [this.socksLab])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.socksPort = new global::Gtk.Label (); this.socksPort.Name = "socksPort"; this.socksPort.LabelProp = "<b>13371</b>"; this.socksPort.UseMarkup = true; this.table5.Add (this.socksPort); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table5 [this.socksPort])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.table3 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.fLight = new global::Gtk.ProgressBar (); this.fLight.Name = "fLight"; this.fLight.Text = "DEACTIVATED"; this.table3.Add (this.fLight); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.fLight])); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.forceToggle = new global::Gtk.ToggleButton (); this.forceToggle.WidthRequest = 34; this.forceToggle.CanFocus = true; this.forceToggle.Name = "forceToggle"; this.forceToggle.UseUnderline = true; this.forceToggle.Label = ""; this.table3.Add (this.forceToggle); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.forceToggle])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.table5.Add (this.table3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table5 [this.table3])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.table5); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table5])); w12.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.fixed8 = new global::Gtk.Fixed (); this.fixed8.Name = "fixed8"; this.fixed8.HasWindow = false; this.vbox4.Add (this.fixed8); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.fixed8])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.HeightRequest = 0; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.vbox4.Add (this.fixed1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.fixed1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(5)); // Container child hbox1.Gtk.Box+BoxChild this.pingStatus = new global::Gtk.Label (); this.pingStatus.Name = "pingStatus"; this.pingStatus.LabelProp = "Connecting..."; this.pingStatus.Selectable = true; this.hbox1.Add (this.pingStatus); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.pingStatus])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.WidthRequest = 30; this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox1.Add (this.fixed2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed2])); w16.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.speedLab = new global::Gtk.Label (); this.speedLab.Name = "speedLab"; this.speedLab.LabelProp = "Throughput:"; this.table2.Add (this.speedLab); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.speedLab])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.speedStatus = new global::Gtk.Entry (); this.speedStatus.CanFocus = true; this.speedStatus.Name = "speedStatus"; this.speedStatus.Text = "not yet tested"; this.speedStatus.IsEditable = false; this.speedStatus.InvisibleChar = '●'; this.table2.Add (this.speedStatus); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.speedStatus])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.testButton = new global::Gtk.Button (); this.testButton.WidthRequest = 46; this.testButton.CanFocus = true; this.testButton.Name = "testButton"; this.testButton.UseUnderline = true; this.testButton.Label = "Test"; this.table2.Add (this.testButton); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.testButton])); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 2; this.vbox4.Add (this.hbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox1])); w21.Position = 3; w21.Expand = false; w21.Fill = false; this.vbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox4])); w22.Position = 2; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 442; this.DefaultHeight = 266; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.ExitAction.Activated += new global::System.EventHandler (this.OnExitActionActivated); this.SwitchBackendAction.Activated += new global::System.EventHandler (this.OnSwitchBackendActionActivated); this.UserManualAction1.Activated += new global::System.EventHandler (this.OnUserManualAction1Activated); this.AboutAction1.Activated += new global::System.EventHandler (this.OnAboutAction1Activated); this.RegenerateKeyAction.Activated += new global::System.EventHandler (this.OnRegenerateKeyActionActivated); this.forceToggle.Toggled += new global::System.EventHandler (this.OnForceToggleToggled); this.hideButt.Clicked += new global::System.EventHandler (this.OnHideButtClicked); this.testButton.Clicked += new global::System.EventHandler (this.OnTestButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.D.OptionPanels.DCompilerOptions global::Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.D.OptionPanels.DCompilerOptions"; // Container child MonoDevelop.D.OptionPanels.DCompilerOptions.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.table6 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.table6.Name = "table6"; this.table6.RowSpacing = ((uint)(6)); this.table6.ColumnSpacing = ((uint)(6)); // Container child table6.Gtk.Table+TableChild this.btnDefaults = new global::Gtk.Button(); this.btnDefaults.CanFocus = true; this.btnDefaults.Name = "btnDefaults"; this.btnDefaults.UseUnderline = true; this.btnDefaults.Label = global::Mono.Unix.Catalog.GetString("Defaults"); this.table6.Add(this.btnDefaults); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table6 [this.btnDefaults])); w1.TopAttach = ((uint)(7)); w1.BottomAttach = ((uint)(8)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 2; // Container child hbox2.Gtk.Box+BoxChild this.txtBinPath = new global::Gtk.Entry(); this.txtBinPath.CanFocus = true; this.txtBinPath.Name = "txtBinPath"; this.txtBinPath.IsEditable = true; this.txtBinPath.InvisibleChar = '●'; this.hbox2.Add(this.txtBinPath); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.txtBinPath])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.button_BinPathBrowser = new global::Gtk.Button(); this.button_BinPathBrowser.CanFocus = true; this.button_BinPathBrowser.Name = "button_BinPathBrowser"; this.button_BinPathBrowser.UseUnderline = true; this.button_BinPathBrowser.Label = global::Mono.Unix.Catalog.GetString("Browse..."); this.hbox2.Add(this.button_BinPathBrowser); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button_BinPathBrowser])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.table6.Add(this.hbox2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox2])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 2; // Container child hbox4.Gtk.Box+BoxChild this.cmbCompilers = global::Gtk.ComboBoxEntry.NewText(); this.cmbCompilers.Name = "cmbCompilers"; this.hbox4.Add(this.cmbCompilers); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.cmbCompilers])); w5.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.btnApplyRenaming = new global::Gtk.Button(); this.btnApplyRenaming.TooltipMarkup = "Press to rename current compiler configuration"; this.btnApplyRenaming.CanFocus = true; this.btnApplyRenaming.Name = "btnApplyRenaming"; this.btnApplyRenaming.UseUnderline = true; this.btnApplyRenaming.Label = global::Mono.Unix.Catalog.GetString("Apply new name"); this.hbox4.Add(this.btnApplyRenaming); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnApplyRenaming])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.btnAddCompiler = new global::Gtk.Button(); this.btnAddCompiler.TooltipMarkup = "Click to add an empty configuration with the name entered in the drop-down"; this.btnAddCompiler.WidthRequest = 24; this.btnAddCompiler.CanFocus = true; this.btnAddCompiler.Name = "btnAddCompiler"; this.btnAddCompiler.UseUnderline = true; // Container child btnAddCompiler.Gtk.Container+ContainerChild global::Gtk.Alignment w7 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w8 = new global::Gtk.HBox(); w8.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); w8.Add(w9); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w11 = new global::Gtk.Label(); w8.Add(w11); w7.Add(w8); this.btnAddCompiler.Add(w7); this.hbox4.Add(this.btnAddCompiler); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnAddCompiler])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.btnRemoveCompiler = new global::Gtk.Button(); this.btnRemoveCompiler.TooltipMarkup = "Remove current configuration"; this.btnRemoveCompiler.WidthRequest = 24; this.btnRemoveCompiler.CanFocus = true; this.btnRemoveCompiler.Name = "btnRemoveCompiler"; this.btnRemoveCompiler.UseUnderline = true; // Container child btnRemoveCompiler.Gtk.Container+ContainerChild global::Gtk.Alignment w16 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w17 = new global::Gtk.HBox(); w17.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); w17.Add(w18); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w20 = new global::Gtk.Label(); w17.Add(w20); w16.Add(w17); this.btnRemoveCompiler.Add(w16); this.hbox4.Add(this.btnRemoveCompiler); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnRemoveCompiler])); w24.Position = 3; w24.Expand = false; w24.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.btnMakeDefault = new global::Gtk.ToggleButton(); this.btnMakeDefault.TooltipMarkup = "Click to make the current configuration default"; this.btnMakeDefault.Name = "btnMakeDefault"; this.btnMakeDefault.UseUnderline = true; this.btnMakeDefault.Active = true; this.btnMakeDefault.Label = global::Mono.Unix.Catalog.GetString("Make Default"); this.hbox4.Add(this.btnMakeDefault); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnMakeDefault])); w25.Position = 4; w25.Expand = false; w25.Fill = false; this.table6.Add(this.hbox4); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox4])); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.btnDebugArguments = new global::Gtk.Button(); this.btnDebugArguments.CanFocus = true; this.btnDebugArguments.Name = "btnDebugArguments"; this.btnDebugArguments.UseUnderline = true; this.btnDebugArguments.Label = global::Mono.Unix.Catalog.GetString("Debug Arguments"); this.hbox8.Add(this.btnDebugArguments); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnDebugArguments])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnReleaseArguments = new global::Gtk.Button(); this.btnReleaseArguments.CanFocus = true; this.btnReleaseArguments.Name = "btnReleaseArguments"; this.btnReleaseArguments.UseUnderline = true; this.btnReleaseArguments.Label = global::Mono.Unix.Catalog.GetString("Release Arguments"); this.hbox8.Add(this.btnReleaseArguments); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnReleaseArguments])); w28.Position = 2; w28.Expand = false; w28.Fill = false; this.table6.Add(this.hbox8); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox8])); w29.TopAttach = ((uint)(7)); w29.BottomAttach = ((uint)(8)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Toolchain bin path"); this.table6.Add(this.label2); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table6 [this.label2])); w30.TopAttach = ((uint)(1)); w30.BottomAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("Static lib linker"); this.table6.Add(this.label28); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table6 [this.label28])); w31.TopAttach = ((uint)(6)); w31.BottomAttach = ((uint)(7)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label29 = new global::Gtk.Label(); this.label29.Name = "label29"; this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Shared lib linker"); this.table6.Add(this.label29); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table6 [this.label29])); w32.TopAttach = ((uint)(5)); w32.BottomAttach = ((uint)(6)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Compiler"); this.table6.Add(this.label3); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table6 [this.label3])); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label30 = new global::Gtk.Label(); this.label30.Name = "label30"; this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("Console app linker"); this.table6.Add(this.label30); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table6 [this.label30])); w34.TopAttach = ((uint)(4)); w34.BottomAttach = ((uint)(5)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Compiler executable"); this.table6.Add(this.label31); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table6 [this.label31])); w35.TopAttach = ((uint)(2)); w35.BottomAttach = ((uint)(3)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("GUI app linker"); this.table6.Add(this.label32); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table6 [this.label32])); w36.TopAttach = ((uint)(3)); w36.BottomAttach = ((uint)(4)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtCompiler = new global::Gtk.Entry(); this.txtCompiler.CanFocus = true; this.txtCompiler.Name = "txtCompiler"; this.txtCompiler.IsEditable = true; this.txtCompiler.InvisibleChar = '•'; this.table6.Add(this.txtCompiler); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtCompiler])); w37.TopAttach = ((uint)(2)); w37.BottomAttach = ((uint)(3)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtConsoleAppLinker = new global::Gtk.Entry(); this.txtConsoleAppLinker.CanFocus = true; this.txtConsoleAppLinker.Name = "txtConsoleAppLinker"; this.txtConsoleAppLinker.IsEditable = true; this.txtConsoleAppLinker.InvisibleChar = '•'; this.table6.Add(this.txtConsoleAppLinker); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtConsoleAppLinker])); w38.TopAttach = ((uint)(4)); w38.BottomAttach = ((uint)(5)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtGUIAppLinker = new global::Gtk.Entry(); this.txtGUIAppLinker.CanFocus = true; this.txtGUIAppLinker.Name = "txtGUIAppLinker"; this.txtGUIAppLinker.IsEditable = true; this.txtGUIAppLinker.InvisibleChar = '•'; this.table6.Add(this.txtGUIAppLinker); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtGUIAppLinker])); w39.TopAttach = ((uint)(3)); w39.BottomAttach = ((uint)(4)); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtSharedLibLinker = new global::Gtk.Entry(); this.txtSharedLibLinker.CanFocus = true; this.txtSharedLibLinker.Name = "txtSharedLibLinker"; this.txtSharedLibLinker.IsEditable = true; this.txtSharedLibLinker.InvisibleChar = '•'; this.table6.Add(this.txtSharedLibLinker); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtSharedLibLinker])); w40.TopAttach = ((uint)(5)); w40.BottomAttach = ((uint)(6)); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtStaticLibLinker = new global::Gtk.Entry(); this.txtStaticLibLinker.CanFocus = true; this.txtStaticLibLinker.Name = "txtStaticLibLinker"; this.txtStaticLibLinker.IsEditable = true; this.txtStaticLibLinker.InvisibleChar = '•'; this.table6.Add(this.txtStaticLibLinker); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtStaticLibLinker])); w41.TopAttach = ((uint)(6)); w41.BottomAttach = ((uint)(7)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox8.Add(this.table6); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.table6])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 1; this.notebook2.ShowBorder = false; // Container child notebook2.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.text_DefaultLibraries = new global::Gtk.TextView(); this.text_DefaultLibraries.TooltipMarkup = "A line-separated list of library references to link in by default"; this.text_DefaultLibraries.HeightRequest = 80; this.text_DefaultLibraries.CanFocus = true; this.text_DefaultLibraries.Name = "text_DefaultLibraries"; this.GtkScrolledWindow.Add(this.text_DefaultLibraries); this.notebook2.Add(this.GtkScrolledWindow); // Notebook tab this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Default Libraries"); this.notebook2.SetTabLabel(this.GtkScrolledWindow, this.label12); this.label12.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.table2 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.TooltipMarkup = "Line-separated list of paths where the compiler (and the code completion engine!)" + " shall look in to resolve imports."; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.text_Includes = new global::Gtk.TextView(); this.text_Includes.CanFocus = true; this.text_Includes.Name = "text_Includes"; this.GtkScrolledWindow1.Add(this.text_Includes); this.table2.Add(this.GtkScrolledWindow1); // Container child table2.Gtk.Table+TableChild this.table3 = new global::Gtk.Table(((uint)(2)), ((uint)(1)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.button_AddInclude = new global::Gtk.Button(); this.button_AddInclude.CanFocus = true; this.button_AddInclude.Name = "button_AddInclude"; this.button_AddInclude.UseUnderline = true; this.button_AddInclude.Label = global::Mono.Unix.Catalog.GetString("Browse & Add"); this.table3.Add(this.button_AddInclude); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table3 [this.button_AddInclude])); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); this.table2.Add(this.table3); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table2 [this.table3])); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(2)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add(this.table2); global::Gtk.Notebook.NotebookChild w49 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table2])); w49.Position = 1; // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Includes"); this.notebook2.SetTabLabel(this.table2, this.label1); this.label1.ShowAll(); this.vbox8.Add(this.notebook2); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.notebook2])); w50.Position = 1; this.Add(this.vbox8); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.btnDebugArguments.Clicked += new global::System.EventHandler(this.btnDebugArguments_Clicked); this.btnReleaseArguments.Clicked += new global::System.EventHandler(this.btnReleaseArguments_Clicked); this.cmbCompilers.Changed += new global::System.EventHandler(this.OnCmbCompilersChanged); this.btnApplyRenaming.Pressed += new global::System.EventHandler(this.OnBtnApplyRenamingPressed); this.btnAddCompiler.Clicked += new global::System.EventHandler(this.OnBtnAddCompilerClicked); this.btnRemoveCompiler.Clicked += new global::System.EventHandler(this.OnBtnRemoveCompilerClicked); this.btnMakeDefault.Released += new global::System.EventHandler(this.OnTogglebuttonMakeDefaultPressed); this.button_BinPathBrowser.Clicked += new global::System.EventHandler(this.OnButtonBinPathBrowserClicked); this.btnDefaults.Clicked += new global::System.EventHandler(this.OnBtnDefaultsClicked); this.button_AddInclude.Clicked += new global::System.EventHandler(this.OnButtonAddIncludeClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.RouteListTrackDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.RouteListTrackDlg"; // Container child Vodovoz.RouteListTrackDlg.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Водители в пути"); this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.yTreeViewDrivers = new global::QSOrmProject.RepresentationTreeView (); this.yTreeViewDrivers.WidthRequest = 500; this.yTreeViewDrivers.CanFocus = true; this.yTreeViewDrivers.Name = "yTreeViewDrivers"; this.GtkScrolledWindow.Add (this.yTreeViewDrivers); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w3.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonChat = new global::Gtk.Button (); this.buttonChat.CanFocus = true; this.buttonChat.Name = "buttonChat"; this.buttonChat.UseUnderline = true; this.buttonChat.Label = global::Mono.Unix.Catalog.GetString ("Открыть чат"); global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("chat-icon.png"); this.buttonChat.Image = w4; this.hbox2.Add (this.buttonChat); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonChat])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxRight = new global::Gtk.VBox (); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; // Container child vboxRight.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Список адресов"); this.vboxRight.Add (this.label2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.label2])); w8.Position = 0; w8.Expand = false; // Container child vboxRight.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.yTreeAddresses = new global::QSOrmProject.RepresentationTreeView (); this.yTreeAddresses.WidthRequest = 600; this.yTreeAddresses.HeightRequest = 150; this.yTreeAddresses.CanFocus = true; this.yTreeAddresses.Name = "yTreeAddresses"; this.GtkScrolledWindow1.Add (this.yTreeAddresses); this.vboxRight.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.GtkScrolledWindow1])); w10.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.toggleButtonHideAddresses = new global::Gtk.ToggleButton (); this.toggleButtonHideAddresses.TooltipMarkup = "Скрыть\\показать адреса."; this.toggleButtonHideAddresses.CanFocus = true; this.toggleButtonHideAddresses.Name = "toggleButtonHideAddresses"; this.toggleButtonHideAddresses.UseUnderline = true; this.toggleButtonHideAddresses.Label = global::Mono.Unix.Catalog.GetString ("⇧⇩"); this.hbox3.Add (this.toggleButtonHideAddresses); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.toggleButtonHideAddresses])); w11.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.buttonCleanTrack = new global::Gtk.Button (); this.buttonCleanTrack.Sensitive = false; this.buttonCleanTrack.CanFocus = true; this.buttonCleanTrack.Name = "buttonCleanTrack"; this.buttonCleanTrack.UseUnderline = true; this.buttonCleanTrack.Label = global::Mono.Unix.Catalog.GetString ("Убрать трек"); global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCleanTrack.Image = w12; this.hbox3.Add (this.buttonCleanTrack); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonCleanTrack])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox (); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox3.Add (this.yenumcomboMapType); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yenumcomboMapType])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonMapInWindow = new global::Gtk.Button (); this.buttonMapInWindow.CanFocus = true; this.buttonMapInWindow.Name = "buttonMapInWindow"; this.buttonMapInWindow.UseUnderline = true; this.buttonMapInWindow.Label = global::Mono.Unix.Catalog.GetString ("Карта в окне"); global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Vodovoz.icons.buttons.window-new.png"); this.buttonMapInWindow.Image = w15; this.hbox3.Add (this.buttonMapInWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonMapInWindow])); w16.Position = 3; w16.Expand = false; w16.Fill = false; this.vboxRight.Add (this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.hbox3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl (); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = false; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vboxRight.Add (this.gmapWidget); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.gmapWidget])); w18.Position = 3; this.hbox1.Add (this.vboxRight); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vboxRight])); w19.Position = 1; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.yTreeViewDrivers.RowActivated += new global::Gtk.RowActivatedHandler (this.OnYTreeViewDriversRowActivated); this.buttonChat.Clicked += new global::System.EventHandler (this.OnButtonChatClicked); this.toggleButtonHideAddresses.Toggled += new global::System.EventHandler (this.OnToggleButtonHideAddressesToggled); this.buttonCleanTrack.Clicked += new global::System.EventHandler (this.OnButtonCleanTrackClicked); this.yenumcomboMapType.ChangedByUser += new global::System.EventHandler (this.OnYenumcomboMapTypeChangedByUser); this.buttonMapInWindow.Clicked += new global::System.EventHandler (this.OnButtonMapInWindowClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget TraceLab.UI.GTK.ExperimentCanvasWidget global::Stetic.BinContainer.Attach(this); this.Name = "TraceLab.UI.GTK.ExperimentCanvasWidget"; // Container child TraceLab.UI.GTK.ExperimentCanvasWidget.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.experimentCrumbs = new global::TraceLab.UI.GTK.Crumbs(); this.experimentCrumbs.Events = ((global::Gdk.EventMask)(256)); this.experimentCrumbs.Name = "experimentCrumbs"; this.experimentCrumbs.Radius = 5; this.experimentCrumbs.Spacing = 11; this.experimentCrumbs.Xoffset = 12; this.experimentCrumbs.Yoffset = 6; this.vbox2.Add(this.experimentCrumbs); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.experimentCrumbs])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.experimentCanvas = new global::MonoHotDraw.SteticComponent(); this.experimentCanvas.Events = ((global::Gdk.EventMask)(256)); this.experimentCanvas.Name = "experimentCanvas"; this.vbox2.Add(this.experimentCanvas); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.experimentCanvas])); w2.Position = 1; this.hbox2.Add(this.vbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w3.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.zoomScale = new global::Gtk.VScale(null); this.zoomScale.HeightRequest = 300; this.zoomScale.CanFocus = true; this.zoomScale.Name = "zoomScale"; this.zoomScale.Inverted = true; this.zoomScale.Adjustment.Lower = 0.1D; this.zoomScale.Adjustment.Upper = 3D; this.zoomScale.Adjustment.PageIncrement = 0.1D; this.zoomScale.Adjustment.StepIncrement = 0.01D; this.zoomScale.Adjustment.Value = 1D; this.zoomScale.DrawValue = true; this.zoomScale.Digits = 2; this.zoomScale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox1.Add(this.zoomScale); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.zoomScale])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scaleToOriginalSizeButton = new global::Gtk.Button(); this.scaleToOriginalSizeButton.TooltipMarkup = "Zoom to orginal 1:1 scale"; this.scaleToOriginalSizeButton.CanFocus = true; this.scaleToOriginalSizeButton.Name = "scaleToOriginalSizeButton"; // Container child scaleToOriginalSizeButton.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-zoom-100", global::Gtk.IconSize.Menu); w6.Add(w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label(); w6.Add(w9); w5.Add(w6); this.scaleToOriginalSizeButton.Add(w5); this.vbox1.Add(this.scaleToOriginalSizeButton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.scaleToOriginalSizeButton])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.zoomToFitButton = new global::Gtk.Button(); this.zoomToFitButton.TooltipMarkup = "Zoom to fit"; this.zoomToFitButton.CanFocus = true; this.zoomToFitButton.Name = "zoomToFitButton"; // Container child zoomToFitButton.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-zoom-fit", global::Gtk.IconSize.Menu); w15.Add(w16); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w18 = new global::Gtk.Label(); w15.Add(w18); w14.Add(w15); this.zoomToFitButton.Add(w14); this.vbox1.Add(this.zoomToFitButton); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.zoomToFitButton])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1])); w23.Position = 3; w23.Expand = false; w23.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.selectionToolButton = new global::Gtk.ToggleButton(); this.selectionToolButton.CanFocus = true; this.selectionToolButton.Name = "selectionToolButton"; this.selectionToolButton.UseUnderline = true; this.selectionToolButton.Active = true; // Container child selectionToolButton.Gtk.Container+ContainerChild global::Gtk.Alignment w24 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w25 = new global::Gtk.HBox(); w25.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("TraceLab.UI.GTK.Resources.arrowcursor_icon.png"); w25.Add(w26); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w28 = new global::Gtk.Label(); w25.Add(w28); w24.Add(w25); this.selectionToolButton.Add(w24); this.vbox1.Add(this.selectionToolButton); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.selectionToolButton])); w32.Position = 4; w32.Expand = false; w32.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.panToolButton = new global::Gtk.ToggleButton(); this.panToolButton.CanFocus = true; this.panToolButton.Name = "panToolButton"; this.panToolButton.UseUnderline = true; // Container child panToolButton.Gtk.Container+ContainerChild global::Gtk.Alignment w33 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w34 = new global::Gtk.HBox(); w34.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w35 = new global::Gtk.Image(); w35.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("TraceLab.UI.GTK.Resources.cursor-grab-open.png"); w34.Add(w35); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w37 = new global::Gtk.Label(); w34.Add(w37); w33.Add(w34); this.panToolButton.Add(w33); this.vbox1.Add(this.panToolButton); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.panToolButton])); w41.Position = 5; w41.Expand = false; w41.Fill = false; this.hbox2.Add(this.vbox1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox1])); w42.Position = 1; w42.Expand = false; w42.Fill = false; this.Add(this.hbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.zoomScale.ValueChanged += new global::System.EventHandler(this.ZoomValueChanged); this.scaleToOriginalSizeButton.Clicked += new global::System.EventHandler(this.ZoomToOriginal); this.zoomToFitButton.Clicked += new global::System.EventHandler(this.ZoomToFit); this.selectionToolButton.Toggled += new global::System.EventHandler(this.SelectionToolButtonToggled); this.panToolButton.Toggled += new global::System.EventHandler(this.PanToolButtonToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LampManager.ApacheModsList global::Stetic.BinContainer.Attach(this); this.Name = "LampManager.ApacheModsList"; // Container child LampManager.ApacheModsList.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow(); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.treeView = new global::Gtk.TreeView(); this.treeView.CanFocus = true; this.treeView.Name = "treeView"; this.scrolledwindow3.Add(this.treeView); this.vbox1.Add(this.scrolledwindow3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow3])); w2.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.statusButton = new global::Gtk.ToggleButton(); this.statusButton.CanFocus = true; this.statusButton.Name = "statusButton"; // Container child statusButton.Gtk.Container+ContainerChild global::Gtk.Alignment w3 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w4 = new global::Gtk.HBox(); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label(); w7.LabelProp = global::Mono.Unix.Catalog.GetString("Activate"); w4.Add(w7); w3.Add(w4); this.statusButton.Add(w3); this.hbox1.Add(this.statusButton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.statusButton])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.editButton = new global::Gtk.Button(); this.editButton.CanFocus = true; this.editButton.Name = "editButton"; this.editButton.UseUnderline = true; // Container child editButton.Gtk.Container+ContainerChild global::Gtk.Alignment w12 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w13 = new global::Gtk.HBox(); w13.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); w13.Add(w14); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w16 = new global::Gtk.Label(); w16.LabelProp = global::Mono.Unix.Catalog.GetString("Edit"); w16.UseUnderline = true; w13.Add(w16); w12.Add(w13); this.editButton.Add(w12); this.hbox1.Add(this.editButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.editButton])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.statusButton.Toggled += new global::System.EventHandler(this.OnStatusButtonToggled); this.editButton.Clicked += new global::System.EventHandler(this.OnEditButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("NAO Remote Control"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.DefaultWidth = 600; this.DefaultHeight = 500; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("NAO IP:"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ipEntry = new global::Gtk.Entry(); this.ipEntry.WidthRequest = 100; this.ipEntry.CanFocus = true; this.ipEntry.Name = "ipEntry"; this.ipEntry.Text = global::Mono.Unix.Catalog.GetString("192.168.1.146"); this.ipEntry.IsEditable = true; this.ipEntry.InvisibleChar = '●'; this.hbox1.Add(this.ipEntry); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ipEntry])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Username:"******"connectionToggle"; this.connectionToggle.UseUnderline = true; this.connectionToggle.Label = global::Mono.Unix.Catalog.GetString("Connection"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-connect", global::Gtk.IconSize.LargeToolbar); this.connectionToggle.Image = w4; this.hbox1.Add(this.connectionToggle); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.connectionToggle])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 3; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.passwordEntry = new global::Gtk.Entry(); this.passwordEntry.WidthRequest = 75; this.passwordEntry.CanFocus = true; this.passwordEntry.Name = "passwordEntry"; this.passwordEntry.Text = global::Mono.Unix.Catalog.GetString("nao"); this.passwordEntry.IsEditable = true; this.passwordEntry.InvisibleChar = '●'; this.hbox1.Add(this.passwordEntry); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.passwordEntry])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 4; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Password:"******"userNameEntry"; this.userNameEntry.Text = global::Mono.Unix.Catalog.GetString("nao"); this.userNameEntry.IsEditable = true; this.userNameEntry.InvisibleChar = '●'; this.hbox1.Add(this.userNameEntry); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.userNameEntry])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 6; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.cameraArea = new global::Gtk.DrawingArea(); this.cameraArea.Name = "cameraArea"; this.vbox1.Add(this.cameraArea); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.cameraArea])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.cameraToggle = new global::Gtk.ToggleButton(); this.cameraToggle.WidthRequest = 100; this.cameraToggle.HeightRequest = 50; this.cameraToggle.Sensitive = false; this.cameraToggle.CanFocus = true; this.cameraToggle.Name = "cameraToggle"; this.cameraToggle.UseUnderline = true; this.cameraToggle.Label = global::Mono.Unix.Catalog.GetString("Vision"); global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.LargeToolbar); this.cameraToggle.Image = w11; this.hbox3.Add(this.cameraToggle); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.cameraToggle])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.stiffnessToggle = new global::Gtk.ToggleButton(); this.stiffnessToggle.WidthRequest = 100; this.stiffnessToggle.HeightRequest = 50; this.stiffnessToggle.Sensitive = false; this.stiffnessToggle.CanFocus = true; this.stiffnessToggle.Name = "stiffnessToggle"; this.stiffnessToggle.UseUnderline = true; this.stiffnessToggle.Label = global::Mono.Unix.Catalog.GetString("Stiffness"); global::Gtk.Image w13 = new global::Gtk.Image(); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-authentication", global::Gtk.IconSize.LargeToolbar); this.stiffnessToggle.Image = w13; this.hbox3.Add(this.stiffnessToggle); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.stiffnessToggle])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.controlToggle = new global::Gtk.ToggleButton(); this.controlToggle.WidthRequest = 100; this.controlToggle.HeightRequest = 50; this.controlToggle.Sensitive = false; this.controlToggle.CanFocus = true; this.controlToggle.Name = "controlToggle"; this.controlToggle.UseUnderline = true; this.controlToggle.Label = global::Mono.Unix.Catalog.GetString("Control"); global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_zoom-page", global::Gtk.IconSize.LargeToolbar); this.controlToggle.Image = w15; this.hbox3.Add(this.controlToggle); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.controlToggle])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ttsEntry = new global::Gtk.Entry(); this.ttsEntry.CanFocus = true; this.ttsEntry.Name = "ttsEntry"; this.ttsEntry.IsEditable = true; this.ttsEntry.InvisibleChar = '●'; this.hbox2.Add(this.ttsEntry); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ttsEntry])); w18.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.ttsButton = new global::Gtk.Button(); this.ttsButton.WidthRequest = 100; this.ttsButton.HeightRequest = 50; this.ttsButton.Sensitive = false; this.ttsButton.CanFocus = true; this.ttsButton.Name = "ttsButton"; this.ttsButton.UseUnderline = true; this.ttsButton.Label = global::Mono.Unix.Catalog.GetString("Say"); global::Gtk.Image w19 = new global::Gtk.Image(); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_volume", global::Gtk.IconSize.Button); this.ttsButton.Image = w19; this.hbox2.Add(this.ttsButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ttsButton])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w21.PackType = ((global::Gtk.PackType)(1)); w21.Position = 3; w21.Expand = false; w21.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnKeyPressEvent); this.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnKeyReleaseEvent); this.connectionToggle.Toggled += new global::System.EventHandler(this.OnConnectionToggleToggled); this.cameraArea.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnCameraAreaExposeEvent); this.cameraToggle.Toggled += new global::System.EventHandler(this.OnCameraToggleToggled); this.stiffnessToggle.Toggled += new global::System.EventHandler(this.OnStiffnessToggleToggled); this.controlToggle.Toggled += new global::System.EventHandler(this.OnControlToggleToggled); this.ttsButton.Clicked += new global::System.EventHandler(this.OnTtsButtonClicked); }
//TODO: make neater private void Build() { this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 5; this.vbox1.Homogeneous = false; // Container child vbox1.Gtk.Box+BoxChild this.combobox1 = global::Gtk.ComboBox.NewText (); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("SVG - Scalable Vector Graphic")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("PNG - Portable Network Graphic")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("PDF - Portable Document File")); this.combobox1.AppendText (global::Mono.Unix.Catalog.GetString ("MIF - MeeGen Image File")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.vbox1.Add (this.combobox1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.combobox1])); w1.Position = 0; w1.Expand = true; w1.Fill = true; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Location: </b>"); this.label7.UseMarkup = true; this.hbox8.Add (this.label7); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label7])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.hbox8.Add (this.entry1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.entry1])); w3.Position = 1; // Container child hbox8.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString (" ... "); this.hbox8.Add (this.button1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.button1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox8); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame (); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Width:"); this.label4.UseMarkup = true; this.hbox5.Add (this.label4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label4])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.spinbutton4 = new global::Gtk.SpinButton (0, 100, 1); this.spinbutton4.CanFocus = true; this.spinbutton4.Name = "spinbutton4"; this.spinbutton4.Adjustment.PageIncrement = 10; this.spinbutton4.ClimbRate = 1; this.spinbutton4.Numeric = true; this.hbox5.Add (this.spinbutton4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.spinbutton4])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox3.Add (this.hbox5); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Height:"); this.label5.UseMarkup = true; this.hbox6.Add (this.label5); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label5])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.spinbutton5 = new global::Gtk.SpinButton (0, 100, 1); this.spinbutton5.CanFocus = true; this.spinbutton5.Name = "spinbutton5"; this.spinbutton5.Adjustment.PageIncrement = 10; this.spinbutton5.ClimbRate = 1; this.spinbutton5.Numeric = true; this.hbox6.Add (this.spinbutton5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spinbutton5])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox3.Add (this.hbox6); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox6])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.hbox4.Add (this.vbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.togglebutton4 = new global::Gtk.ToggleButton (); this.togglebutton4.CanFocus = true; this.togglebutton4.Name = "togglebutton4"; this.togglebutton4.UseUnderline = true; this.togglebutton4.Active = true; this.togglebutton4.Relief = ReliefStyle.None; this.togglebutton4.CanFocus = false; // Container child togglebutton4.Gtk.Container+ContainerChild global::Gtk.Alignment w33 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w34 = new global::Gtk.HBox (); w34.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w35 = new global::Gtk.Image (); w35.Pixbuf = Gdk.Pixbuf.LoadFromResource("MeeGen.Resources.ratio-preserve.png"); w34.Add (w35); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w37 = new global::Gtk.Label (); w34.Add (w37); w33.Add (w34); this.togglebutton4.Add (w33); this.hbox9.Add (this.togglebutton4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.togglebutton4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("Automatic "); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.checkbutton1.Active = true; this.hbox9.Add (this.checkbutton1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkbutton1])); w14.Position = 1; this.hbox4.Add (this.hbox9); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbox9])); w15.Position = 1; this.GtkAlignment2.Add (this.hbox4); this.frame3.Add (this.GtkAlignment2); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Size</b>"); this.GtkLabel2.UseMarkup = true; this.GtkLabel2.SetPadding(4, 0); this.frame3.LabelWidget = this.GtkLabel2; this.vbox1.Add (this.frame3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame3])); w18.Position = 2; w18.Expand = false; w18.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 0; // Container child hbox7.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Background color:</b>"); this.label6.UseMarkup = true; this.hbox7.Add (this.label6); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label6])); w19.Position = 0; w19.Expand = false; w19.Fill = false; this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.colorbutton1 = new MeeGen.ColorSelectButton(); this.colorbutton1.CanFocus = true; this.colorbutton1.Events = ((global::Gdk.EventMask)(784)); this.colorbutton1.Name = "colorbutton1"; //this.colorbutton1.SetSizeRequest(80, 15); //this.colorbutton1.Relief = ReliefStyle.None; this.hbox1.Add (this.colorbutton1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.colorbutton1])); w20.Position = 0; w20.Expand = true; w20.Fill = true; // Container child hbox1.Gtk.Box+BoxChild this.checkbutton2 = new global::Gtk.CheckButton (); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString ("Transparent"); this.checkbutton2.Active = true; this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.colorbutton1.Sensitive = false; this.checkbutton2.Toggled += delegate(object sender, EventArgs e) { this.colorbutton1.Sensitive = !this.checkbutton2.Active; }; this.hbox1.Add (this.checkbutton2); this.hbox7.Add(this.hbox1); this.vbox1.Add (this.hbox7); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox7])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 3; w22.Fill = true; this.vbox1.BorderWidth = 3; this.button1.Clicked += delegate(object sender, EventArgs e) { FileChooserDialog dia = new FileChooserDialog("Select location", null, FileChooserAction.Save, "Close", ResponseType.Close, "Ok", ResponseType.Ok); dia.ModifyFg(StateType.Normal, new Gdk.Color(255, 255, 255)); dia.ModifyBg(StateType.Normal, new Gdk.Color(255, 255, 255)); dia.Icon = Gdk.Pixbuf.LoadFromResource("MeeGen.Resources.document-save.png"); dia.DoOverwriteConfirmation = true; dia.CurrentName = "meegon." + this.combobox1.ActiveText.Substring(0, 3).ToLower(); FileFilter f = new FileFilter(); f.Name = "SVG"; f.AddMimeType("image/svg+xml"); dia.AddFilter(f); f = new FileFilter(); f.Name = "PNG"; f.AddMimeType("image/png"); dia.AddFilter(f); f = new FileFilter(); f.Name = "PDF"; f.AddMimeType("application/pdf"); dia.AddFilter(f); WidgetHelper.SetButtonRelief(dia, ReliefStyle.None); dia.SkipTaskbarHint = true; dia.SetCurrentFolder(this.entry1.Text); if(dia.Run() == (int)ResponseType.Ok) { this.entry1.Text = dia.Filename; } dia.Destroy(); }; this.checkbutton1.Toggled += delegate(object sender, EventArgs e) { ToggleSizeSettings(checkbutton1.Active); }; this.togglebutton4.Toggled += delegate(object sender, EventArgs e) { if(togglebutton4.Active) { w35.Pixbuf = Gdk.Pixbuf.LoadFromResource("MeeGen.Resources.ratio-preserve.png"); }else { w35.Pixbuf = Gdk.Pixbuf.LoadFromResource("MeeGen.Resources.ratio-custom.png"); } }; this.combobox1.Changed += delegate(object sender, EventArgs e) { if(combobox1.ActiveText == "MIF - MeeGen Image File") { //TODO implement MessageBox.ShowInfo("Sorry, but this feature isn't implemented yet"); this.combobox1.Active = 0; }else { string entry = this.entry1.Text; entry = entry.Substring(0, this.entry1.Text.Length-3) + this.combobox1.ActiveText.Substring(0, 3).ToLower(); this.entry1.Text = entry; } }; this.entry1.Text = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures) + "/meegon.svg"; this.Add (this.vbox1); this.ShowAll(); this.ToggleSizeSettings(true); }
public static void Bind(CheckBox textBox, string key, ConfigFile file) { Bind(textBox, PROGRAM.NONE, key, file); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MultiMC.LoginDialog this.WidthRequest = 420; this.HeightRequest = 160; this.Name = "MultiMC.LoginDialog"; this.Title = "Login"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultHeight = 160; // Internal child MultiMC.LoginDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; // Container child dialog1_VBox.Gtk.Box+BoxChild this.alignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment.Name = "alignment"; this.alignment.LeftPadding = ((uint)(6)); this.alignment.TopPadding = ((uint)(6)); this.alignment.RightPadding = ((uint)(6)); // Container child alignment.Gtk.Container+ContainerChild this.loginTable = new global::Gtk.Table (((uint)(4)), ((uint)(3)), false); this.loginTable.Name = "loginTable"; this.loginTable.RowSpacing = ((uint)(6)); this.loginTable.ColumnSpacing = ((uint)(6)); // Container child loginTable.Gtk.Table+TableChild this.checkRememberPwd = new global::Gtk.CheckButton (); this.checkRememberPwd.CanFocus = true; this.checkRememberPwd.Name = "checkRememberPwd"; this.checkRememberPwd.Label = "R_emember password"; this.checkRememberPwd.DrawIndicator = true; this.checkRememberPwd.UseUnderline = true; this.loginTable.Add (this.checkRememberPwd); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.loginTable [this.checkRememberPwd])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(4)); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.checkRememberUsername = new global::Gtk.CheckButton (); this.checkRememberUsername.CanFocus = true; this.checkRememberUsername.Name = "checkRememberUsername"; this.checkRememberUsername.Label = "_Remember username"; this.checkRememberUsername.DrawIndicator = true; this.checkRememberUsername.UseUnderline = true; this.loginTable.Add (this.checkRememberUsername); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.loginTable [this.checkRememberUsername])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.forceToggle = new global::Gtk.ToggleButton (); this.forceToggle.CanFocus = true; this.forceToggle.Name = "forceToggle"; this.forceToggle.UseUnderline = true; this.forceToggle.Label = "_Force Update"; this.loginTable.Add (this.forceToggle); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.loginTable [this.forceToggle])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.labelErrorMsg = new global::Gtk.Label (); this.labelErrorMsg.Name = "labelErrorMsg"; this.labelErrorMsg.Xalign = 0F; this.labelErrorMsg.LabelProp = "Error"; this.loginTable.Add (this.labelErrorMsg); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.loginTable [this.labelErrorMsg])); w5.RightAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.labelPassword = new global::Gtk.Label (); this.labelPassword.Name = "labelPassword"; this.labelPassword.Xalign = 1F; this.labelPassword.LabelProp = "_Password: "******"labelUser"; this.labelUser.Xalign = 1F; this.labelUser.LabelProp = "_Username: "******"passwordEntry"; this.passwordEntry.IsEditable = true; this.passwordEntry.ActivatesDefault = true; this.passwordEntry.Visibility = false; this.passwordEntry.InvisibleChar = '●'; this.loginTable.Add (this.passwordEntry); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.loginTable [this.passwordEntry])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(3)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.userEntry = new global::Gtk.Entry (); this.userEntry.CanFocus = true; this.userEntry.Name = "userEntry"; this.userEntry.IsEditable = true; this.userEntry.ActivatesDefault = true; this.userEntry.InvisibleChar = '●'; this.loginTable.Add (this.userEntry); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.loginTable [this.userEntry])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.alignment.Add (this.loginTable); w1.Add (this.alignment); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(w1 [this.alignment])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Internal child MultiMC.LoginDialog.ActionArea global::Gtk.HButtonBox w12 = this.ActionArea; w12.Name = "dialog1_ActionArea"; w12.Spacing = 10; w12.BorderWidth = ((uint)(5)); w12.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOffline = new global::Gtk.Button (); this.buttonOffline.CanFocus = true; this.buttonOffline.Name = "buttonOffline"; this.buttonOffline.UseUnderline = true; this.buttonOffline.Label = "P_lay Offline"; this.AddActionWidget (this.buttonOffline, -2); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonOffline])); w13.Expand = false; w13.Fill = false; // 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 w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonCancel])); w14.Position = 1; w14.Expand = false; w14.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 w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonOk])); w15.Position = 2; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 423; this.labelPassword.MnemonicWidget = this.passwordEntry; this.labelUser.MnemonicWidget = this.userEntry; this.Show (); this.Shown += new global::System.EventHandler (this.OnShown); this.userEntry.Activated += new global::System.EventHandler (this.OnUserEntryActivated); this.passwordEntry.Activated += new global::System.EventHandler (this.OnPasswordEntryActivated); this.checkRememberUsername.Clicked += new global::System.EventHandler (this.OnCheckRememberUsernameClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget PubnubMessagingExampleGTK.SettingsDialog this.Name = "PubnubMessagingExampleGTK.SettingsDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Settings"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 420; this.DefaultHeight = 420; // Internal child PubnubMessagingExampleGTK.SettingsDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.mainFixedPanel = new global::Gtk.Fixed (); this.mainFixedPanel.HeightRequest = 420; this.mainFixedPanel.Name = "mainFixedPanel"; this.mainFixedPanel.HasWindow = false; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.WidthRequest = 550; this.hseparator1.HeightRequest = 1; this.hseparator1.Name = "hseparator1"; this.mainFixedPanel.Add (this.hseparator1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.hseparator1])); w2.X = 1; w2.Y = 39; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label78 = new global::Gtk.Label (); this.label78.Name = "label78"; this.label78.LabelProp = global::Mono.Unix.Catalog.GetString ("Channel(s)"); this.mainFixedPanel.Add (this.label78); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label78])); w3.X = 31; w3.Y = 67; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.WidthRequest = 550; this.hseparator2.HeightRequest = 1; this.hseparator2.Name = "hseparator2"; this.mainFixedPanel.Add (this.hseparator2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.hseparator2])); w4.Y = 122; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label79 = new global::Gtk.Label (); this.label79.Name = "label79"; this.label79.LabelProp = global::Mono.Unix.Catalog.GetString ("SSL"); this.mainFixedPanel.Add (this.label79); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label79])); w5.X = 32; w5.Y = 96; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label81 = new global::Gtk.Label (); this.label81.Name = "label81"; this.label81.LabelProp = global::Mono.Unix.Catalog.GetString ("Cipher"); this.mainFixedPanel.Add (this.label81); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label81])); w6.X = 34; w6.Y = 152; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryCipher = new global::Gtk.Entry (); this.entryCipher.CanFocus = true; this.entryCipher.Name = "entryCipher"; this.entryCipher.IsEditable = true; this.entryCipher.InvisibleChar = '•'; this.mainFixedPanel.Add (this.entryCipher); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryCipher])); w7.X = 139; w7.Y = 147; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryUuid = new global::Gtk.Entry (); this.entryUuid.CanFocus = true; this.entryUuid.Name = "entryUuid"; this.entryUuid.IsEditable = true; this.entryUuid.InvisibleChar = '•'; this.mainFixedPanel.Add (this.entryUuid); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryUuid])); w8.X = 139; w8.Y = 207; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label83 = new global::Gtk.Label (); this.label83.Name = "label83"; this.label83.LabelProp = global::Mono.Unix.Catalog.GetString ("Custom UUID"); this.mainFixedPanel.Add (this.label83); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label83])); w9.X = 33; w9.Y = 209; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryChannel = new global::Gtk.Entry (); this.entryChannel.WidthRequest = 300; this.entryChannel.CanFocus = true; this.entryChannel.Name = "entryChannel"; this.entryChannel.IsEditable = true; this.entryChannel.InvisibleChar = '•'; this.mainFixedPanel.Add (this.entryChannel); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryChannel])); w10.X = 141; w10.Y = 62; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.expander2 = new global::Gtk.Expander (null); this.expander2.HeightRequest = 170; this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.fixed5 = new global::Gtk.Fixed (); this.fixed5.WidthRequest = 400; this.fixed5.HeightRequest = 135; this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; // Container child fixed5.Gtk.Fixed+FixedChild this.entryServer = new global::Gtk.Entry (); this.entryServer.CanFocus = true; this.entryServer.Name = "entryServer"; this.entryServer.IsEditable = true; this.entryServer.InvisibleChar = '•'; this.fixed5.Add (this.entryServer); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryServer])); w11.X = 129; w11.Y = 10; // Container child fixed5.Gtk.Fixed+FixedChild this.entryPort = new global::Gtk.Entry (); this.entryPort.CanFocus = true; this.entryPort.Name = "entryPort"; this.entryPort.IsEditable = true; this.entryPort.InvisibleChar = '•'; this.fixed5.Add (this.entryPort); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryPort])); w12.X = 129; w12.Y = 43; // Container child fixed5.Gtk.Fixed+FixedChild this.label84 = new global::Gtk.Label (); this.label84.Name = "label84"; this.label84.LabelProp = global::Mono.Unix.Catalog.GetString ("Server"); this.fixed5.Add (this.label84); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label84])); w13.X = 26; w13.Y = 16; // Container child fixed5.Gtk.Fixed+FixedChild this.label85 = new global::Gtk.Label (); this.label85.Name = "label85"; this.label85.LabelProp = global::Mono.Unix.Catalog.GetString ("Port"); this.fixed5.Add (this.label85); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label85])); w14.X = 26; w14.Y = 45; // Container child fixed5.Gtk.Fixed+FixedChild this.entryUsername = new global::Gtk.Entry (); this.entryUsername.CanFocus = true; this.entryUsername.Name = "entryUsername"; this.entryUsername.IsEditable = true; this.entryUsername.InvisibleChar = '•'; this.fixed5.Add (this.entryUsername); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryUsername])); w15.X = 129; w15.Y = 75; // Container child fixed5.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Password"); this.fixed5.Add (this.label2); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label2])); w16.X = 26; w16.Y = 112; // Container child fixed5.Gtk.Fixed+FixedChild this.lblUsername = new global::Gtk.Label (); this.lblUsername.Name = "lblUsername"; this.lblUsername.LabelProp = global::Mono.Unix.Catalog.GetString ("Username"); this.fixed5.Add (this.lblUsername); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.lblUsername])); w17.X = 26; w17.Y = 79; // Container child fixed5.Gtk.Fixed+FixedChild this.entryPassword = new global::Gtk.Entry (); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.InvisibleChar = '•'; this.fixed5.Add (this.entryPassword); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryPassword])); w18.X = 128; w18.Y = 109; this.expander2.Add (this.fixed5); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.HeightRequest = 0; this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Proxy Settings"); this.GtkLabel2.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel2; this.mainFixedPanel.Add (this.expander2); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.expander2])); w20.X = 26; w20.Y = 246; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label75 = new global::Gtk.Label (); this.label75.Name = "label75"; this.label75.LabelProp = global::Mono.Unix.Catalog.GetString ("Basic Settings"); this.mainFixedPanel.Add (this.label75); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label75])); w21.X = 225; w21.Y = 13; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label76 = new global::Gtk.Label (); this.label76.Name = "label76"; this.label76.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter multiple channels separated by comma"); this.mainFixedPanel.Add (this.label76); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label76])); w22.X = 127; w22.Y = 42; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label80 = new global::Gtk.Label (); this.label80.Name = "label80"; this.label80.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter cipher for encryption or leave blank for unencrypted transfer"); this.mainFixedPanel.Add (this.label80); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label80])); w23.X = 61; w23.Y = 126; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label82 = new global::Gtk.Label (); this.label82.Name = "label82"; this.label82.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter custom UUID or leave blank for default UUID"); this.mainFixedPanel.Add (this.label82); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label82])); w24.X = 104; w24.Y = 181; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.sslToggle = new global::Gtk.ToggleButton (); this.sslToggle.CanFocus = true; this.sslToggle.Name = "sslToggle"; this.sslToggle.UseUnderline = true; this.sslToggle.Active = true; this.sslToggle.Label = global::Mono.Unix.Catalog.GetString ("Off"); this.mainFixedPanel.Add (this.sslToggle); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.sslToggle])); w25.X = 139; w25.Y = 93; w1.Add (this.mainFixedPanel); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w1 [this.mainFixedPanel])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Internal child PubnubMessagingExampleGTK.SettingsDialog.ActionArea global::Gtk.HButtonBox w27 = this.ActionArea; w27.Name = "dialog1_ActionArea"; w27.Spacing = 10; w27.BorderWidth = ((uint)(5)); w27.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnCancel = new global::Gtk.Button (); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.AddActionWidget (this.btnCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.btnCancel])); w28.Expand = false; w28.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"; w27.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.buttonOk])); w29.Position = 1; w29.Expand = false; w29.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.expander2.Activated += new global::System.EventHandler (this.ProxyExpanderActivated); this.sslToggle.Toggled += new global::System.EventHandler (this.SslToggled); this.buttonOk.Clicked += new global::System.EventHandler (this.OkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.D.OptionPanels.DCompilerOptions global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.D.OptionPanels.DCompilerOptions"; // Container child MonoDevelop.D.OptionPanels.DCompilerOptions.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox (); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.table6 = new global::Gtk.Table (((uint)(7)), ((uint)(2)), false); this.table6.Name = "table6"; this.table6.RowSpacing = ((uint)(6)); this.table6.ColumnSpacing = ((uint)(6)); // Container child table6.Gtk.Table+TableChild this.btnDefaults = new global::Gtk.Button (); this.btnDefaults.CanFocus = true; this.btnDefaults.Name = "btnDefaults"; this.btnDefaults.UseUnderline = true; this.btnDefaults.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("Defaults"); this.table6.Add (this.btnDefaults); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table6 [this.btnDefaults])); w1.TopAttach = ((uint)(6)); w1.BottomAttach = ((uint)(7)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 2; // Container child hbox2.Gtk.Box+BoxChild this.txtBinPath = new global::Gtk.Entry (); this.txtBinPath.CanFocus = true; this.txtBinPath.Name = "txtBinPath"; this.txtBinPath.IsEditable = true; this.txtBinPath.InvisibleChar = '●'; this.hbox2.Add (this.txtBinPath); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.txtBinPath])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.button_BinPathBrowser = new global::Gtk.Button (); this.button_BinPathBrowser.CanFocus = true; this.button_BinPathBrowser.Name = "button_BinPathBrowser"; this.button_BinPathBrowser.UseUnderline = true; this.button_BinPathBrowser.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("Browse..."); this.hbox2.Add (this.button_BinPathBrowser); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button_BinPathBrowser])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.table6.Add (this.hbox2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox2])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 2; // Container child hbox4.Gtk.Box+BoxChild this.cmbCompilers = global::Gtk.ComboBox.NewText (); this.cmbCompilers.Name = "cmbCompilers"; this.hbox4.Add (this.cmbCompilers); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.cmbCompilers])); w5.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.btnMakeDefault = new global::Gtk.ToggleButton (); global::Gtk.Tooltips w6 = new Gtk.Tooltips (); w6.SetTip (this.btnMakeDefault, "Click to make the current configuration default", "Click to make the current configuration default"); this.btnMakeDefault.Name = "btnMakeDefault"; this.btnMakeDefault.UseUnderline = true; this.btnMakeDefault.Active = true; this.btnMakeDefault.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("Make Default"); this.hbox4.Add (this.btnMakeDefault); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.btnMakeDefault])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table6.Add (this.hbox4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox4])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.btnDebugArguments = new global::Gtk.Button (); this.btnDebugArguments.CanFocus = true; this.btnDebugArguments.Name = "btnDebugArguments"; this.btnDebugArguments.UseUnderline = true; this.btnDebugArguments.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("Debug Arguments"); this.hbox8.Add (this.btnDebugArguments); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnDebugArguments])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnReleaseArguments = new global::Gtk.Button (); this.btnReleaseArguments.CanFocus = true; this.btnReleaseArguments.Name = "btnReleaseArguments"; this.btnReleaseArguments.UseUnderline = true; this.btnReleaseArguments.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("Release Arguments"); this.hbox8.Add (this.btnReleaseArguments); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.btnReleaseArguments])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.table6.Add (this.hbox8); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox8])); w11.TopAttach = ((uint)(6)); w11.BottomAttach = ((uint)(7)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Toolchain bin path"); this.table6.Add (this.label2); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table6 [this.label2])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label28 = new global::Gtk.Label (); this.label28.Name = "label28"; this.label28.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("\"Static library\" linker"); this.table6.Add (this.label28); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table6 [this.label28])); w13.TopAttach = ((uint)(5)); w13.BottomAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label29 = new global::Gtk.Label (); this.label29.Name = "label29"; this.label29.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("\"Shared library\" linker"); this.table6.Add (this.label29); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table6 [this.label29])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Compiler"); this.table6.Add (this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table6 [this.label3])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label30 = new global::Gtk.Label (); this.label30.Name = "label30"; this.label30.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("\"Executable\" linker"); this.table6.Add (this.label30); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table6 [this.label30])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label31 = new global::Gtk.Label (); this.label31.Name = "label31"; this.label31.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Compiler executable"); this.table6.Add (this.label31); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table6 [this.label31])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtCompiler = new global::Gtk.Entry (); this.txtCompiler.CanFocus = true; this.txtCompiler.Name = "txtCompiler"; this.txtCompiler.IsEditable = true; this.txtCompiler.InvisibleChar = '•'; this.table6.Add (this.txtCompiler); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtCompiler])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtConsoleAppLinker = new global::Gtk.Entry (); this.txtConsoleAppLinker.CanFocus = true; this.txtConsoleAppLinker.Name = "txtConsoleAppLinker"; this.txtConsoleAppLinker.IsEditable = true; this.txtConsoleAppLinker.InvisibleChar = '•'; this.table6.Add (this.txtConsoleAppLinker); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtConsoleAppLinker])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtSharedLibLinker = new global::Gtk.Entry (); this.txtSharedLibLinker.CanFocus = true; this.txtSharedLibLinker.Name = "txtSharedLibLinker"; this.txtSharedLibLinker.IsEditable = true; this.txtSharedLibLinker.InvisibleChar = '•'; this.table6.Add (this.txtSharedLibLinker); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtSharedLibLinker])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.txtStaticLibLinker = new global::Gtk.Entry (); this.txtStaticLibLinker.CanFocus = true; this.txtStaticLibLinker.Name = "txtStaticLibLinker"; this.txtStaticLibLinker.IsEditable = true; this.txtStaticLibLinker.InvisibleChar = '•'; this.table6.Add (this.txtStaticLibLinker); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table6 [this.txtStaticLibLinker])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox8.Add (this.table6); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.table6])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook (); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 1; this.notebook2.ShowBorder = false; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.text_DefaultLibraries = new global::Gtk.TextView (); w6.SetTip (this.text_DefaultLibraries, "A line-separated list of library references to link in by default", "A line-separated list of library references to link in by default"); this.text_DefaultLibraries.HeightRequest = 80; this.text_DefaultLibraries.CanFocus = true; this.text_DefaultLibraries.Name = "text_DefaultLibraries"; this.GtkScrolledWindow.Add (this.text_DefaultLibraries); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w24.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.check_enableLibPrefixing = new global::Gtk.CheckButton (); w6.SetTip (this.check_enableLibPrefixing, "If checked, all referenced libraries that can not be found locally will be stripped by their file extensions and get a \"-L-l\" prefix as they are passed to the compiler during project building.\n'../myCustomLib/bin/myCustomLib.a' remains untouched.\n'libphobos2.a' becomes '-L-llibphobos2' on compilation.\nThis is mainly activated when using the gdc compiler.", "If checked, all referenced libraries that can not be found locally will be stripped by their file extensions and get a \"-L-l\" prefix as they are passed to the compiler during project building.\n'../myCustomLib/bin/myCustomLib.a' remains untouched.\n'libphobos2.a' becomes '-L-llibphobos2' on compilation.\nThis is mainly activated when using the gdc compiler."); this.check_enableLibPrefixing.CanFocus = true; this.check_enableLibPrefixing.Name = "check_enableLibPrefixing"; this.check_enableLibPrefixing.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("Enable gdc-specific import lib prefix stripping (e.g. libopengl32.a -> opengl32)"); this.check_enableLibPrefixing.Active = true; this.check_enableLibPrefixing.DrawIndicator = true; this.check_enableLibPrefixing.UseUnderline = true; this.vbox2.Add (this.check_enableLibPrefixing); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.check_enableLibPrefixing])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.notebook2.Add (this.vbox2); // Notebook tab this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Default Libraries"); this.notebook2.SetTabLabel (this.vbox2, this.label12); this.label12.ShowAll (); // Container child notebook2.Gtk.Notebook+NotebookChild this.table2 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); w6.SetTip (this.GtkScrolledWindow1, "Line-separated list of paths where the compiler (and the code completion engine!) shall look in to resolve imports.", "Line-separated list of paths where the compiler (and the code completion engine!) shall look in to resolve imports."); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.text_Includes = new global::Gtk.TextView (); this.text_Includes.CanFocus = true; this.text_Includes.Name = "text_Includes"; this.GtkScrolledWindow1.Add (this.text_Includes); this.table2.Add (this.GtkScrolledWindow1); // Container child table2.Gtk.Table+TableChild this.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.button_AddInclude = new global::Gtk.Button (); this.button_AddInclude.CanFocus = true; this.button_AddInclude.Name = "button_AddInclude"; this.button_AddInclude.UseUnderline = true; this.button_AddInclude.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("Browse & Add"); this.table3.Add (this.button_AddInclude); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3 [this.button_AddInclude])); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.table2.Add (this.table3); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.table3])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add (this.table2); global::Gtk.Notebook.NotebookChild w31 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table2])); w31.Position = 1; // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Includes"); this.notebook2.SetTabLabel (this.table2, this.label1); this.label1.ShowAll (); this.vbox8.Add (this.notebook2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.notebook2])); w32.Position = 1; this.Add (this.vbox8); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.btnDebugArguments.Clicked += new global::System.EventHandler (this.btnDebugArguments_Clicked); this.btnReleaseArguments.Clicked += new global::System.EventHandler (this.btnReleaseArguments_Clicked); this.cmbCompilers.Changed += new global::System.EventHandler (this.OnCmbCompilersChanged); this.btnMakeDefault.Released += new global::System.EventHandler (this.OnTogglebuttonMakeDefaultPressed); this.button_BinPathBrowser.Clicked += new global::System.EventHandler (this.OnButtonBinPathBrowserClicked); this.btnDefaults.Clicked += new global::System.EventHandler (this.OnBtnDefaultsClicked); this.button_AddInclude.Clicked += new global::System.EventHandler (this.OnButtonAddIncludeClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget PubnubMessagingExampleGTK.SettingsDialog this.Name = "PubnubMessagingExampleGTK.SettingsDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Settings"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 420; this.DefaultHeight = 420; // Internal child PubnubMessagingExampleGTK.SettingsDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.mainFixedPanel = new global::Gtk.Fixed(); this.mainFixedPanel.HeightRequest = 420; this.mainFixedPanel.Name = "mainFixedPanel"; this.mainFixedPanel.HasWindow = false; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.WidthRequest = 550; this.hseparator1.HeightRequest = 1; this.hseparator1.Name = "hseparator1"; this.mainFixedPanel.Add(this.hseparator1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.hseparator1])); w2.X = 1; w2.Y = 39; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label78 = new global::Gtk.Label(); this.label78.Name = "label78"; this.label78.LabelProp = global::Mono.Unix.Catalog.GetString("Channel(s)"); this.mainFixedPanel.Add(this.label78); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label78])); w3.X = 31; w3.Y = 67; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.WidthRequest = 550; this.hseparator2.HeightRequest = 1; this.hseparator2.Name = "hseparator2"; this.mainFixedPanel.Add(this.hseparator2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.hseparator2])); w4.Y = 122; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label79 = new global::Gtk.Label(); this.label79.Name = "label79"; this.label79.LabelProp = global::Mono.Unix.Catalog.GetString("SSL"); this.mainFixedPanel.Add(this.label79); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label79])); w5.X = 32; w5.Y = 96; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label81 = new global::Gtk.Label(); this.label81.Name = "label81"; this.label81.LabelProp = global::Mono.Unix.Catalog.GetString("Cipher"); this.mainFixedPanel.Add(this.label81); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label81])); w6.X = 34; w6.Y = 152; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryCipher = new global::Gtk.Entry(); this.entryCipher.CanFocus = true; this.entryCipher.Name = "entryCipher"; this.entryCipher.IsEditable = true; this.entryCipher.InvisibleChar = '•'; this.mainFixedPanel.Add(this.entryCipher); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryCipher])); w7.X = 139; w7.Y = 147; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryUuid = new global::Gtk.Entry(); this.entryUuid.CanFocus = true; this.entryUuid.Name = "entryUuid"; this.entryUuid.IsEditable = true; this.entryUuid.InvisibleChar = '•'; this.mainFixedPanel.Add(this.entryUuid); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryUuid])); w8.X = 139; w8.Y = 207; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label83 = new global::Gtk.Label(); this.label83.Name = "label83"; this.label83.LabelProp = global::Mono.Unix.Catalog.GetString("Custom UUID"); this.mainFixedPanel.Add(this.label83); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label83])); w9.X = 33; w9.Y = 209; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.entryChannel = new global::Gtk.Entry(); this.entryChannel.WidthRequest = 300; this.entryChannel.CanFocus = true; this.entryChannel.Name = "entryChannel"; this.entryChannel.IsEditable = true; this.entryChannel.InvisibleChar = '•'; this.mainFixedPanel.Add(this.entryChannel); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.entryChannel])); w10.X = 141; w10.Y = 62; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.expander2 = new global::Gtk.Expander(null); this.expander2.HeightRequest = 170; this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.fixed5 = new global::Gtk.Fixed(); this.fixed5.WidthRequest = 400; this.fixed5.HeightRequest = 135; this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; // Container child fixed5.Gtk.Fixed+FixedChild this.entryServer = new global::Gtk.Entry(); this.entryServer.CanFocus = true; this.entryServer.Name = "entryServer"; this.entryServer.IsEditable = true; this.entryServer.InvisibleChar = '•'; this.fixed5.Add(this.entryServer); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryServer])); w11.X = 129; w11.Y = 10; // Container child fixed5.Gtk.Fixed+FixedChild this.entryPort = new global::Gtk.Entry(); this.entryPort.CanFocus = true; this.entryPort.Name = "entryPort"; this.entryPort.IsEditable = true; this.entryPort.InvisibleChar = '•'; this.fixed5.Add(this.entryPort); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryPort])); w12.X = 129; w12.Y = 43; // Container child fixed5.Gtk.Fixed+FixedChild this.label84 = new global::Gtk.Label(); this.label84.Name = "label84"; this.label84.LabelProp = global::Mono.Unix.Catalog.GetString("Server"); this.fixed5.Add(this.label84); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label84])); w13.X = 26; w13.Y = 16; // Container child fixed5.Gtk.Fixed+FixedChild this.label85 = new global::Gtk.Label(); this.label85.Name = "label85"; this.label85.LabelProp = global::Mono.Unix.Catalog.GetString("Port"); this.fixed5.Add(this.label85); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label85])); w14.X = 26; w14.Y = 45; // Container child fixed5.Gtk.Fixed+FixedChild this.entryUsername = new global::Gtk.Entry(); this.entryUsername.CanFocus = true; this.entryUsername.Name = "entryUsername"; this.entryUsername.IsEditable = true; this.entryUsername.InvisibleChar = '•'; this.fixed5.Add(this.entryUsername); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryUsername])); w15.X = 129; w15.Y = 75; // Container child fixed5.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Password"); this.fixed5.Add(this.label2); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label2])); w16.X = 26; w16.Y = 112; // Container child fixed5.Gtk.Fixed+FixedChild this.lblUsername = new global::Gtk.Label(); this.lblUsername.Name = "lblUsername"; this.lblUsername.LabelProp = global::Mono.Unix.Catalog.GetString("Username"); this.fixed5.Add(this.lblUsername); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.lblUsername])); w17.X = 26; w17.Y = 79; // Container child fixed5.Gtk.Fixed+FixedChild this.entryPassword = new global::Gtk.Entry(); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.InvisibleChar = '•'; this.fixed5.Add(this.entryPassword); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.entryPassword])); w18.X = 128; w18.Y = 109; this.expander2.Add(this.fixed5); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.HeightRequest = 0; this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Proxy Settings"); this.GtkLabel2.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel2; this.mainFixedPanel.Add(this.expander2); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.expander2])); w20.X = 26; w20.Y = 246; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label75 = new global::Gtk.Label(); this.label75.Name = "label75"; this.label75.LabelProp = global::Mono.Unix.Catalog.GetString("Basic Settings"); this.mainFixedPanel.Add(this.label75); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label75])); w21.X = 225; w21.Y = 13; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label76 = new global::Gtk.Label(); this.label76.Name = "label76"; this.label76.LabelProp = global::Mono.Unix.Catalog.GetString("Enter multiple channels separated by comma"); this.mainFixedPanel.Add(this.label76); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label76])); w22.X = 127; w22.Y = 42; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label80 = new global::Gtk.Label(); this.label80.Name = "label80"; this.label80.LabelProp = global::Mono.Unix.Catalog.GetString("Enter cipher for encryption or leave blank for unencrypted transfer"); this.mainFixedPanel.Add(this.label80); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label80])); w23.X = 61; w23.Y = 126; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.label82 = new global::Gtk.Label(); this.label82.Name = "label82"; this.label82.LabelProp = global::Mono.Unix.Catalog.GetString("Enter custom UUID or leave blank for default UUID"); this.mainFixedPanel.Add(this.label82); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.label82])); w24.X = 104; w24.Y = 181; // Container child mainFixedPanel.Gtk.Fixed+FixedChild this.sslToggle = new global::Gtk.ToggleButton(); this.sslToggle.CanFocus = true; this.sslToggle.Name = "sslToggle"; this.sslToggle.UseUnderline = true; this.sslToggle.Active = true; this.sslToggle.Label = global::Mono.Unix.Catalog.GetString("Off"); this.mainFixedPanel.Add(this.sslToggle); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedPanel [this.sslToggle])); w25.X = 139; w25.Y = 93; w1.Add(this.mainFixedPanel); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w1 [this.mainFixedPanel])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Internal child PubnubMessagingExampleGTK.SettingsDialog.ActionArea global::Gtk.HButtonBox w27 = this.ActionArea; w27.Name = "dialog1_ActionArea"; w27.Spacing = 10; w27.BorderWidth = ((uint)(5)); w27.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnCancel = new global::Gtk.Button(); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.AddActionWidget(this.btnCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.btnCancel])); w28.Expand = false; w28.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"; w27.Add(this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.buttonOk])); w29.Position = 1; w29.Expand = false; w29.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.expander2.Activated += new global::System.EventHandler(this.ProxyExpanderActivated); this.sslToggle.Toggled += new global::System.EventHandler(this.SslToggled); this.buttonOk.Clicked += new global::System.EventHandler(this.OkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MultiMC.LoginDialog this.WidthRequest = 400; this.Name = "MultiMC.LoginDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Login"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 300; // Internal child MultiMC.LoginDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; // Container child dialog1_VBox.Gtk.Box+BoxChild this.alignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment.Name = "alignment"; this.alignment.BorderWidth = ((uint)(6)); // Container child alignment.Gtk.Container+ContainerChild this.loginTable = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); this.loginTable.Name = "loginTable"; this.loginTable.RowSpacing = ((uint)(6)); this.loginTable.ColumnSpacing = ((uint)(6)); // Container child loginTable.Gtk.Table+TableChild this.checkRememberPwd = new global::Gtk.CheckButton (); this.checkRememberPwd.CanFocus = true; this.checkRememberPwd.Name = "checkRememberPwd"; this.checkRememberPwd.Label = global::Mono.Unix.Catalog.GetString ("Remember password"); this.checkRememberPwd.DrawIndicator = true; this.checkRememberPwd.UseUnderline = true; this.loginTable.Add (this.checkRememberPwd); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.loginTable [this.checkRememberPwd])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(4)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.forceToggle = new global::Gtk.ToggleButton (); this.forceToggle.CanFocus = true; this.forceToggle.Name = "forceToggle"; this.forceToggle.UseUnderline = true; this.forceToggle.Label = global::Mono.Unix.Catalog.GetString ("Force Update"); this.loginTable.Add (this.forceToggle); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.loginTable [this.forceToggle])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.labelErrorMsg = new global::Gtk.Label (); this.labelErrorMsg.Name = "labelErrorMsg"; this.labelErrorMsg.LabelProp = global::Mono.Unix.Catalog.GetString ("Error"); this.loginTable.Add (this.labelErrorMsg); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.loginTable [this.labelErrorMsg])); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.labelPassword = new global::Gtk.Label (); this.labelPassword.Name = "labelPassword"; this.labelPassword.LabelProp = global::Mono.Unix.Catalog.GetString ("Password: "******"labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("Username: "******"passwordEntry"; this.passwordEntry.IsEditable = true; this.passwordEntry.ActivatesDefault = true; this.passwordEntry.Visibility = false; this.passwordEntry.InvisibleChar = '●'; this.loginTable.Add (this.passwordEntry); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.loginTable [this.passwordEntry])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child loginTable.Gtk.Table+TableChild this.userEntry = new global::Gtk.Entry (); this.userEntry.CanFocus = true; this.userEntry.Name = "userEntry"; this.userEntry.IsEditable = true; this.userEntry.ActivatesDefault = true; this.userEntry.InvisibleChar = '●'; this.loginTable.Add (this.userEntry); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.loginTable [this.userEntry])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.alignment.Add (this.loginTable); w1.Add (this.alignment); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.alignment])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Internal child MultiMC.LoginDialog.ActionArea global::Gtk.HButtonBox w11 = this.ActionArea; w11.Name = "dialog1_ActionArea"; w11.Spacing = 10; w11.BorderWidth = ((uint)(5)); w11.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 w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.buttonCancel])); w12.Expand = false; w12.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 w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.buttonOk])); w13.Position = 1; w13.Expand = false; w13.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultHeight = 194; this.Show (); this.userEntry.Activated += new global::System.EventHandler (this.OnUserEntryActivated); this.passwordEntry.Activated += new global::System.EventHandler (this.OnPasswordEntryActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Component.SynchronizationWidget global::Stetic.BinContainer.Attach(this); this.Name = "LongoMatch.Gui.Component.SynchronizationWidget"; // Container child LongoMatch.Gui.Component.SynchronizationWidget.Gtk.Container+ContainerChild this.headereventbox = new global::Gtk.EventBox(); this.headereventbox.Name = "headereventbox"; // Container child headereventbox.Gtk.Container+ContainerChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 400; // Container child vpaned2.Gtk.Paned+PanedChild this.playbins_hbox = new global::Gtk.HBox(); this.playbins_hbox.Name = "playbins_hbox"; this.playbins_hbox.Homogeneous = true; this.playbins_hbox.Spacing = 15; this.playbins_hbox.BorderWidth = ((uint)(15)); // Container child playbins_hbox.Gtk.Box+BoxChild this.main_cam_vbox = new global::Gtk.VBox(); this.main_cam_vbox.Name = "main_cam_vbox"; this.main_cam_vbox.Spacing = 6; // Container child main_cam_vbox.Gtk.Box+BoxChild this.main_cam_playerbin = new global::LongoMatch.Gui.PlayerView(); this.main_cam_playerbin.Events = ((global::Gdk.EventMask)(256)); this.main_cam_playerbin.Name = "main_cam_playerbin"; this.main_cam_vbox.Add(this.main_cam_playerbin); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.main_cam_vbox [this.main_cam_playerbin])); w1.Position = 0; // Container child main_cam_vbox.Gtk.Box+BoxChild this.main_cam_hbox = new global::Gtk.HBox(); this.main_cam_hbox.Name = "main_cam_hbox"; this.main_cam_hbox.Spacing = 6; // Container child main_cam_hbox.Gtk.Box+BoxChild this.main_cam_label = new global::Gtk.Label(); this.main_cam_label.Name = "main_cam_label"; this.main_cam_label.Xalign = 0F; this.main_cam_hbox.Add(this.main_cam_label); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.main_cam_hbox [this.main_cam_label])); w2.Position = 0; // Container child main_cam_hbox.Gtk.Box+BoxChild this.main_cam_audio_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.main_cam_audio_alignment.Name = "main_cam_audio_alignment"; this.main_cam_audio_alignment.RightPadding = ((uint)(50)); // Container child main_cam_audio_alignment.Gtk.Container+ContainerChild this.main_cam_audio_button = new global::Gtk.ToggleButton(); this.main_cam_audio_button.CanFocus = true; this.main_cam_audio_button.Name = "main_cam_audio_button"; this.main_cam_audio_button.Active = true; // Container child main_cam_audio_button.Gtk.Container+ContainerChild this.main_cam_audio_button_image = new global::Gtk.Image(); this.main_cam_audio_button_image.Name = "main_cam_audio_button_image"; this.main_cam_audio_button.Add(this.main_cam_audio_button_image); this.main_cam_audio_alignment.Add(this.main_cam_audio_button); this.main_cam_hbox.Add(this.main_cam_audio_alignment); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.main_cam_hbox [this.main_cam_audio_alignment])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.main_cam_vbox.Add(this.main_cam_hbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.main_cam_vbox [this.main_cam_hbox])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.playbins_hbox.Add(this.main_cam_vbox); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.main_cam_vbox])); w7.Position = 0; // Container child playbins_hbox.Gtk.Box+BoxChild this.sec_cam_vbox = new global::Gtk.VBox(); this.sec_cam_vbox.Name = "sec_cam_vbox"; this.sec_cam_vbox.Spacing = 6; // Container child sec_cam_vbox.Gtk.Box+BoxChild this.sec_cam_playerbin = new global::LongoMatch.Gui.PlayerView(); this.sec_cam_playerbin.Events = ((global::Gdk.EventMask)(256)); this.sec_cam_playerbin.Name = "sec_cam_playerbin"; this.sec_cam_vbox.Add(this.sec_cam_playerbin); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.sec_cam_vbox [this.sec_cam_playerbin])); w8.Position = 0; // Container child sec_cam_vbox.Gtk.Box+BoxChild this.sec_cam_hbox = new global::Gtk.HBox(); this.sec_cam_hbox.Name = "sec_cam_hbox"; this.sec_cam_hbox.Spacing = 6; // Container child sec_cam_hbox.Gtk.Box+BoxChild this.sec_cam_label = new global::Gtk.Label(); this.sec_cam_label.Name = "sec_cam_label"; this.sec_cam_label.Xalign = 0F; this.sec_cam_label.UseMarkup = true; this.sec_cam_hbox.Add(this.sec_cam_label); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.sec_cam_hbox [this.sec_cam_label])); w9.Position = 0; // Container child sec_cam_hbox.Gtk.Box+BoxChild this.sec_cam_audio_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.sec_cam_audio_alignment.Name = "sec_cam_audio_alignment"; this.sec_cam_audio_alignment.RightPadding = ((uint)(50)); // Container child sec_cam_audio_alignment.Gtk.Container+ContainerChild this.sec_cam_audio_button = new global::Gtk.ToggleButton(); this.sec_cam_audio_button.CanFocus = true; this.sec_cam_audio_button.Name = "sec_cam_audio_button"; // Container child sec_cam_audio_button.Gtk.Container+ContainerChild this.sec_cam_audio_button_image = new global::Gtk.Image(); this.sec_cam_audio_button_image.Name = "sec_cam_audio_button_image"; this.sec_cam_audio_button.Add(this.sec_cam_audio_button_image); this.sec_cam_audio_alignment.Add(this.sec_cam_audio_button); this.sec_cam_hbox.Add(this.sec_cam_audio_alignment); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.sec_cam_hbox [this.sec_cam_audio_alignment])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.sec_cam_vbox.Add(this.sec_cam_hbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.sec_cam_vbox [this.sec_cam_hbox])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.playbins_hbox.Add(this.sec_cam_vbox); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.sec_cam_vbox])); w14.Position = 1; // Container child playbins_hbox.Gtk.Box+BoxChild this.sec_cam_didactic_label = new global::Gtk.Label(); this.sec_cam_didactic_label.Name = "sec_cam_didactic_label"; this.playbins_hbox.Add(this.sec_cam_didactic_label); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.sec_cam_didactic_label])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.vpaned2.Add(this.playbins_hbox); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.playbins_hbox])); w16.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.labels_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.labels_alignment.Name = "labels_alignment"; // Container child labels_alignment.Gtk.Container+ContainerChild this.labels_vbox = new global::Gtk.VBox(); this.labels_vbox.Name = "labels_vbox"; // Container child labels_vbox.Gtk.Box+BoxChild this.labelsarea = new global::Gtk.DrawingArea(); this.labelsarea.Name = "labelsarea"; this.labels_vbox.Add(this.labelsarea); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.labelsarea])); w17.Position = 0; // Container child labels_vbox.Gtk.Box+BoxChild this.zoomhbox = new global::Gtk.HBox(); this.zoomhbox.Name = "zoomhbox"; this.zoomhbox.Spacing = 6; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomoutimage = new global::Gtk.Image(); this.zoomoutimage.WidthRequest = 14; this.zoomoutimage.HeightRequest = 8; this.zoomoutimage.Name = "zoomoutimage"; this.zoomhbox.Add(this.zoomoutimage); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoomoutimage])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomscale = new global::Gtk.HScale(null); this.zoomscale.CanFocus = true; this.zoomscale.Name = "zoomscale"; this.zoomscale.Adjustment.Upper = 100; this.zoomscale.Adjustment.PageIncrement = 10; this.zoomscale.Adjustment.StepIncrement = 1; this.zoomscale.DrawValue = false; this.zoomscale.Digits = 0; this.zoomscale.ValuePos = ((global::Gtk.PositionType)(2)); this.zoomhbox.Add(this.zoomscale); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoomscale])); w19.Position = 1; // Container child zoomhbox.Gtk.Box+BoxChild this.zoominimage = new global::Gtk.Image(); this.zoominimage.WidthRequest = 14; this.zoominimage.HeightRequest = 8; this.zoominimage.Name = "zoominimage"; this.zoomhbox.Add(this.zoominimage); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoominimage])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.labels_vbox.Add(this.zoomhbox); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.zoomhbox])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.labels_alignment.Add(this.labels_vbox); this.hbox5.Add(this.labels_alignment); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.labels_alignment])); w23.Position = 0; w23.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; // Container child vbox9.Gtk.Box+BoxChild this.timerulearea = new global::Gtk.DrawingArea(); this.timerulearea.Name = "timerulearea"; this.vbox9.Add(this.timerulearea); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.timerulearea])); w24.Position = 0; w24.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.HeightRequest = 50; this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.VscrollbarPolicy = ((global::Gtk.PolicyType)(0)); this.scrolledwindow2.HscrollbarPolicy = ((global::Gtk.PolicyType)(0)); // Container child scrolledwindow2.Gtk.Container+ContainerChild global::Gtk.Viewport w25 = new global::Gtk.Viewport(); w25.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.timelinearea = new global::Gtk.DrawingArea(); this.timelinearea.Name = "timelinearea"; w25.Add(this.timelinearea); this.scrolledwindow2.Add(w25); this.vbox9.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.scrolledwindow2])); w28.Position = 1; this.hbox5.Add(this.vbox9); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox9])); w29.Position = 1; this.vpaned2.Add(this.hbox5); this.headereventbox.Add(this.vpaned2); this.Add(this.headereventbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.sec_cam_vbox.Hide(); this.sec_cam_didactic_label.Hide(); this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w1.Add (this.saveAction, null); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("Open"), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.OpenAction, null); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, null); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.SaveAction, null); this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save as.."), null, null); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save as.."); w1.Add (this.SaveAsAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.ExitAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Limbus Laboratory"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbxMain = new global::Gtk.VBox (); this.vbxMain.Name = "vbxMain"; this.vbxMain.Spacing = 6; // Container child vbxMain.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><menuitem name='ExitAction' action='ExitAction'/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbxMain.Add (this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbxMain [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='saveAction' action='saveAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbxMain.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxMain [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.vbxPlot = new global::Gtk.VBox (); this.vbxPlot.Name = "vbxPlot"; this.vbxPlot.Spacing = 6; this.vbxMain.Add (this.vbxPlot); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbxMain [this.vbxPlot])); w4.Position = 2; // Container child vbxMain.Gtk.Box+BoxChild this.hbxMixer = new global::Gtk.HBox (); this.hbxMixer.HeightRequest = 250; this.hbxMixer.Name = "hbxMixer"; this.hbxMixer.Spacing = 6; // Container child hbxMixer.Gtk.Box+BoxChild this.vbxPoti1 = new global::Gtk.VBox (); this.vbxPoti1.Name = "vbxPoti1"; this.vbxPoti1.Spacing = 6; // Container child vbxPoti1.Gtk.Box+BoxChild this.btnPotiOnOff1 = new global::Gtk.ToggleButton (); this.btnPotiOnOff1.CanFocus = true; this.btnPotiOnOff1.Name = "btnPotiOnOff1"; this.btnPotiOnOff1.UseUnderline = true; this.btnPotiOnOff1.Active = true; this.btnPotiOnOff1.Label = global::Mono.Unix.Catalog.GetString ("On/Off"); this.vbxPoti1.Add (this.btnPotiOnOff1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbxPoti1 [this.btnPotiOnOff1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbxPoti1.Gtk.Box+BoxChild this.edPoti1 = new global::Gtk.Entry (); this.edPoti1.WidthRequest = 50; this.edPoti1.Sensitive = false; this.edPoti1.CanFocus = true; this.edPoti1.Name = "edPoti1"; this.edPoti1.IsEditable = true; this.edPoti1.InvisibleChar = '●'; this.vbxPoti1.Add (this.edPoti1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbxPoti1 [this.edPoti1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbxPoti1.Gtk.Box+BoxChild this.vscalePoti1 = new global::Gtk.VScale (null); this.vscalePoti1.CanFocus = true; this.vscalePoti1.Name = "vscalePoti1"; this.vscalePoti1.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.vscalePoti1.Inverted = true; this.vscalePoti1.Adjustment.Upper = 255; this.vscalePoti1.Adjustment.PageIncrement = 10; this.vscalePoti1.Adjustment.StepIncrement = 1; this.vscalePoti1.Adjustment.Value = 35; this.vscalePoti1.DrawValue = false; this.vscalePoti1.Digits = 0; this.vscalePoti1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbxPoti1.Add (this.vscalePoti1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbxPoti1 [this.vscalePoti1])); w7.Position = 2; // Container child vbxPoti1.Gtk.Box+BoxChild this.lblPoti1 = new global::Gtk.Label (); this.lblPoti1.Name = "lblPoti1"; this.lblPoti1.LabelProp = global::Mono.Unix.Catalog.GetString ("Poti1"); this.vbxPoti1.Add (this.lblPoti1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxPoti1 [this.lblPoti1])); w8.Position = 3; w8.Expand = false; w8.Fill = false; this.hbxMixer.Add (this.vbxPoti1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vbxPoti1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.vbxPoti2 = new global::Gtk.VBox (); this.vbxPoti2.Name = "vbxPoti2"; this.vbxPoti2.Spacing = 6; // Container child vbxPoti2.Gtk.Box+BoxChild this.btnPotiOnOff2 = new global::Gtk.ToggleButton (); this.btnPotiOnOff2.CanFocus = true; this.btnPotiOnOff2.Name = "btnPotiOnOff2"; this.btnPotiOnOff2.UseUnderline = true; this.btnPotiOnOff2.Active = true; this.btnPotiOnOff2.Label = global::Mono.Unix.Catalog.GetString ("On/Off"); this.vbxPoti2.Add (this.btnPotiOnOff2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbxPoti2 [this.btnPotiOnOff2])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbxPoti2.Gtk.Box+BoxChild this.edPoti2 = new global::Gtk.Entry (); this.edPoti2.WidthRequest = 50; this.edPoti2.Sensitive = false; this.edPoti2.CanFocus = true; this.edPoti2.Name = "edPoti2"; this.edPoti2.IsEditable = true; this.edPoti2.InvisibleChar = '●'; this.vbxPoti2.Add (this.edPoti2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbxPoti2 [this.edPoti2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child vbxPoti2.Gtk.Box+BoxChild this.vscalePoti2 = new global::Gtk.VScale (null); this.vscalePoti2.CanFocus = true; this.vscalePoti2.Name = "vscalePoti2"; this.vscalePoti2.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.vscalePoti2.Inverted = true; this.vscalePoti2.Adjustment.Upper = 255; this.vscalePoti2.Adjustment.PageIncrement = 10; this.vscalePoti2.Adjustment.StepIncrement = 1; this.vscalePoti2.Adjustment.Value = 15; this.vscalePoti2.DrawValue = false; this.vscalePoti2.Digits = 0; this.vscalePoti2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbxPoti2.Add (this.vscalePoti2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbxPoti2 [this.vscalePoti2])); w12.Position = 2; // Container child vbxPoti2.Gtk.Box+BoxChild this.lblPoti2 = new global::Gtk.Label (); this.lblPoti2.Name = "lblPoti2"; this.lblPoti2.LabelProp = global::Mono.Unix.Catalog.GetString ("Poti2"); this.vbxPoti2.Add (this.lblPoti2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbxPoti2 [this.lblPoti2])); w13.Position = 3; w13.Expand = false; w13.Fill = false; this.hbxMixer.Add (this.vbxPoti2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vbxPoti2])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.vbxPoti3 = new global::Gtk.VBox (); this.vbxPoti3.Name = "vbxPoti3"; this.vbxPoti3.Spacing = 6; // Container child vbxPoti3.Gtk.Box+BoxChild this.btnPotiOnOff3 = new global::Gtk.ToggleButton (); this.btnPotiOnOff3.CanFocus = true; this.btnPotiOnOff3.Name = "btnPotiOnOff3"; this.btnPotiOnOff3.UseUnderline = true; this.btnPotiOnOff3.Active = true; this.btnPotiOnOff3.Label = global::Mono.Unix.Catalog.GetString ("On/Off"); this.vbxPoti3.Add (this.btnPotiOnOff3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbxPoti3 [this.btnPotiOnOff3])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbxPoti3.Gtk.Box+BoxChild this.edPoti3 = new global::Gtk.Entry (); this.edPoti3.WidthRequest = 50; this.edPoti3.Sensitive = false; this.edPoti3.CanFocus = true; this.edPoti3.Name = "edPoti3"; this.edPoti3.IsEditable = true; this.edPoti3.InvisibleChar = '●'; this.vbxPoti3.Add (this.edPoti3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbxPoti3 [this.edPoti3])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbxPoti3.Gtk.Box+BoxChild this.vscalePoti3 = new global::Gtk.VScale (null); this.vscalePoti3.CanFocus = true; this.vscalePoti3.Name = "vscalePoti3"; this.vscalePoti3.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.vscalePoti3.Inverted = true; this.vscalePoti3.Adjustment.Upper = 255; this.vscalePoti3.Adjustment.PageIncrement = 10; this.vscalePoti3.Adjustment.StepIncrement = 1; this.vscalePoti3.DrawValue = false; this.vscalePoti3.Digits = 0; this.vscalePoti3.ValuePos = ((global::Gtk.PositionType)(2)); this.vbxPoti3.Add (this.vscalePoti3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbxPoti3 [this.vscalePoti3])); w17.Position = 2; // Container child vbxPoti3.Gtk.Box+BoxChild this.lblPoti3 = new global::Gtk.Label (); this.lblPoti3.Name = "lblPoti3"; this.lblPoti3.LabelProp = global::Mono.Unix.Catalog.GetString ("Poti3"); this.vbxPoti3.Add (this.lblPoti3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbxPoti3 [this.lblPoti3])); w18.Position = 3; w18.Expand = false; w18.Fill = false; this.hbxMixer.Add (this.vbxPoti3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vbxPoti3])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.vbxPoti4 = new global::Gtk.VBox (); this.vbxPoti4.Name = "vbxPoti4"; this.vbxPoti4.Spacing = 6; // Container child vbxPoti4.Gtk.Box+BoxChild this.btnPotiOnOff4 = new global::Gtk.ToggleButton (); this.btnPotiOnOff4.CanFocus = true; this.btnPotiOnOff4.Name = "btnPotiOnOff4"; this.btnPotiOnOff4.UseUnderline = true; this.btnPotiOnOff4.Active = true; this.btnPotiOnOff4.Label = global::Mono.Unix.Catalog.GetString ("On/Off"); this.vbxPoti4.Add (this.btnPotiOnOff4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbxPoti4 [this.btnPotiOnOff4])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbxPoti4.Gtk.Box+BoxChild this.edPoti4 = new global::Gtk.Entry (); this.edPoti4.WidthRequest = 50; this.edPoti4.Sensitive = false; this.edPoti4.CanFocus = true; this.edPoti4.Name = "edPoti4"; this.edPoti4.IsEditable = true; this.edPoti4.InvisibleChar = '●'; this.vbxPoti4.Add (this.edPoti4); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbxPoti4 [this.edPoti4])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbxPoti4.Gtk.Box+BoxChild this.vscalePoti4 = new global::Gtk.VScale (null); this.vscalePoti4.CanFocus = true; this.vscalePoti4.Name = "vscalePoti4"; this.vscalePoti4.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.vscalePoti4.Inverted = true; this.vscalePoti4.Adjustment.Upper = 255; this.vscalePoti4.Adjustment.PageIncrement = 10; this.vscalePoti4.Adjustment.StepIncrement = 1; this.vscalePoti4.Adjustment.Value = 15; this.vscalePoti4.DrawValue = false; this.vscalePoti4.Digits = 0; this.vscalePoti4.ValuePos = ((global::Gtk.PositionType)(2)); this.vbxPoti4.Add (this.vscalePoti4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbxPoti4 [this.vscalePoti4])); w22.Position = 2; // Container child vbxPoti4.Gtk.Box+BoxChild this.lblPoti4 = new global::Gtk.Label (); this.lblPoti4.Name = "lblPoti4"; this.lblPoti4.LabelProp = global::Mono.Unix.Catalog.GetString ("Poti4"); this.vbxPoti4.Add (this.lblPoti4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbxPoti4 [this.lblPoti4])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.hbxMixer.Add (this.vbxPoti4); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vbxPoti4])); w24.Position = 3; w24.Expand = false; w24.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.vbxPoti5 = new global::Gtk.VBox (); this.vbxPoti5.Name = "vbxPoti5"; this.vbxPoti5.Spacing = 6; // Container child vbxPoti5.Gtk.Box+BoxChild this.btnPotiOnOff5 = new global::Gtk.ToggleButton (); this.btnPotiOnOff5.CanFocus = true; this.btnPotiOnOff5.Name = "btnPotiOnOff5"; this.btnPotiOnOff5.UseUnderline = true; this.btnPotiOnOff5.Active = true; this.btnPotiOnOff5.Label = global::Mono.Unix.Catalog.GetString ("On/Off"); this.vbxPoti5.Add (this.btnPotiOnOff5); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbxPoti5 [this.btnPotiOnOff5])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbxPoti5.Gtk.Box+BoxChild this.edPoti5 = new global::Gtk.Entry (); this.edPoti5.WidthRequest = 50; this.edPoti5.Sensitive = false; this.edPoti5.CanFocus = true; this.edPoti5.Name = "edPoti5"; this.edPoti5.IsEditable = true; this.edPoti5.InvisibleChar = '●'; this.vbxPoti5.Add (this.edPoti5); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbxPoti5 [this.edPoti5])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child vbxPoti5.Gtk.Box+BoxChild this.vscalePoti5 = new global::Gtk.VScale (null); this.vscalePoti5.CanFocus = true; this.vscalePoti5.Name = "vscalePoti5"; this.vscalePoti5.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.vscalePoti5.Inverted = true; this.vscalePoti5.Adjustment.Upper = 255; this.vscalePoti5.Adjustment.PageIncrement = 10; this.vscalePoti5.Adjustment.StepIncrement = 1; this.vscalePoti5.Adjustment.Value = 15; this.vscalePoti5.DrawValue = false; this.vscalePoti5.Digits = 0; this.vscalePoti5.ValuePos = ((global::Gtk.PositionType)(2)); this.vbxPoti5.Add (this.vscalePoti5); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbxPoti5 [this.vscalePoti5])); w27.Position = 2; // Container child vbxPoti5.Gtk.Box+BoxChild this.lblPoti5 = new global::Gtk.Label (); this.lblPoti5.Name = "lblPoti5"; this.lblPoti5.LabelProp = global::Mono.Unix.Catalog.GetString ("Poti5"); this.vbxPoti5.Add (this.lblPoti5); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbxPoti5 [this.lblPoti5])); w28.Position = 3; w28.Expand = false; w28.Fill = false; this.hbxMixer.Add (this.vbxPoti5); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vbxPoti5])); w29.Position = 4; w29.Expand = false; w29.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbxMixer.Add (this.vseparator1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vseparator1])); w30.Position = 5; w30.Expand = false; w30.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.vbxDigitals = new global::Gtk.VBox (); this.vbxDigitals.Name = "vbxDigitals"; this.vbxDigitals.Spacing = 6; // Container child vbxDigitals.Gtk.Box+BoxChild this.bntD1 = new global::Gtk.ToggleButton (); this.bntD1.CanFocus = true; this.bntD1.Name = "bntD1"; this.bntD1.UseUnderline = true; this.bntD1.Label = global::Mono.Unix.Catalog.GetString ("D1"); this.vbxDigitals.Add (this.bntD1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbxDigitals [this.bntD1])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child vbxDigitals.Gtk.Box+BoxChild this.btnD2 = new global::Gtk.ToggleButton (); this.btnD2.CanFocus = true; this.btnD2.Name = "btnD2"; this.btnD2.UseUnderline = true; this.btnD2.Label = global::Mono.Unix.Catalog.GetString ("D2"); this.vbxDigitals.Add (this.btnD2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbxDigitals [this.btnD2])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child vbxDigitals.Gtk.Box+BoxChild this.btnD3 = new global::Gtk.ToggleButton (); this.btnD3.CanFocus = true; this.btnD3.Name = "btnD3"; this.btnD3.UseUnderline = true; this.btnD3.Label = global::Mono.Unix.Catalog.GetString ("D3"); this.vbxDigitals.Add (this.btnD3); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbxDigitals [this.btnD3])); w33.Position = 2; w33.Expand = false; w33.Fill = false; // Container child vbxDigitals.Gtk.Box+BoxChild this.btnD4 = new global::Gtk.ToggleButton (); this.btnD4.CanFocus = true; this.btnD4.Name = "btnD4"; this.btnD4.UseUnderline = true; this.btnD4.Label = global::Mono.Unix.Catalog.GetString ("D4"); this.vbxDigitals.Add (this.btnD4); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbxDigitals [this.btnD4])); w34.Position = 3; w34.Expand = false; w34.Fill = false; // Container child vbxDigitals.Gtk.Box+BoxChild this.btnD5 = new global::Gtk.ToggleButton (); this.btnD5.CanFocus = true; this.btnD5.Name = "btnD5"; this.btnD5.UseUnderline = true; this.btnD5.Label = global::Mono.Unix.Catalog.GetString ("D5"); this.vbxDigitals.Add (this.btnD5); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbxDigitals [this.btnD5])); w35.Position = 4; w35.Expand = false; w35.Fill = false; this.hbxMixer.Add (this.vbxDigitals); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vbxDigitals])); w36.Position = 6; w36.Expand = false; w36.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator (); this.vseparator2.Name = "vseparator2"; this.hbxMixer.Add (this.vseparator2); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vseparator2])); w37.Position = 7; w37.Expand = false; w37.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.vbxButtons = new global::Gtk.VBox (); this.vbxButtons.Name = "vbxButtons"; this.vbxButtons.Spacing = 6; // Container child vbxButtons.Gtk.Box+BoxChild this.btnB1 = new global::Gtk.Button (); this.btnB1.CanFocus = true; this.btnB1.Name = "btnB1"; this.btnB1.UseUnderline = true; this.btnB1.Label = global::Mono.Unix.Catalog.GetString ("B1"); this.vbxButtons.Add (this.btnB1); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbxButtons [this.btnB1])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vbxButtons.Gtk.Box+BoxChild this.btnB2 = new global::Gtk.Button (); this.btnB2.CanFocus = true; this.btnB2.Name = "btnB2"; this.btnB2.UseUnderline = true; this.btnB2.Label = global::Mono.Unix.Catalog.GetString ("B2"); this.vbxButtons.Add (this.btnB2); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbxButtons [this.btnB2])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child vbxButtons.Gtk.Box+BoxChild this.btnB3 = new global::Gtk.Button (); this.btnB3.CanFocus = true; this.btnB3.Name = "btnB3"; this.btnB3.UseUnderline = true; this.btnB3.Label = global::Mono.Unix.Catalog.GetString ("B3"); this.vbxButtons.Add (this.btnB3); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbxButtons [this.btnB3])); w40.Position = 2; w40.Expand = false; w40.Fill = false; // Container child vbxButtons.Gtk.Box+BoxChild this.btnB4 = new global::Gtk.Button (); this.btnB4.CanFocus = true; this.btnB4.Name = "btnB4"; this.btnB4.UseUnderline = true; this.btnB4.Label = global::Mono.Unix.Catalog.GetString ("B4"); this.vbxButtons.Add (this.btnB4); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbxButtons [this.btnB4])); w41.Position = 3; w41.Expand = false; w41.Fill = false; // Container child vbxButtons.Gtk.Box+BoxChild this.btnB5 = new global::Gtk.Button (); this.btnB5.CanFocus = true; this.btnB5.Name = "btnB5"; this.btnB5.UseUnderline = true; this.btnB5.Label = global::Mono.Unix.Catalog.GetString ("B5"); this.vbxButtons.Add (this.btnB5); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbxButtons [this.btnB5])); w42.Position = 4; w42.Expand = false; w42.Fill = false; this.hbxMixer.Add (this.vbxButtons); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.vbxButtons])); w43.Position = 8; w43.Expand = false; w43.Fill = false; // Container child hbxMixer.Gtk.Box+BoxChild this.nbSettings = new global::Gtk.Notebook (); this.nbSettings.CanFocus = true; this.nbSettings.Name = "nbSettings"; this.nbSettings.CurrentPage = 0; // Container child nbSettings.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.txtLabSettings = new global::Gtk.TextView (); this.txtLabSettings.CanFocus = true; this.txtLabSettings.Name = "txtLabSettings"; this.GtkScrolledWindow.Add (this.txtLabSettings); this.nbSettings.Add (this.GtkScrolledWindow); // Notebook tab this.lblLabSettings = new global::Gtk.Label (); this.lblLabSettings.Name = "lblLabSettings"; this.lblLabSettings.LabelProp = global::Mono.Unix.Catalog.GetString ("Lab.Settings"); this.nbSettings.SetTabLabel (this.GtkScrolledWindow, this.lblLabSettings); this.lblLabSettings.ShowAll (); // Container child nbSettings.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.txtArduinoSettings = new global::Gtk.TextView (); this.txtArduinoSettings.CanFocus = true; this.txtArduinoSettings.Name = "txtArduinoSettings"; this.GtkScrolledWindow1.Add (this.txtArduinoSettings); this.nbSettings.Add (this.GtkScrolledWindow1); global::Gtk.Notebook.NotebookChild w47 = ((global::Gtk.Notebook.NotebookChild)(this.nbSettings [this.GtkScrolledWindow1])); w47.Position = 1; // Notebook tab this.lblArduinoSettings = new global::Gtk.Label (); this.lblArduinoSettings.Name = "lblArduinoSettings"; this.lblArduinoSettings.LabelProp = global::Mono.Unix.Catalog.GetString ("Arduino.Settings"); this.nbSettings.SetTabLabel (this.GtkScrolledWindow1, this.lblArduinoSettings); this.lblArduinoSettings.ShowAll (); this.hbxMixer.Add (this.nbSettings); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbxMixer [this.nbSettings])); w48.Position = 9; this.vbxMain.Add (this.hbxMixer); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbxMain [this.hbxMixer])); w49.Position = 3; w49.Expand = false; w49.Fill = false; this.Add (this.vbxMain); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 761; this.DefaultHeight = 604; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.saveAction.Activated += new global::System.EventHandler (this.btnSave_Clicked); this.btnPotiOnOff1.Toggled += new global::System.EventHandler (this.btnPotiOnOff_Toggled); this.edPoti1.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.edPoti_KeyReleased); this.vscalePoti1.ValueChanged += new global::System.EventHandler (this.vScalePoti_Changed); this.btnPotiOnOff2.Toggled += new global::System.EventHandler (this.btnPotiOnOff_Toggled); this.edPoti2.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.edPoti_KeyReleased); this.vscalePoti2.ValueChanged += new global::System.EventHandler (this.vScalePoti_Changed); this.btnPotiOnOff3.Toggled += new global::System.EventHandler (this.btnPotiOnOff_Toggled); this.edPoti3.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.edPoti_KeyReleased); this.vscalePoti3.ValueChanged += new global::System.EventHandler (this.vScalePoti_Changed); this.btnPotiOnOff4.Toggled += new global::System.EventHandler (this.btnPotiOnOff_Toggled); this.edPoti4.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.edPoti_KeyReleased); this.vscalePoti4.ValueChanged += new global::System.EventHandler (this.vScalePoti_Changed); this.btnPotiOnOff5.Toggled += new global::System.EventHandler (this.btnPotiOnOff_Toggled); this.edPoti5.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.edPoti_KeyReleased); this.vscalePoti5.ValueChanged += new global::System.EventHandler (this.vScalePoti_Changed); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Template.TemplateWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.SettingsAction, null); this.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null); this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style"); w1.Add(this.WindowStyleAction, null); this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0); this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE"); w1.Add(this.CustomStyleAction, null); this.PlatformStyleAction = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction.Group = this.CustomStyleAction.Group; this.PlatformStyleAction.Sensitive = false; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction.Visible = false; this.PlatformStyleAction.VisibleHorizontal = false; this.PlatformStyleAction.VisibleVertical = false; this.PlatformStyleAction.VisibleOverflown = false; w1.Add(this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0); this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE"); w1.Add(this.DecoratedCustomStyleAction, null); this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group; this.PlatformStyleAction1.Sensitive = false; this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction1.Visible = false; w1.Add(this.PlatformStyleAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Template.TemplateWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child Template.TemplateWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.table1.Add(this.button1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.calendar2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("young")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("strong")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.table1.Add(this.combobox1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.table1.Add(this.comboboxentry1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.table1.Add(this.entry1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.Buffer.Text = "Young, strong and crazy!"; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add(this.textview1); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.table1.Add(this.progressbar1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.table1.Add(this.spinbutton1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.table1.Add(this.togglebutton1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton2 = new global::Gtk.CheckButton(); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.vbox3.Add(this.checkbutton2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton3 = new global::Gtk.CheckButton(); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.vbox3.Add(this.checkbutton3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton4 = new global::Gtk.CheckButton(); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.vbox3.Add(this.checkbutton4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.table1.Add(this.vbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox4.Add(this.radiobutton1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton3")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.table1.Add(this.vbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w22.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 483; this.DefaultHeight = 497; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.location = new global::Gtk.Label (); this.location.Name = "location"; this.location.Xalign = 0F; this.location.LabelProp = global::Mono.Unix.Catalog.GetString ("Loaction:"); this.vbox4.Add (this.location); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.location])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.host = new global::Gtk.Entry (); this.host.CanFocus = true; this.host.Name = "host"; this.host.IsEditable = true; this.host.InvisibleChar = '•'; this.vbox4.Add (this.host); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.host])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.connect = new global::Gtk.ToggleButton (); this.connect.CanFocus = true; this.connect.Name = "connect"; this.connect.UseUnderline = true; this.connect.Label = global::Mono.Unix.Catalog.GetString ("Connect"); this.vbox4.Add (this.connect); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.connect])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Model file"); this.vbox4.Add (this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label2])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.modelFilePicker = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(0))); this.modelFilePicker.Sensitive = false; this.modelFilePicker.Name = "modelFilePicker"; this.vbox4.Add (this.modelFilePicker); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.modelFilePicker])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.start = new global::Gtk.Button (); this.start.Sensitive = false; this.start.CanFocus = true; this.start.Name = "start"; this.start.UseUnderline = true; this.start.Label = global::Mono.Unix.Catalog.GetString ("start"); this.vbox4.Add (this.start); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.start])); w6.Position = 5; w6.Expand = false; w6.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.getNext = new global::Gtk.Button (); this.getNext.Sensitive = false; this.getNext.CanFocus = true; this.getNext.Name = "getNext"; this.getNext.UseUnderline = true; this.getNext.Label = global::Mono.Unix.Catalog.GetString ("getNext"); this.vbox4.Add (this.getNext); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.getNext])); w7.Position = 6; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hasNext = new global::Gtk.Button (); this.hasNext.Sensitive = false; this.hasNext.CanFocus = true; this.hasNext.Name = "hasNext"; this.hasNext.UseUnderline = true; this.hasNext.Label = global::Mono.Unix.Catalog.GetString ("hasNext"); this.vbox4.Add (this.hasNext); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hasNext])); w8.Position = 7; w8.Expand = false; w8.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.getData = new global::Gtk.Button (); this.getData.Sensitive = false; this.getData.CanFocus = true; this.getData.Name = "getData"; this.getData.UseUnderline = true; this.getData.Label = global::Mono.Unix.Catalog.GetString ("getData"); this.vbox4.Add (this.getData); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.getData])); w9.Position = 8; w9.Expand = false; w9.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.restart = new global::Gtk.Button (); this.restart.Sensitive = false; this.restart.CanFocus = true; this.restart.Name = "restart"; this.restart.UseUnderline = true; this.restart.Label = global::Mono.Unix.Catalog.GetString ("restart"); this.vbox4.Add (this.restart); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.restart])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 9; w10.Expand = false; w10.Fill = false; this.hbox2.Add (this.vbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.log = new global::Gtk.TextView (); this.log.CanFocus = true; this.log.Name = "log"; this.log.Editable = false; this.log.CursorVisible = false; this.log.AcceptsTab = false; this.GtkScrolledWindow.Add (this.log); this.hbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); w13.Position = 1; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 513; this.DefaultHeight = 290; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.connect.Toggled += new global::System.EventHandler (this.onConnectToggled); this.modelFilePicker.SelectionChanged += new global::System.EventHandler (this.OnModelSelectionChanged); this.start.Clicked += new global::System.EventHandler (this.OnStart); this.getNext.Clicked += new global::System.EventHandler (this.onGetNext); this.hasNext.Clicked += new global::System.EventHandler (this.OnHasNext); this.getData.Clicked += new global::System.EventHandler (this.OnGetData); this.restart.Clicked += new global::System.EventHandler (this.OnRestart); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget TraceLab.UI.GTK.ExperimentCanvasWidget global::Stetic.BinContainer.Attach (this); this.Name = "TraceLab.UI.GTK.ExperimentCanvasWidget"; // Container child TraceLab.UI.GTK.ExperimentCanvasWidget.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.experimentCrumbs = new global::TraceLab.UI.GTK.Crumbs (); this.experimentCrumbs.Events = ((global::Gdk.EventMask)(256)); this.experimentCrumbs.Name = "experimentCrumbs"; this.experimentCrumbs.Radius = 5; this.experimentCrumbs.Spacing = 11; this.experimentCrumbs.Xoffset = 12; this.experimentCrumbs.Yoffset = 6; this.vbox2.Add (this.experimentCrumbs); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.experimentCrumbs])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.experimentCanvas = new global::MonoHotDraw.SteticComponent (); this.experimentCanvas.Events = ((global::Gdk.EventMask)(256)); this.experimentCanvas.Name = "experimentCanvas"; this.vbox2.Add (this.experimentCanvas); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.experimentCanvas])); w2.Position = 1; this.hbox2.Add (this.vbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w3.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.zoomScale = new global::Gtk.VScale (null); this.zoomScale.HeightRequest = 300; this.zoomScale.CanFocus = true; this.zoomScale.Name = "zoomScale"; this.zoomScale.Inverted = true; this.zoomScale.Adjustment.Lower = 0.1D; this.zoomScale.Adjustment.Upper = 3D; this.zoomScale.Adjustment.PageIncrement = 0.1D; this.zoomScale.Adjustment.StepIncrement = 0.01D; this.zoomScale.Adjustment.Value = 1D; this.zoomScale.DrawValue = true; this.zoomScale.Digits = 2; this.zoomScale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox1.Add (this.zoomScale); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.zoomScale])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scaleToOriginalSizeButton = new global::Gtk.Button (); this.scaleToOriginalSizeButton.TooltipMarkup = "Zoom to orginal 1:1 scale"; this.scaleToOriginalSizeButton.CanFocus = true; this.scaleToOriginalSizeButton.Name = "scaleToOriginalSizeButton"; // Container child scaleToOriginalSizeButton.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-zoom-100", global::Gtk.IconSize.Menu); w6.Add (w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label (); w6.Add (w9); w5.Add (w6); this.scaleToOriginalSizeButton.Add (w5); this.vbox1.Add (this.scaleToOriginalSizeButton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.scaleToOriginalSizeButton])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.zoomToFitButton = new global::Gtk.Button (); this.zoomToFitButton.TooltipMarkup = "Zoom to fit"; this.zoomToFitButton.CanFocus = true; this.zoomToFitButton.Name = "zoomToFitButton"; // Container child zoomToFitButton.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-zoom-fit", global::Gtk.IconSize.Menu); w15.Add (w16); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w18 = new global::Gtk.Label (); w15.Add (w18); w14.Add (w15); this.zoomToFitButton.Add (w14); this.vbox1.Add (this.zoomToFitButton); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.zoomToFitButton])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox1.Add (this.hseparator1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1])); w23.Position = 3; w23.Expand = false; w23.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.selectionToolButton = new global::Gtk.ToggleButton (); this.selectionToolButton.CanFocus = true; this.selectionToolButton.Name = "selectionToolButton"; this.selectionToolButton.UseUnderline = true; this.selectionToolButton.Active = true; // Container child selectionToolButton.Gtk.Container+ContainerChild global::Gtk.Alignment w24 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w25 = new global::Gtk.HBox (); w25.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w26 = new global::Gtk.Image (); w26.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("TraceLab.UI.GTK.Resources.arrowcursor_icon.png"); w25.Add (w26); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w28 = new global::Gtk.Label (); w25.Add (w28); w24.Add (w25); this.selectionToolButton.Add (w24); this.vbox1.Add (this.selectionToolButton); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.selectionToolButton])); w32.Position = 4; w32.Expand = false; w32.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.panToolButton = new global::Gtk.ToggleButton (); this.panToolButton.CanFocus = true; this.panToolButton.Name = "panToolButton"; this.panToolButton.UseUnderline = true; // Container child panToolButton.Gtk.Container+ContainerChild global::Gtk.Alignment w33 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w34 = new global::Gtk.HBox (); w34.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w35 = new global::Gtk.Image (); w35.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("TraceLab.UI.GTK.Resources.cursor-grab-open.png"); w34.Add (w35); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w37 = new global::Gtk.Label (); w34.Add (w37); w33.Add (w34); this.panToolButton.Add (w33); this.vbox1.Add (this.panToolButton); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.panToolButton])); w41.Position = 5; w41.Expand = false; w41.Fill = false; this.hbox2.Add (this.vbox1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox1])); w42.Position = 1; w42.Expand = false; w42.Fill = false; this.Add (this.hbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.zoomScale.ValueChanged += new global::System.EventHandler (this.ZoomValueChanged); this.scaleToOriginalSizeButton.Clicked += new global::System.EventHandler (this.ZoomToOriginal); this.zoomToFitButton.Clicked += new global::System.EventHandler (this.ZoomToFit); this.selectionToolButton.Toggled += new global::System.EventHandler (this.SelectionToolButtonToggled); this.panToolButton.Toggled += new global::System.EventHandler (this.PanToolButtonToggled); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Gettext.POEditorWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2, 0); this.Name = "MonoDevelop.Gettext.POEditorWidget"; // Container child MonoDevelop.Gettext.POEditorWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.notebookPages = new global::Gtk.Notebook (); this.notebookPages.CanFocus = true; this.notebookPages.Name = "notebookPages"; this.notebookPages.CurrentPage = 0; this.notebookPages.ShowBorder = false; this.notebookPages.ShowTabs = false; // Container child notebookPages.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("_Filter:"); this.label2.UseUnderline = true; this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.searchEntryFilter = new global::MonoDevelop.Components.SearchEntry (); this.searchEntryFilter.Name = "searchEntryFilter"; this.searchEntryFilter.ForceFilterButtonVisible = false; this.searchEntryFilter.HasFrame = false; this.searchEntryFilter.RoundedShape = false; this.searchEntryFilter.IsCheckMenu = false; this.searchEntryFilter.ActiveFilterID = 0; this.searchEntryFilter.Ready = false; this.searchEntryFilter.HasFocus = false; this.hbox2.Add (this.searchEntryFilter); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.searchEntryFilter])); w4.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.togglebuttonOk = new global::Gtk.ToggleButton (); this.togglebuttonOk.CanFocus = true; this.togglebuttonOk.Name = "togglebuttonOk"; this.togglebuttonOk.UseUnderline = true; this.togglebuttonOk.Label = global::Mono.Unix.Catalog.GetString ("Valid"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("done-16.png"); this.togglebuttonOk.Image = w5; this.hbox2.Add (this.togglebuttonOk); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonOk])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.togglebuttonMissing = new global::Gtk.ToggleButton (); this.togglebuttonMissing.CanFocus = true; this.togglebuttonMissing.Name = "togglebuttonMissing"; this.togglebuttonMissing.UseUnderline = true; this.togglebuttonMissing.Label = global::Mono.Unix.Catalog.GetString ("Missing"); global::Gtk.Image w7 = new global::Gtk.Image (); w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("warning-16.png"); this.togglebuttonMissing.Image = w7; this.hbox2.Add (this.togglebuttonMissing); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonMissing])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.togglebuttonFuzzy = new global::Gtk.ToggleButton (); this.togglebuttonFuzzy.CanFocus = true; this.togglebuttonFuzzy.Name = "togglebuttonFuzzy"; this.togglebuttonFuzzy.UseUnderline = true; this.togglebuttonFuzzy.Label = global::Mono.Unix.Catalog.GetString ("Fuzzy"); global::Gtk.Image w9 = new global::Gtk.Image (); w9.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("error-16.png"); this.togglebuttonFuzzy.Image = w9; this.hbox2.Add (this.togglebuttonFuzzy); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonFuzzy])); w10.Position = 4; w10.Expand = false; w10.Fill = false; this.vbox7.Add (this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 186; // Container child vpaned2.Gtk.Paned+PanedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.treeviewEntries = new global::Gtk.TreeView (); this.treeviewEntries.CanFocus = true; this.treeviewEntries.Name = "treeviewEntries"; this.scrolledwindow1.Add (this.treeviewEntries); this.vpaned2.Add (this.scrolledwindow1); global::Gtk.Paned.PanedChild w13 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.scrolledwindow1])); w13.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), true); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("_Comments:"); this.label6.UseUnderline = true; this.vbox3.Add (this.label6); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label6])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow (); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.textviewComments = new global::Gtk.TextView (); this.textviewComments.CanFocus = true; this.textviewComments.Name = "textviewComments"; this.textviewComments.AcceptsTab = false; this.scrolledwindow3.Add (this.textviewComments); this.vbox3.Add (this.scrolledwindow3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow3])); w16.Position = 1; this.table1.Add (this.vbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox3])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("_Translated (msgstr):"); this.label7.UseUnderline = true; this.vbox4.Add (this.label7); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label7])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.notebookTranslated = new global::Gtk.Notebook (); this.notebookTranslated.CanFocus = true; this.notebookTranslated.Name = "notebookTranslated"; this.notebookTranslated.CurrentPage = 0; // Notebook tab global::Gtk.Label w19 = new global::Gtk.Label (); w19.Visible = true; this.notebookTranslated.Add (w19); this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("page1"); this.notebookTranslated.SetTabLabel (w19, this.label1); this.label1.ShowAll (); this.vbox4.Add (this.notebookTranslated); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.notebookTranslated])); w20.Position = 1; this.table1.Add (this.vbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox4])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Original (msgid):"); this.hbox3.Add (this.label8); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label8])); w22.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.checkbuttonWhiteSpaces = new global::Gtk.CheckButton (); this.checkbuttonWhiteSpaces.CanFocus = true; this.checkbuttonWhiteSpaces.Name = "checkbuttonWhiteSpaces"; this.checkbuttonWhiteSpaces.Label = global::Mono.Unix.Catalog.GetString ("S_how whitespaces"); this.checkbuttonWhiteSpaces.DrawIndicator = true; this.checkbuttonWhiteSpaces.UseUnderline = true; this.hbox3.Add (this.checkbuttonWhiteSpaces); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkbuttonWhiteSpaces])); w23.Position = 1; w23.Expand = false; this.vbox5.Add (this.hbox3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.scrolledwindowOriginal = new global::Gtk.ScrolledWindow (); this.scrolledwindowOriginal.CanFocus = true; this.scrolledwindowOriginal.Name = "scrolledwindowOriginal"; this.scrolledwindowOriginal.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox5.Add (this.scrolledwindowOriginal); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.scrolledwindowOriginal])); w25.Position = 1; // Container child vbox5.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox (); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Original plural (msgid_plural):"); this.vbox8.Add (this.label9); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label9])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.scrolledwindowPlural = new global::Gtk.ScrolledWindow (); this.scrolledwindowPlural.CanFocus = true; this.scrolledwindowPlural.Name = "scrolledwindowPlural"; this.scrolledwindowPlural.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox8.Add (this.scrolledwindowPlural); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.scrolledwindowPlural])); w27.Position = 1; this.vbox5.Add (this.vbox8); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox8])); w28.Position = 2; this.table1.Add (this.vbox5); // Container child table1.Gtk.Table+TableChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("F_ound in:"); this.label4.UseUnderline = true; this.vbox6.Add (this.label4); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label4])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow (); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.treeviewFoundIn = new global::Gtk.TreeView (); this.treeviewFoundIn.CanFocus = true; this.treeviewFoundIn.Name = "treeviewFoundIn"; this.scrolledwindow2.Add (this.treeviewFoundIn); this.vbox6.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow2])); w32.Position = 1; this.table1.Add (this.vbox6); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox6])); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); this.vpaned2.Add (this.table1); global::Gtk.Paned.PanedChild w34 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.table1])); w34.Resize = false; this.vbox7.Add (this.vpaned2); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.vpaned2])); w35.Position = 1; this.notebookPages.Add (this.vbox7); // Notebook tab this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("page1"); this.notebookPages.SetTabLabel (this.vbox7, this.label5); this.label5.ShowAll (); this.vbox2.Add (this.notebookPages); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebookPages])); w37.Position = 0; // Container child 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.UIManager.AddUiFromString ("<ui><toolbar name='toolbarPages'/></ui>"); this.toolbarPages = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarPages"))); this.toolbarPages.Name = "toolbarPages"; this.toolbarPages.ShowArrow = false; this.toolbarPages.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbarPages.IconSize = ((global::Gtk.IconSize)(3)); this.hbox1.Add (this.toolbarPages); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbarPages])); w38.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.Name = "progressbar1"; this.hbox1.Add (this.progressbar1); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar1])); w39.Position = 1; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w40.Position = 1; w40.Expand = false; w40.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.label6.MnemonicWidget = this.textviewComments; this.label7.MnemonicWidget = this.notebookTranslated; this.label4.MnemonicWidget = this.treeviewFoundIn; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Chrono.ClockPropertiesWindow this.Name = "Chrono.ClockPropertiesWindow"; this.Title = "Stopwatches"; this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(6)); this.Resizable = false; this.AllowGrow = false; // Container child Chrono.ClockPropertiesWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 10; // Container child hbox1.Gtk.Box+BoxChild this.watchNameContainer = new global::Gtk.HBox(); this.watchNameContainer.Name = "watchNameContainer"; this.watchNameContainer.Spacing = 20; // Container child watchNameContainer.Gtk.Box+BoxChild this.watchNameLabel = new global::Gtk.Label(); this.watchNameLabel.Name = "watchNameLabel"; this.watchNameLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); this.watchNameContainer.Add(this.watchNameLabel); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.watchNameContainer [this.watchNameLabel])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child watchNameContainer.Gtk.Box+BoxChild this.watchNameCombo = new global::Gtk.ComboBoxEntry(); this.watchNameCombo.WidthRequest = 160; this.watchNameCombo.Name = "watchNameCombo"; this.watchNameContainer.Add(this.watchNameCombo); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.watchNameContainer [this.watchNameCombo])); w2.Position = 1; this.hbox1.Add(this.watchNameContainer); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.watchNameContainer])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.watchNameButton = new global::Gtk.Button(); this.watchNameButton.WidthRequest = 80; this.watchNameButton.CanDefault = true; this.watchNameButton.CanFocus = true; this.watchNameButton.Name = "watchNameButton"; this.watchNameButton.UseUnderline = true; this.watchNameButton.Label = global::Mono.Unix.Catalog.GetString("Create"); this.hbox1.Add(this.watchNameButton); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.watchNameButton])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.detailBook = new global::Gtk.Notebook(); this.detailBook.CanFocus = true; this.detailBook.Name = "detailBook"; this.detailBook.CurrentPage = 1; this.detailBook.BorderWidth = ((uint)(1)); // Container child detailBook.Gtk.Notebook+NotebookChild this.alignment3 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment3.Name = "alignment3"; this.alignment3.LeftPadding = ((uint)(24)); this.alignment3.TopPadding = ((uint)(16)); this.alignment3.RightPadding = ((uint)(24)); this.alignment3.BottomPadding = ((uint)(16)); // Container child alignment3.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.logTheFollowingLabel = new global::Gtk.Label(); this.logTheFollowingLabel.Name = "logTheFollowingLabel"; this.logTheFollowingLabel.Xalign = 0F; this.logTheFollowingLabel.LabelProp = "Log the following events"; this.vbox6.Add(this.logTheFollowingLabel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.logTheFollowingLabel])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.alignment2.LeftPadding = ((uint)(20)); this.alignment2.TopPadding = ((uint)(5)); // Container child alignment2.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.logStartsCheck = new global::Gtk.CheckButton(); this.logStartsCheck.CanFocus = true; this.logStartsCheck.Name = "logStartsCheck"; this.logStartsCheck.Label = "When the Start button is clicked"; this.logStartsCheck.DrawIndicator = true; this.logStartsCheck.UseUnderline = true; this.vbox5.Add(this.logStartsCheck); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.logStartsCheck])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.logStopsCheck = new global::Gtk.CheckButton(); this.logStopsCheck.CanFocus = true; this.logStopsCheck.Name = "logStopsCheck"; this.logStopsCheck.Label = "When the Stop button is clicked"; this.logStopsCheck.DrawIndicator = true; this.logStopsCheck.UseUnderline = true; this.vbox5.Add(this.logStopsCheck); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.logStopsCheck])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.alignment2.Add(this.vbox5); this.vbox6.Add(this.alignment2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.alignment2])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbuttonbox3 = new global::Gtk.HButtonBox(); this.hbuttonbox3.Name = "hbuttonbox3"; this.hbuttonbox3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.deleteBtn = new global::Gtk.Button(); this.deleteBtn.CanFocus = true; this.deleteBtn.Name = "deleteBtn"; this.deleteBtn.UseStock = true; this.deleteBtn.UseUnderline = true; this.deleteBtn.Label = "gtk-delete"; this.hbuttonbox3.Add(this.deleteBtn); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3 [this.deleteBtn])); w11.Expand = false; w11.Fill = false; this.vbox6.Add(this.hbuttonbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbuttonbox3])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbox6.Add(this.hseparator4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hseparator4])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 3; w13.Expand = false; w13.Fill = false; this.alignment3.Add(this.vbox6); this.detailBook.Add(this.alignment3); // Notebook tab this.generalTabLabel = new global::Gtk.Label(); this.generalTabLabel.Name = "generalTabLabel"; this.generalTabLabel.LabelProp = global::Mono.Unix.Catalog.GetString("General"); this.detailBook.SetTabLabel(this.alignment3, this.generalTabLabel); this.generalTabLabel.ShowAll(); // Container child detailBook.Gtk.Notebook+NotebookChild this.alignment5 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment5.Name = "alignment5"; this.alignment5.LeftPadding = ((uint)(24)); this.alignment5.TopPadding = ((uint)(16)); this.alignment5.RightPadding = ((uint)(24)); this.alignment5.BottomPadding = ((uint)(16)); // Container child alignment5.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.countingDirectionLabel = new global::Gtk.Label(); this.countingDirectionLabel.Name = "countingDirectionLabel"; this.countingDirectionLabel.Xalign = 0F; this.countingDirectionLabel.LabelProp = "Choose the counting direction"; this.vbox4.Add(this.countingDirectionLabel); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.countingDirectionLabel])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.alignment6 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment6.Name = "alignment6"; this.alignment6.LeftPadding = ((uint)(20)); this.alignment6.TopPadding = ((uint)(5)); // Container child alignment6.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.countForwardOption = new global::Gtk.RadioButton("Count Forward"); this.countForwardOption.CanFocus = true; this.countForwardOption.Name = "countForwardOption"; this.countForwardOption.Active = true; this.countForwardOption.DrawIndicator = true; this.countForwardOption.UseUnderline = true; this.countForwardOption.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox8.Add(this.countForwardOption); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.countForwardOption])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.countBackwardOption = new global::Gtk.RadioButton("Count Backward"); this.countBackwardOption.CanFocus = true; this.countBackwardOption.Name = "countBackwardOption"; this.countBackwardOption.DrawIndicator = true; this.countBackwardOption.UseUnderline = true; this.countBackwardOption.Group = this.countForwardOption.Group; this.vbox8.Add(this.countBackwardOption); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.countBackwardOption])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.alignment6.Add(this.vbox8); this.vbox4.Add(this.alignment6); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.alignment6])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox4.Add(this.hseparator2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator2])); w21.Position = 2; w21.Expand = false; w21.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.watchSpeedContainer = new global::Gtk.HBox(); this.watchSpeedContainer.Name = "watchSpeedContainer"; this.watchSpeedContainer.Spacing = 20; // Container child watchSpeedContainer.Gtk.Box+BoxChild this.watchSpeedLabel = new global::Gtk.Label(); this.watchSpeedLabel.Name = "watchSpeedLabel"; this.watchSpeedLabel.LabelProp = "Counting Speed"; this.watchSpeedContainer.Add(this.watchSpeedLabel); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.watchSpeedContainer [this.watchSpeedLabel])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child watchSpeedContainer.Gtk.Box+BoxChild this.watchSpeedEntry = new global::Gtk.SpinButton(0, 60, 1); this.watchSpeedEntry.CanFocus = true; this.watchSpeedEntry.Name = "watchSpeedEntry"; this.watchSpeedEntry.Adjustment.PageIncrement = 6; this.watchSpeedEntry.ClimbRate = 1; this.watchSpeedEntry.Digits = ((uint)(3)); this.watchSpeedEntry.Numeric = true; this.watchSpeedEntry.Value = 1; this.watchSpeedContainer.Add(this.watchSpeedEntry); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.watchSpeedContainer [this.watchSpeedEntry])); w23.Position = 1; this.vbox4.Add(this.watchSpeedContainer); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.watchSpeedContainer])); w24.Position = 3; w24.Expand = false; w24.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.applySpeedBtn = new global::Gtk.Button(); this.applySpeedBtn.WidthRequest = 40; this.applySpeedBtn.CanFocus = true; this.applySpeedBtn.Name = "applySpeedBtn"; this.applySpeedBtn.UseUnderline = true; this.applySpeedBtn.Label = "Apply Settings"; this.vbox4.Add(this.applySpeedBtn); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.applySpeedBtn])); w25.PackType = ((global::Gtk.PackType)(1)); w25.Position = 4; w25.Expand = false; w25.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbox4.Add(this.hseparator3); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator3])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 5; w26.Expand = false; w26.Fill = false; this.alignment5.Add(this.vbox4); this.detailBook.Add(this.alignment5); global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.detailBook [this.alignment5])); w28.Position = 1; // Notebook tab this.countingTabLabel = new global::Gtk.Label(); this.countingTabLabel.Name = "countingTabLabel"; this.countingTabLabel.LabelProp = "Counting"; this.detailBook.SetTabLabel(this.alignment5, this.countingTabLabel); this.countingTabLabel.ShowAll(); // Container child detailBook.Gtk.Notebook+NotebookChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.LeftPadding = ((uint)(24)); this.alignment1.TopPadding = ((uint)(16)); this.alignment1.RightPadding = ((uint)(24)); this.alignment1.BottomPadding = ((uint)(16)); // Container child alignment1.Gtk.Container+ContainerChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.configureLayoutLabel = new global::Gtk.Label(); this.configureLayoutLabel.Name = "configureLayoutLabel"; this.configureLayoutLabel.Xalign = 0F; this.configureLayoutLabel.LabelProp = "Configure the window layout"; this.vbox7.Add(this.configureLayoutLabel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.configureLayoutLabel])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.alignment4 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment4.Name = "alignment4"; this.alignment4.LeftPadding = ((uint)(20)); this.alignment4.TopPadding = ((uint)(5)); // Container child alignment4.Gtk.Container+ContainerChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.dockedCheck = new global::Gtk.CheckButton(); this.dockedCheck.CanFocus = true; this.dockedCheck.Name = "dockedCheck"; this.dockedCheck.Label = "Dock in Log Window"; this.dockedCheck.DrawIndicator = true; this.dockedCheck.UseUnderline = true; this.vbox9.Add(this.dockedCheck); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.dockedCheck])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.compactCheck = new global::Gtk.CheckButton(); this.compactCheck.CanFocus = true; this.compactCheck.Name = "compactCheck"; this.compactCheck.Label = global::Mono.Unix.Catalog.GetString("Compact Mode"); this.compactCheck.DrawIndicator = true; this.compactCheck.UseUnderline = true; this.vbox9.Add(this.compactCheck); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.compactCheck])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.alignment4.Add(this.vbox9); this.vbox7.Add(this.alignment4); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.alignment4])); w33.Position = 1; w33.Expand = false; w33.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.windowVisibleBtn = new global::Gtk.ToggleButton(); this.windowVisibleBtn.CanFocus = true; this.windowVisibleBtn.Name = "windowVisibleBtn"; this.windowVisibleBtn.UseUnderline = true; this.windowVisibleBtn.Label = "Visible"; this.hbox3.Add(this.windowVisibleBtn); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.windowVisibleBtn])); w34.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.keepAboveCheck = new global::Gtk.CheckButton(); this.keepAboveCheck.CanFocus = true; this.keepAboveCheck.Name = "keepAboveCheck"; this.keepAboveCheck.Label = "Keep Above"; this.keepAboveCheck.DrawIndicator = true; this.keepAboveCheck.UseUnderline = true; this.hbox3.Add(this.keepAboveCheck); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.keepAboveCheck])); w35.PackType = ((global::Gtk.PackType)(1)); w35.Position = 1; w35.Expand = false; this.vbox7.Add(this.hbox3); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox3])); w36.PackType = ((global::Gtk.PackType)(1)); w36.Position = 2; w36.Expand = false; w36.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbox7.Add(this.hseparator5); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hseparator5])); w37.PackType = ((global::Gtk.PackType)(1)); w37.Position = 3; w37.Expand = false; w37.Fill = false; this.alignment1.Add(this.vbox7); this.detailBook.Add(this.alignment1); global::Gtk.Notebook.NotebookChild w39 = ((global::Gtk.Notebook.NotebookChild)(this.detailBook [this.alignment1])); w39.Position = 2; // Notebook tab this.windowTabLabel = new global::Gtk.Label(); this.windowTabLabel.Name = "windowTabLabel"; this.windowTabLabel.LabelProp = "Window"; this.detailBook.SetTabLabel(this.alignment1, this.windowTabLabel); this.windowTabLabel.ShowAll(); this.vbox2.Add(this.detailBook); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.detailBook])); w40.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbuttonbox2 = new global::Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; this.hbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.closeBtn = new global::Gtk.Button(); this.closeBtn.CanFocus = true; this.closeBtn.Name = "closeBtn"; this.closeBtn.UseStock = true; this.closeBtn.UseUnderline = true; this.closeBtn.Label = "gtk-close"; this.hbuttonbox2.Add(this.closeBtn); global::Gtk.ButtonBox.ButtonBoxChild w41 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.closeBtn])); w41.Expand = false; w41.Fill = false; this.vbox2.Add(this.hbuttonbox2); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbuttonbox2])); w42.PackType = ((global::Gtk.PackType)(1)); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 328; this.DefaultHeight = 379; this.watchNameButton.HasDefault = true; this.Hide(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.windowDelete_event); this.watchNameCombo.Changed += new global::System.EventHandler(this.clockNameChanged_event); this.watchNameButton.Clicked += new global::System.EventHandler(this.clockNameBtn_event); this.logStartsCheck.Toggled += new global::System.EventHandler(this.logStarts_event); this.logStopsCheck.Toggled += new global::System.EventHandler(this.logStops_event); this.deleteBtn.Clicked += new global::System.EventHandler(this.deleteClock_event); this.applySpeedBtn.Clicked += new global::System.EventHandler(this.setSpeed_event); this.dockedCheck.Toggled += new global::System.EventHandler(this.docked_event); this.compactCheck.Toggled += new global::System.EventHandler(this.compact_event); this.windowVisibleBtn.Toggled += new global::System.EventHandler(this.visible_event); this.keepAboveCheck.Toggled += new global::System.EventHandler(this.keepVisible_event); this.closeBtn.Clicked += new global::System.EventHandler(this.closeWindow_event); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget WidgetLibrary.SyncWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2, 0); this.Name = "WidgetLibrary.SyncWidget"; // Container child WidgetLibrary.SyncWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'/></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.AutoSyncToggleButton = new global::Gtk.ToggleButton (); this.AutoSyncToggleButton.CanFocus = true; this.AutoSyncToggleButton.Name = "AutoSyncToggleButton"; this.AutoSyncToggleButton.UseUnderline = true; // Container child AutoSyncToggleButton.Gtk.Container+ContainerChild global::Gtk.Alignment w4 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w5 = new global::Gtk.HBox (); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w6 = new global::Gtk.Image (); w5.Add (w6); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w8 = new global::Gtk.Label (); w8.LabelProp = global::Mono.Unix.Catalog.GetString ("AutoSync"); w8.UseUnderline = true; w5.Add (w8); w4.Add (w5); this.AutoSyncToggleButton.Add (w4); this.hbox1.Add (this.AutoSyncToggleButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.AutoSyncToggleButton])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ManSyncButton = new global::Gtk.Button (); this.ManSyncButton.CanFocus = true; this.ManSyncButton.Name = "ManSyncButton"; this.ManSyncButton.UseUnderline = true; this.ManSyncButton.Label = global::Mono.Unix.Catalog.GetString ("ManSync"); this.hbox1.Add (this.ManSyncButton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ManSyncButton])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.SpecialSyncButton = new global::Gtk.Button (); this.SpecialSyncButton.CanFocus = true; this.SpecialSyncButton.Name = "SpecialSyncButton"; this.SpecialSyncButton.UseUnderline = true; this.SpecialSyncButton.Label = global::Mono.Unix.Catalog.GetString ("SpecialSync"); this.hbox1.Add (this.SpecialSyncButton); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.SpecialSyncButton])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ComputerButton = new global::Gtk.Button (); this.ComputerButton.CanFocus = true; this.ComputerButton.Name = "ComputerButton"; this.ComputerButton.UseUnderline = true; this.ComputerButton.Label = global::Mono.Unix.Catalog.GetString ("Computer"); this.hbox1.Add (this.ComputerButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ComputerButton])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.RaspberryButton = new global::Gtk.Button (); this.RaspberryButton.CanFocus = true; this.RaspberryButton.Name = "RaspberryButton"; this.RaspberryButton.UseUnderline = true; this.RaspberryButton.Label = global::Mono.Unix.Catalog.GetString ("Raspberry"); this.hbox1.Add (this.RaspberryButton); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.RaspberryButton])); w16.Position = 4; w16.Expand = false; w16.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w18.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.hbox2.Add (this.statusbar1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.statusbar1])); w19.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.Name = "progressbar1"; this.hbox2.Add (this.progressbar1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.progressbar1])); w20.Position = 1; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w21.Position = 3; w21.Expand = false; w21.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); }