protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = Mono.Unix.Catalog.GetString("GtkButton"); this.fixed1.Add(this.button1); Gtk.Fixed.FixedChild w1 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.button1])); w1.X = 160; w1.Y = 113; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); }
public ActionGroupEditor() { changedEvent = new ObjectWrapperEventHandler (OnActionChanged); Gtk.Fixed fx = new Gtk.Fixed (); table = new Gtk.Table (0, 0, false); table.RowSpacing = 8; table.ColumnSpacing = 8; table.BorderWidth = 12; Gtk.EventBox ebox = new Gtk.EventBox (); ebox.ModifyBg (Gtk.StateType.Normal, this.Style.Backgrounds [0]); headerLabel = new EditableLabel (); headerLabel.MarkupTemplate = "<b>$TEXT</b>"; headerLabel.Changed += OnGroupNameChanged; Gtk.VBox vbox = new Gtk.VBox (); Gtk.Label grpLabel = new Gtk.Label (); grpLabel.Xalign = 0; grpLabel.Markup = "<small><i>Action Group</i></small>"; // vbox.PackStart (grpLabel, false, false, 0); vbox.PackStart (headerLabel, false, false, 3); vbox.BorderWidth = 12; ebox.Add (vbox); Gtk.VBox box = new Gtk.VBox (); box.Spacing = 6; box.PackStart (ebox, false, false, 0); box.PackStart (table, false, false, 0); fx.Put (box, 0, 0); Add (fx); ShowAll (); }
public static Gtk.Fixed GetCurrentCanvas(Gtk.Notebook parentNotebook) { Gtk.ScrolledWindow page = (Gtk.ScrolledWindow)parentNotebook.GetNthPage(parentNotebook.Page); Gtk.Viewport viewport = (Gtk.Viewport)page.Children[0]; Gtk.Fixed canvas = (Gtk.Fixed)viewport.Children[0]; return(canvas); }
public ActionGroupEditor() { changedEvent = new ObjectWrapperEventHandler(OnActionChanged); Gtk.Fixed fx = new Gtk.Fixed(); table = new Gtk.Table(0, 0, false); table.RowSpacing = 8; table.ColumnSpacing = 8; table.BorderWidth = 12; Gtk.EventBox ebox = new Gtk.EventBox(); ebox.ModifyBg(Gtk.StateType.Normal, this.Style.Backgrounds [0]); headerLabel = new EditableLabel(); headerLabel.MarkupTemplate = "<b>$TEXT</b>"; headerLabel.Changed += OnGroupNameChanged; Gtk.VBox vbox = new Gtk.VBox(); Gtk.Label grpLabel = new Gtk.Label(); grpLabel.Xalign = 0; grpLabel.Markup = string.Format("<small><i>{0}</i></small>", Catalog.GetString("Action Group")); // vbox.PackStart (grpLabel, false, false, 0); vbox.PackStart(headerLabel, false, false, 3); vbox.BorderWidth = 12; ebox.Add(vbox); Gtk.VBox box = new Gtk.VBox(); box.Spacing = 6; box.PackStart(ebox, false, false, 0); box.PackStart(table, false, false, 0); fx.Put(box, 0, 0); Add(fx); ShowAll(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; // Container child MainWindow.Gtk.Container+ContainerChild this.fixed4 = new Gtk.Fixed(); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; // Container child fixed4.Gtk.Fixed+FixedChild this.comboboxentry1 = Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.WidthRequest = 450; this.comboboxentry1.Name = "comboboxentry1"; this.fixed4.Add(this.comboboxentry1); // Container child fixed4.Gtk.Fixed+FixedChild this.togglebutton2 = new Gtk.ToggleButton(); this.togglebutton2.WidthRequest = 50; this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = Mono.Unix.Catalog.GetString("On"); this.fixed4.Add(this.togglebutton2); Gtk.Fixed.FixedChild w2 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.togglebutton2])); w2.X = 450; // Container child fixed4.Gtk.Fixed+FixedChild this.label1 = new Gtk.Label(); this.label1.WidthRequest = 100; this.label1.HeightRequest = 28; this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("00:11:22"); this.fixed4.Add(this.label1); Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label1])); w3.X = 500; // Container child fixed4.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 600; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview2 = new Gtk.TextView(); this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.GtkScrolledWindow.Add(this.textview2); this.fixed4.Add(this.GtkScrolledWindow); Gtk.Fixed.FixedChild w5 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.GtkScrolledWindow])); w5.Y = 32; this.Add(this.fixed4); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 602; this.DefaultHeight = 178; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.togglebutton2.Toggled += new System.EventHandler(this.togglebutton2_onClick); }
public GtkSharpFrame(Widget shellobject, string caption) : base(shellobject) { frame = new Gtk.Frame(caption); GtkSharpDriver.InitWidget(frame, shellobject); frame.Show(); fixchild = new Gtk.Fixed(); frame.Add(fixchild); fixchild.Show(); }
public IImageViewWrapper GetImageView(IImageWrapper imageWrapper) { var pixelBuf = (Gdk.Pixbuf)imageWrapper.NativeObject; var image = new Gtk.Image(pixelBuf); var fixedView = new Gtk.Fixed(); fixedView.Put(image, 0, 0); var wrapper = new ImageViewWrapper(image); return(wrapper); }
public static UITabPage CreateUICanvasTab(Gtk.Notebook parentNotebook, GameConfigDB gameConfigDB, bool isInitializing = false) { Gtk.ScrolledWindow scrolledWindow = new Gtk.ScrolledWindow(); scrolledWindow.Name = "_scrolledWindow" + nextGeneratedTabIndex; scrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); scrolledWindow.ShowAll(); Gtk.Viewport viewport = new Gtk.Viewport(); viewport.ShadowType = ((Gtk.ShadowType)(0)); Gtk.Fixed canvas = new Gtk.Fixed(); canvas.WidthRequest = 800; canvas.HeightRequest = 600; canvas.Name = "_gameCanvas" + nextGeneratedTabIndex; canvas.HasWindow = false; canvas.ShowAll(); viewport.Add(canvas); viewport.ShowAll(); scrolledWindow.Add(viewport); Gtk.Viewport viewportLabel = new Gtk.Viewport(); viewportLabel.ShadowType = ((Gtk.ShadowType)(0)); viewportLabel.WidthRequest = 80; viewportLabel.HeightRequest = 30; Gtk.Label label = new Gtk.Label(); label.Name = "label1"; label.LabelProp = global::Mono.Unix.Catalog.GetString(gameConfigDB.GetName()); label.ShowAll(); viewportLabel.Add(label); if (parentNotebook.NPages <= 0 || isInitializing) { parentNotebook.Add(scrolledWindow); parentNotebook.SetTabLabel(scrolledWindow, viewportLabel); } else { parentNotebook.InsertPage(scrolledWindow, viewportLabel, parentNotebook.NPages - 1); parentNotebook.Page = parentNotebook.NPages - 2; } UITabPage tabPage = new UITabPage(gameConfigDB, scrolledWindow, viewport, label, canvas); tabPage.InitDropEvent(); scrolledWindow.Data.Add("UITabPage", tabPage); return(tabPage); }
private void PackChild() { if (Element.Content == null) { return; } IVisualElementRenderer renderer = Element.Content.GetOrCreateRenderer(); var wrappingFixed = new Gtk.Fixed { renderer.Container }; Control.Child = wrappingFixed; wrappingFixed.ShowAll(); }
public GtkSharpWindow(Widget shellobject, string caption) : base(shellobject) { window = new Gtk.Window(caption); GtkSharpDriver.InitWidget(window, shellobject); window.ResizeChecked += new EventHandler(EventResizeChecked); window.Hidden += new EventHandler(EventClosed); //window.WindowPosition = Gtk.WindowPosition.Mouse; fixchild = new Gtk.Fixed(); fixchild.Show(); window.Add(fixchild); window.DeleteEvent += new Gtk.DeleteEventHandler(window_DeleteEvent); window.KeyPressEvent += new Gtk.KeyPressEventHandler(window_KeyPressEvent); }
public Calendar() : base("Calendario") { SetDefaultSize(300, 270); SetPosition(Gtk.WindowPosition.Center); label = new Gtk.Label("..."); Gtk.Calendar calendar = new Gtk.Calendar(); calendar.DaySelected += OnDaySelected; Gtk.Fixed fix = new Gtk.Fixed(); fix.Put(calendar, 20, 20); fix.Put(label, 40, 230); Add(fix); ShowAll(); }
private void Build2() { global::Stetic.Gui.Initialize(this); // Widget NIRSrecorder.Splash this.Name = "NIRSrecorder.Splash"; this.Title = global::Mono.Unix.Catalog.GetString("Splash"); this.WindowPosition = Gtk.WindowPosition.CenterAlways; var buffer = System.IO.File.ReadAllBytes(@"extra/Splash.gif"); var pixbuf = new Gdk.Pixbuf(buffer); int w, h; h = pixbuf.Height; w = pixbuf.Width; Gtk.VBox vBox = new Gtk.VBox(); Gtk.Fixed fix = new Gtk.Fixed(); Gtk.Image im = new Gtk.Image(); im.SetSizeRequest(w, h); im.Pixbuf = pixbuf; fix.Add(im); vBox.Add(fix); label = new Gtk.Label(); vBox.Add(label); this.Add(vBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget RememberTheMilk.Configuration Stetic.BinContainer.Attach(this); this.Name = "RememberTheMilk.Configuration"; // Container child RememberTheMilk.Configuration.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.account_frm = new Gtk.Frame(); this.account_frm.Name = "account_frm"; this.account_frm.ShadowType = ((Gtk.ShadowType)(0)); this.account_frm.BorderWidth = ((uint)(2)); // Container child account_frm.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.vbox5.BorderWidth = ((uint)(5)); // Container child vbox5.Gtk.Box+BoxChild this.authinfo_lbl = new Gtk.Label(); this.authinfo_lbl.Name = "authinfo_lbl"; this.authinfo_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Do needs your authorization in order to manage tasks in your Remember The Milk account. Press the \"Authorize\" button to open a web browser and give Do authorization."); this.authinfo_lbl.Wrap = true; this.vbox5.Add(this.authinfo_lbl); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox5[this.authinfo_lbl])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.fixed5 = new Gtk.Fixed(); this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; this.hbox1.Add(this.fixed5); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.fixed5])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.auth_btn = new Gtk.Button(); this.auth_btn.CanFocus = true; this.auth_btn.Name = "auth_btn"; this.auth_btn.UseUnderline = true; // Container child auth_btn.Gtk.Container+ContainerChild Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w4 = new Gtk.HBox(); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w5 = new Gtk.Image(); w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w7 = new Gtk.Label(); w7.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("_Authorize"); w7.UseUnderline = true; w4.Add(w7); w3.Add(w4); this.auth_btn.Add(w3); this.hbox1.Add(this.auth_btn); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.auth_btn])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fixed1 = new Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox1.Add(this.fixed1); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.fixed1])); w12.Position = 2; this.vbox5.Add(this.hbox1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.fixed6 = new Gtk.Fixed(); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.vbox5.Add(this.fixed6); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox5[this.fixed6])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.GtkAlignment.Add(this.vbox5); this.account_frm.Add(this.GtkAlignment); this.GtkLabel1 = new Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Account</b>"); this.GtkLabel1.UseMarkup = true; this.account_frm.LabelWidget = this.GtkLabel1; this.vbox1.Add(this.account_frm); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox1[this.account_frm])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notification_frm = new Gtk.Frame(); this.notification_frm.Sensitive = false; this.notification_frm.Name = "notification_frm"; this.notification_frm.ShadowType = ((Gtk.ShadowType)(0)); this.notification_frm.BorderWidth = ((uint)(2)); // Container child notification_frm.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(5)); // Container child vbox3.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.minute_lbl = new Gtk.Label(); this.minute_lbl.Name = "minute_lbl"; this.minute_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("minute(s)"); this.table1.Add(this.minute_lbl); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.minute_lbl])); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.overdue_chkbtn = new Gtk.CheckButton(); this.overdue_chkbtn.CanFocus = true; this.overdue_chkbtn.Name = "overdue_chkbtn"; this.overdue_chkbtn.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Notify overdue task(s) every"); this.overdue_chkbtn.DrawIndicator = true; this.overdue_chkbtn.UseUnderline = true; this.table1.Add(this.overdue_chkbtn); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.overdue_chkbtn])); w19.XOptions = ((Gtk.AttachOptions)(6)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.overdue_interval_spinbtn = new Gtk.SpinButton(1, 9999, 1); this.overdue_interval_spinbtn.CanFocus = true; this.overdue_interval_spinbtn.Name = "overdue_interval_spinbtn"; this.overdue_interval_spinbtn.Adjustment.PageIncrement = 10; this.overdue_interval_spinbtn.ClimbRate = 1; this.overdue_interval_spinbtn.Numeric = true; this.overdue_interval_spinbtn.Value = 1; this.table1.Add(this.overdue_interval_spinbtn); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.overdue_interval_spinbtn])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XPadding = ((uint)(5)); w20.XOptions = ((Gtk.AttachOptions)(6)); w20.YOptions = ((Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.confirm_chkbtn = new Gtk.CheckButton(); this.confirm_chkbtn.CanFocus = true; this.confirm_chkbtn.Name = "confirm_chkbtn"; this.confirm_chkbtn.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show notification when actions are completed"); this.confirm_chkbtn.DrawIndicator = true; this.confirm_chkbtn.UseUnderline = true; this.vbox3.Add(this.confirm_chkbtn); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox3[this.confirm_chkbtn])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.returnnew_chkbtn = new Gtk.CheckButton(); this.returnnew_chkbtn.CanFocus = true; this.returnnew_chkbtn.Name = "returnnew_chkbtn"; this.returnnew_chkbtn.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Return the newly created task"); this.returnnew_chkbtn.DrawIndicator = true; this.returnnew_chkbtn.UseUnderline = true; this.vbox3.Add(this.returnnew_chkbtn); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.returnnew_chkbtn])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.GtkAlignment2.Add(this.vbox3); this.notification_frm.Add(this.GtkAlignment2); this.GtkLabel5 = new Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Interactivity</b>"); this.GtkLabel5.UseMarkup = true; this.notification_frm.LabelWidget = this.GtkLabel5; this.vbox1.Add(this.notification_frm); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox1[this.notification_frm])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.filter_frm = new Gtk.Frame(); this.filter_frm.Sensitive = false; this.filter_frm.Name = "filter_frm"; this.filter_frm.ShadowType = ((Gtk.ShadowType)(0)); this.filter_frm.BorderWidth = ((uint)(2)); // Container child filter_frm.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(5)); // Container child vbox4.Gtk.Box+BoxChild this.filter_entry = new Gtk.Entry(); this.filter_entry.CanFocus = true; this.filter_entry.Name = "filter_entry"; this.filter_entry.IsEditable = true; this.filter_entry.InvisibleChar = '●'; this.vbox4.Add(this.filter_entry); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.filter_entry])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.filter_desc_lbl = new Gtk.Label(); this.filter_desc_lbl.Name = "filter_desc_lbl"; this.filter_desc_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("You can enter some advanced search operators here to limit the tasks Do indexes. E.g. \"priority:1 AND status:incomplete\" will force Do to only index all incomplete tasks with high priority."); this.filter_desc_lbl.Wrap = true; this.vbox4.Add(this.filter_desc_lbl); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox4[this.filter_desc_lbl])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.info_hbox = new Gtk.HBox(); this.info_hbox.Name = "info_hbox"; this.info_hbox.Spacing = 6; // Container child info_hbox.Gtk.Box+BoxChild this.fixed3 = new Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.info_hbox.Add(this.fixed3); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.info_hbox[this.fixed3])); w29.Position = 0; // Container child info_hbox.Gtk.Box+BoxChild this.fixed4 = new Gtk.Fixed(); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.info_hbox.Add(this.fixed4); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.info_hbox[this.fixed4])); w30.Position = 2; this.vbox4.Add(this.info_hbox); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox4[this.info_hbox])); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.GtkAlignment3.Add(this.vbox4); this.filter_frm.Add(this.GtkAlignment3); this.GtkLabel6 = new Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Filter</b>"); this.GtkLabel6.UseMarkup = true; this.filter_frm.LabelWidget = this.GtkLabel6; this.vbox1.Add(this.filter_frm); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox1[this.filter_frm])); w34.Position = 2; w34.Expand = false; w34.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.auth_btn.Clicked += new System.EventHandler(this.OnAuthBtnClicked); this.overdue_interval_spinbtn.ValueChanged += new System.EventHandler(this.OnOverdueIntervalChanged); this.overdue_chkbtn.Clicked += new System.EventHandler(this.OnOverdueChkbtnClicked); this.confirm_chkbtn.Clicked += new System.EventHandler(this.OnConfirmChkbtnClicked); this.returnnew_chkbtn.Clicked += new System.EventHandler(this.OnReturnNewChkBtnClicked); this.filter_entry.Changed += new System.EventHandler(this.OnFilterEntryChanged); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Smuxi.Frontend.Gnome.SteticPreferencesDialog this.Name = "Smuxi.Frontend.Gnome.SteticPreferencesDialog"; this.Title = Mono.Unix.Catalog.GetString("smuxi - Preferences"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); // Internal child Smuxi.Frontend.Gnome.SteticPreferencesDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox1"; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.BorderWidth = ((uint)(10)); // Container child hbox1.Gtk.Box+BoxChild this.MenuScrolledWindow = new Gtk.ScrolledWindow(); this.MenuScrolledWindow.WidthRequest = 128; this.MenuScrolledWindow.Name = "MenuScrolledWindow"; this.MenuScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child MenuScrolledWindow.Gtk.Container+ContainerChild this.MenuTreeView = new Gtk.TreeView(); this.MenuTreeView.Name = "MenuTreeView"; this.MenuTreeView.EnableSearch = false; this.MenuTreeView.HeadersVisible = false; this.MenuTreeView.HeadersClickable = true; this.MenuScrolledWindow.Add(this.MenuTreeView); this.hbox1.Add(this.MenuScrolledWindow); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.MenuScrolledWindow])); w3.Position = 0; w3.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.Notebook = new Gtk.Notebook(); this.Notebook.Name = "Notebook"; this.Notebook.CurrentPage = 1; this.Notebook.ShowBorder = false; // Container child Notebook.Gtk.Notebook+NotebookChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 5; this.vbox1.BorderWidth = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(5)); this.table1.ColumnSpacing = ((uint)(5)); // Container child table1.Gtk.Table+TableChild this.ConnectionNicknamesEntry = new Gtk.Entry(); this.ConnectionNicknamesEntry.Name = "ConnectionNicknamesEntry"; this.ConnectionNicknamesEntry.IsEditable = true; this.ConnectionNicknamesEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionNicknamesEntry); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionNicknamesEntry])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.ConnectionRealnameEntry = new Gtk.Entry(); this.ConnectionRealnameEntry.Name = "ConnectionRealnameEntry"; this.ConnectionRealnameEntry.IsEditable = true; this.ConnectionRealnameEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionRealnameEntry); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionRealnameEntry])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.ConnectionUsernameEntry = new Gtk.Entry(); this.ConnectionUsernameEntry.Name = "ConnectionUsernameEntry"; this.ConnectionUsernameEntry.IsEditable = true; this.ConnectionUsernameEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionUsernameEntry); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionUsernameEntry])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.EncodingComboBox = new Gtk.ComboBox(); this.EncodingComboBox.Name = "EncodingComboBox"; this.table1.Add(this.EncodingComboBox); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.EncodingComboBox])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox13 = new Gtk.HBox(); this.hbox13.Name = "hbox13"; // Container child hbox13.Gtk.Box+BoxChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Nicknames:"); this.hbox13.Add(this.label6); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox13[this.label6])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.fixed31 = new Gtk.Fixed(); this.fixed31.Name = "fixed31"; this.fixed31.HasWindow = false; this.hbox13.Add(this.fixed31); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox13[this.fixed31])); w9.Position = 1; this.table1.Add(this.hbox13); // Container child table1.Gtk.Table+TableChild this.hbox14 = new Gtk.HBox(); this.hbox14.Name = "hbox14"; // Container child hbox14.Gtk.Box+BoxChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Username:"******"fixed32"; this.fixed32.HasWindow = false; this.hbox14.Add(this.fixed32); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox14[this.fixed32])); w12.Position = 1; this.table1.Add(this.hbox14); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.hbox14])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox15 = new Gtk.HBox(); this.hbox15.Name = "hbox15"; // Container child hbox15.Gtk.Box+BoxChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Realname:"); this.hbox15.Add(this.label8); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox15[this.label8])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.fixed33 = new Gtk.Fixed(); this.fixed33.Name = "fixed33"; this.fixed33.HasWindow = false; this.hbox15.Add(this.fixed33); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox15[this.fixed33])); w15.Position = 1; this.table1.Add(this.hbox15); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.hbox15])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); // Container child table1.Gtk.Table+TableChild this.label58 = new Gtk.Label(); this.label58.Name = "label58"; this.label58.Xalign = 0F; this.label58.LabelProp = Mono.Unix.Catalog.GetString("Encoding:"); this.table1.Add(this.label58); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.label58])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.YOptions = ((Gtk.AttachOptions)(0)); this.vbox1.Add(this.table1); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox1[this.table1])); w18.Position = 0; w18.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild this.label37 = new Gtk.Label(); this.label37.Name = "label37"; this.label37.LabelProp = Mono.Unix.Catalog.GetString("On Connect Commands:"); this.hbox2.Add(this.label37); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox2[this.label37])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fixed18 = new Gtk.Fixed(); this.fixed18.Name = "fixed18"; this.fixed18.HasWindow = false; this.hbox2.Add(this.fixed18); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox2[this.fixed18])); w20.Position = 1; this.vbox3.Add(this.hbox2); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.WidthRequest = 350; this.scrolledwindow1.HeightRequest = 100; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.OnConnectCommandsTextView = new Gtk.TextView(); this.OnConnectCommandsTextView.WidthRequest = 152; this.OnConnectCommandsTextView.HeightRequest = 168; this.OnConnectCommandsTextView.Name = "OnConnectCommandsTextView"; this.OnConnectCommandsTextView.WrapMode = ((Gtk.WrapMode)(2)); this.scrolledwindow1.Add(this.OnConnectCommandsTextView); this.vbox3.Add(this.scrolledwindow1); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow1])); w23.Position = 1; this.vbox2.Add(this.vbox3); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3])); w24.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild this.label43 = new Gtk.Label(); this.label43.Name = "label43"; this.label43.LabelProp = Mono.Unix.Catalog.GetString("On Startup Commands:"); this.hbox3.Add(this.label43); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.label43])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.fixed19 = new Gtk.Fixed(); this.fixed19.Name = "fixed19"; this.fixed19.HasWindow = false; this.hbox3.Add(this.fixed19); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox3[this.fixed19])); w26.Position = 1; this.vbox4.Add(this.hbox3); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.WidthRequest = 350; this.scrolledwindow2.HeightRequest = 100; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.OnStartupCommandsTextView = new Gtk.TextView(); this.OnStartupCommandsTextView.WidthRequest = 152; this.OnStartupCommandsTextView.HeightRequest = 168; this.OnStartupCommandsTextView.Name = "OnStartupCommandsTextView"; this.OnStartupCommandsTextView.WrapMode = ((Gtk.WrapMode)(2)); this.scrolledwindow2.Add(this.OnStartupCommandsTextView); this.vbox4.Add(this.scrolledwindow2); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox4[this.scrolledwindow2])); w29.Position = 1; this.vbox2.Add(this.vbox4); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox4])); w30.Position = 1; this.vbox1.Add(this.vbox2); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w31.Position = 1; this.Notebook.Add(this.vbox1); // Notebook tab this.label44 = new Gtk.Label(); this.label44.Name = "label44"; this.label44.LabelProp = Mono.Unix.Catalog.GetString("C_onnection"); this.label44.UseUnderline = true; this.Notebook.SetTabLabel(this.vbox1, this.label44); this.label44.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.InterfaceNotebook = new Gtk.Notebook(); this.InterfaceNotebook.Name = "InterfaceNotebook"; this.InterfaceNotebook.CurrentPage = 0; // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox10 = new Gtk.VBox(); this.vbox10.Name = "vbox10"; // Container child vbox10.Gtk.Box+BoxChild this.table5 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(5)); this.table5.ColumnSpacing = ((uint)(5)); this.table5.BorderWidth = ((uint)(5)); // Container child table5.Gtk.Table+TableChild this.BufferLinesSpinButton = new Gtk.SpinButton(1, 9999, 1); this.BufferLinesSpinButton.WidthRequest = 60; this.BufferLinesSpinButton.Name = "BufferLinesSpinButton"; this.BufferLinesSpinButton.Adjustment.PageIncrement = 10; this.BufferLinesSpinButton.Adjustment.PageSize = 10; this.BufferLinesSpinButton.ClimbRate = 1; this.BufferLinesSpinButton.Numeric = true; this.BufferLinesSpinButton.Value = 200; this.table5.Add(this.BufferLinesSpinButton); Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table5[this.BufferLinesSpinButton])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.YOptions = ((Gtk.AttachOptions)(0)); // Container child table5.Gtk.Table+TableChild this.EngineBufferLinesSpinButton = new Gtk.SpinButton(0, 9999, 1); this.EngineBufferLinesSpinButton.WidthRequest = 60; this.EngineBufferLinesSpinButton.Name = "EngineBufferLinesSpinButton"; this.EngineBufferLinesSpinButton.Adjustment.PageIncrement = 10; this.EngineBufferLinesSpinButton.Adjustment.PageSize = 10; this.EngineBufferLinesSpinButton.ClimbRate = 1; this.EngineBufferLinesSpinButton.Numeric = true; this.EngineBufferLinesSpinButton.Value = 200; this.table5.Add(this.EngineBufferLinesSpinButton); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table5[this.EngineBufferLinesSpinButton])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.YOptions = ((Gtk.AttachOptions)(0)); // Container child table5.Gtk.Table+TableChild this.hbox7 = new Gtk.HBox(); this.hbox7.Name = "hbox7"; // Container child hbox7.Gtk.Box+BoxChild this.label33 = new Gtk.Label(); this.label33.Name = "label33"; this.label33.LabelProp = Mono.Unix.Catalog.GetString("Timestamp Format:"); this.hbox7.Add(this.label33); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox7[this.label33])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.fixed25 = new Gtk.Fixed(); this.fixed25.Name = "fixed25"; this.fixed25.HasWindow = false; this.hbox7.Add(this.fixed25); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox7[this.fixed25])); w36.Position = 1; this.table5.Add(this.hbox7); // Container child table5.Gtk.Table+TableChild this.hbox8 = new Gtk.HBox(); this.hbox8.Name = "hbox8"; // Container child hbox8.Gtk.Box+BoxChild this.label39 = new Gtk.Label(); this.label39.Name = "label39"; this.label39.LabelProp = Mono.Unix.Catalog.GetString("Buffer Lines:"); this.hbox8.Add(this.label39); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.hbox8[this.label39])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.fixed26 = new Gtk.Fixed(); this.fixed26.Name = "fixed26"; this.fixed26.HasWindow = false; this.hbox8.Add(this.fixed26); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hbox8[this.fixed26])); w39.Position = 1; this.table5.Add(this.hbox8); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table5[this.hbox8])); w40.TopAttach = ((uint)(1)); w40.BottomAttach = ((uint)(2)); // Container child table5.Gtk.Table+TableChild this.hbox9 = new Gtk.HBox(); this.hbox9.Name = "hbox9"; // Container child hbox9.Gtk.Box+BoxChild this.label40 = new Gtk.Label(); this.label40.Name = "label40"; this.label40.LabelProp = Mono.Unix.Catalog.GetString("Engine Buffer Lines:"); this.hbox9.Add(this.label40); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.hbox9[this.label40])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.fixed27 = new Gtk.Fixed(); this.fixed27.Name = "fixed27"; this.fixed27.HasWindow = false; this.hbox9.Add(this.fixed27); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox9[this.fixed27])); w42.Position = 1; this.table5.Add(this.hbox9); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table5[this.hbox9])); w43.TopAttach = ((uint)(2)); w43.BottomAttach = ((uint)(3)); // Container child table5.Gtk.Table+TableChild this.TimestampFormatEntry = new Gtk.Entry(); this.TimestampFormatEntry.WidthRequest = 60; this.TimestampFormatEntry.Name = "TimestampFormatEntry"; this.TimestampFormatEntry.Text = "HH:mm"; this.TimestampFormatEntry.IsEditable = true; this.TimestampFormatEntry.InvisibleChar = '●'; this.table5.Add(this.TimestampFormatEntry); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table5[this.TimestampFormatEntry])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.YOptions = ((Gtk.AttachOptions)(0)); this.vbox10.Add(this.table5); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.vbox10[this.table5])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.StripColorsCheckButton = new Gtk.CheckButton(); this.StripColorsCheckButton.Name = "StripColorsCheckButton"; this.StripColorsCheckButton.DrawIndicator = true; this.StripColorsCheckButton.UseUnderline = true; this.StripColorsCheckButton.Remove(this.StripColorsCheckButton.Child); // Container child StripColorsCheckButton.Gtk.Container+ContainerChild this.alignment16 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment16.Name = "alignment16"; // Container child alignment16.Gtk.Container+ContainerChild this.hbox17 = new Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 2; // Container child hbox17.Gtk.Box+BoxChild this.image5 = new Gtk.Image(); this.image5.Name = "image5"; this.image5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox17.Add(this.image5); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox17[this.image5])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.label47 = new Gtk.Label(); this.label47.Name = "label47"; this.label47.LabelProp = Mono.Unix.Catalog.GetString("Strip Colors"); this.label47.UseUnderline = true; this.hbox17.Add(this.label47); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox17[this.label47])); w47.Position = 1; w47.Expand = false; w47.Fill = false; this.alignment16.Add(this.hbox17); this.StripColorsCheckButton.Add(this.alignment16); this.vbox10.Add(this.StripColorsCheckButton); Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox10[this.StripColorsCheckButton])); w50.Position = 1; w50.Expand = false; w50.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.StripFormattingsCheckButton = new Gtk.CheckButton(); this.StripFormattingsCheckButton.Name = "StripFormattingsCheckButton"; this.StripFormattingsCheckButton.DrawIndicator = true; this.StripFormattingsCheckButton.UseUnderline = true; this.StripFormattingsCheckButton.Remove(this.StripFormattingsCheckButton.Child); // Container child StripFormattingsCheckButton.Gtk.Container+ContainerChild this.alignment15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment15.Name = "alignment15"; // Container child alignment15.Gtk.Container+ContainerChild this.hbox16 = new Gtk.HBox(); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 2; // Container child hbox16.Gtk.Box+BoxChild this.image6 = new Gtk.Image(); this.image6.Name = "image6"; this.image6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox16.Add(this.image6); Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.hbox16[this.image6])); w51.Position = 0; w51.Expand = false; w51.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.label46 = new Gtk.Label(); this.label46.Name = "label46"; this.label46.LabelProp = Mono.Unix.Catalog.GetString("Strip Formattings"); this.label46.UseUnderline = true; this.hbox16.Add(this.label46); Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.hbox16[this.label46])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.alignment15.Add(this.hbox16); this.StripFormattingsCheckButton.Add(this.alignment15); this.vbox10.Add(this.StripFormattingsCheckButton); Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(this.vbox10[this.StripFormattingsCheckButton])); w55.Position = 2; w55.Expand = false; w55.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.checkbutton1 = new Gtk.CheckButton(); this.checkbutton1.Sensitive = false; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.checkbutton1.Remove(this.checkbutton1.Child); // Container child checkbutton1.Gtk.Container+ContainerChild this.alignment26 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment26.Name = "alignment26"; // Container child alignment26.Gtk.Container+ContainerChild this.hbox28 = new Gtk.HBox(); this.hbox28.Name = "hbox28"; this.hbox28.Spacing = 2; // Container child hbox28.Gtk.Box+BoxChild this.image7 = new Gtk.Image(); this.image7.Name = "image7"; this.image7.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox28.Add(this.image7); Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild)(this.hbox28[this.image7])); w56.Position = 0; w56.Expand = false; w56.Fill = false; // Container child hbox28.Gtk.Box+BoxChild this.label60 = new Gtk.Label(); this.label60.Name = "label60"; this.label60.LabelProp = Mono.Unix.Catalog.GetString("Strip UTF-8"); this.label60.UseUnderline = true; this.hbox28.Add(this.label60); Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.hbox28[this.label60])); w57.Position = 1; w57.Expand = false; w57.Fill = false; this.alignment26.Add(this.hbox28); this.checkbutton1.Add(this.alignment26); this.vbox10.Add(this.checkbutton1); Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.vbox10[this.checkbutton1])); w60.Position = 3; w60.Expand = false; w60.Fill = false; this.InterfaceNotebook.Add(this.vbox10); // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("General"); this.InterfaceNotebook.SetTabLabel(this.vbox10, this.label1); this.label1.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 5; // Container child vbox5.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild this.alignment4 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment4.Name = "alignment4"; this.alignment4.LeftPadding = ((uint)(12)); // Container child alignment4.Gtk.Container+ContainerChild this.vbox6 = new Gtk.VBox(); this.vbox6.Name = "vbox6"; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonTop = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Top")); this.TabPositionRadioButtonTop.CanFocus = true; this.TabPositionRadioButtonTop.Name = "TabPositionRadioButtonTop"; this.TabPositionRadioButtonTop.Active = true; this.TabPositionRadioButtonTop.DrawIndicator = true; this.TabPositionRadioButtonTop.UseUnderline = true; this.TabPositionRadioButtonTop.Group = new GLib.SList(System.IntPtr.Zero); this.TabPositionRadioButtonTop.Remove(this.TabPositionRadioButtonTop.Child); // Container child TabPositionRadioButtonTop.Gtk.Container+ContainerChild this.hbox10 = new Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.image12 = new Gtk.Image(); this.image12.Name = "image12"; this.image12.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-top", Gtk.IconSize.Menu, 16); this.hbox10.Add(this.image12); Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.hbox10[this.image12])); w62.Position = 0; w62.Expand = false; w62.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Top"); this.hbox10.Add(this.label5); Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild)(this.hbox10[this.label5])); w63.Position = 1; w63.Expand = false; w63.Fill = false; this.TabPositionRadioButtonTop.Add(this.hbox10); this.vbox6.Add(this.TabPositionRadioButtonTop); Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonTop])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonBottom = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Bottom")); this.TabPositionRadioButtonBottom.Name = "TabPositionRadioButtonBottom"; this.TabPositionRadioButtonBottom.DrawIndicator = true; this.TabPositionRadioButtonBottom.UseUnderline = true; this.TabPositionRadioButtonBottom.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonBottom.Remove(this.TabPositionRadioButtonBottom.Child); // Container child TabPositionRadioButtonBottom.Gtk.Container+ContainerChild this.hbox24 = new Gtk.HBox(); this.hbox24.Name = "hbox24"; this.hbox24.Spacing = 2; // Container child hbox24.Gtk.Box+BoxChild this.image9 = new Gtk.Image(); this.image9.Name = "image9"; this.image9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-bottom", Gtk.IconSize.Menu, 16); this.hbox24.Add(this.image9); Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(this.hbox24[this.image9])); w66.Position = 0; w66.Expand = false; w66.Fill = false; // Container child hbox24.Gtk.Box+BoxChild this.label54 = new Gtk.Label(); this.label54.Name = "label54"; this.label54.LabelProp = Mono.Unix.Catalog.GetString("Bottom"); this.label54.UseUnderline = true; this.hbox24.Add(this.label54); Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.hbox24[this.label54])); w67.Position = 1; w67.Expand = false; w67.Fill = false; this.TabPositionRadioButtonBottom.Add(this.hbox24); this.vbox6.Add(this.TabPositionRadioButtonBottom); Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonBottom])); w69.Position = 1; w69.Expand = false; w69.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonLeft = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Left")); this.TabPositionRadioButtonLeft.Name = "TabPositionRadioButtonLeft"; this.TabPositionRadioButtonLeft.DrawIndicator = true; this.TabPositionRadioButtonLeft.UseUnderline = true; this.TabPositionRadioButtonLeft.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonLeft.Remove(this.TabPositionRadioButtonLeft.Child); // Container child TabPositionRadioButtonLeft.Gtk.Container+ContainerChild this.alignment24 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment24.Name = "alignment24"; // Container child alignment24.Gtk.Container+ContainerChild this.hbox25 = new Gtk.HBox(); this.hbox25.Name = "hbox25"; this.hbox25.Spacing = 2; // Container child hbox25.Gtk.Box+BoxChild this.image10 = new Gtk.Image(); this.image10.Name = "image10"; this.image10.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-first", Gtk.IconSize.Menu, 16); this.hbox25.Add(this.image10); Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(this.hbox25[this.image10])); w70.Position = 0; w70.Expand = false; w70.Fill = false; // Container child hbox25.Gtk.Box+BoxChild this.label55 = new Gtk.Label(); this.label55.Name = "label55"; this.label55.LabelProp = Mono.Unix.Catalog.GetString("Left"); this.label55.UseUnderline = true; this.hbox25.Add(this.label55); Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.hbox25[this.label55])); w71.Position = 1; w71.Expand = false; w71.Fill = false; this.alignment24.Add(this.hbox25); this.TabPositionRadioButtonLeft.Add(this.alignment24); this.vbox6.Add(this.TabPositionRadioButtonLeft); Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonLeft])); w74.Position = 2; w74.Expand = false; w74.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonRight = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Right")); this.TabPositionRadioButtonRight.Name = "TabPositionRadioButtonRight"; this.TabPositionRadioButtonRight.DrawIndicator = true; this.TabPositionRadioButtonRight.UseUnderline = true; this.TabPositionRadioButtonRight.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonRight.Remove(this.TabPositionRadioButtonRight.Child); // Container child TabPositionRadioButtonRight.Gtk.Container+ContainerChild this.alignment25 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment25.Name = "alignment25"; // Container child alignment25.Gtk.Container+ContainerChild this.hbox26 = new Gtk.HBox(); this.hbox26.Name = "hbox26"; this.hbox26.Spacing = 2; // Container child hbox26.Gtk.Box+BoxChild this.image11 = new Gtk.Image(); this.image11.Name = "image11"; this.image11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-last", Gtk.IconSize.Menu, 16); this.hbox26.Add(this.image11); Gtk.Box.BoxChild w75 = ((Gtk.Box.BoxChild)(this.hbox26[this.image11])); w75.Position = 0; w75.Expand = false; w75.Fill = false; // Container child hbox26.Gtk.Box+BoxChild this.label56 = new Gtk.Label(); this.label56.Name = "label56"; this.label56.LabelProp = Mono.Unix.Catalog.GetString("Right"); this.label56.UseUnderline = true; this.hbox26.Add(this.label56); Gtk.Box.BoxChild w76 = ((Gtk.Box.BoxChild)(this.hbox26[this.label56])); w76.Position = 1; w76.Expand = false; w76.Fill = false; this.alignment25.Add(this.hbox26); this.TabPositionRadioButtonRight.Add(this.alignment25); this.vbox6.Add(this.TabPositionRadioButtonRight); Gtk.Box.BoxChild w79 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonRight])); w79.Position = 3; w79.Expand = false; w79.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.TabPositionRadioButtonNone.Name = "TabPositionRadioButtonNone"; this.TabPositionRadioButtonNone.DrawIndicator = true; this.TabPositionRadioButtonNone.UseUnderline = true; this.TabPositionRadioButtonNone.Group = this.TabPositionRadioButtonTop.Group; this.vbox6.Add(this.TabPositionRadioButtonNone); Gtk.Box.BoxChild w80 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonNone])); w80.Position = 4; w80.Expand = false; w80.Fill = false; this.alignment4.Add(this.vbox6); this.frame1.Add(this.alignment4); this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("<b> Tabs Position </b>"); this.label9.UseMarkup = true; this.frame1.LabelWidget = this.label9; this.vbox5.Add(this.frame1); Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame1])); w83.Position = 0; w83.Expand = false; // Container child vbox5.Gtk.Box+BoxChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; // Container child frame4.Gtk.Container+ContainerChild this.alignment8 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment8.Name = "alignment8"; this.alignment8.LeftPadding = ((uint)(12)); // Container child alignment8.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(5)); this.table3.ColumnSpacing = ((uint)(5)); // Container child table3.Gtk.Table+TableChild this.ActivityColorButton = new Gtk.ColorButton(); this.ActivityColorButton.Name = "ActivityColorButton"; this.table3.Add(this.ActivityColorButton); Gtk.Table.TableChild w84 = ((Gtk.Table.TableChild)(this.table3[this.ActivityColorButton])); w84.TopAttach = ((uint)(1)); w84.BottomAttach = ((uint)(2)); w84.LeftAttach = ((uint)(1)); w84.RightAttach = ((uint)(2)); w84.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.HighlightColorButton = new Gtk.ColorButton(); this.HighlightColorButton.Name = "HighlightColorButton"; this.table3.Add(this.HighlightColorButton); Gtk.Table.TableChild w85 = ((Gtk.Table.TableChild)(this.table3[this.HighlightColorButton])); w85.TopAttach = ((uint)(3)); w85.BottomAttach = ((uint)(4)); w85.LeftAttach = ((uint)(1)); w85.RightAttach = ((uint)(2)); w85.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label16 = new Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = Mono.Unix.Catalog.GetString("No Activity"); this.table3.Add(this.label16); Gtk.Table.TableChild w86 = ((Gtk.Table.TableChild)(this.table3[this.label16])); w86.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label17 = new Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 0F; this.label17.LabelProp = Mono.Unix.Catalog.GetString("Activity"); this.table3.Add(this.label17); Gtk.Table.TableChild w87 = ((Gtk.Table.TableChild)(this.table3[this.label17])); w87.TopAttach = ((uint)(1)); w87.BottomAttach = ((uint)(2)); w87.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 0F; this.label18.LabelProp = Mono.Unix.Catalog.GetString("Join/Part/Mode"); this.table3.Add(this.label18); Gtk.Table.TableChild w88 = ((Gtk.Table.TableChild)(this.table3[this.label18])); w88.TopAttach = ((uint)(2)); w88.BottomAttach = ((uint)(3)); w88.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label59 = new Gtk.Label(); this.label59.Name = "label59"; this.label59.Xalign = 0F; this.label59.LabelProp = Mono.Unix.Catalog.GetString("Highlight"); this.table3.Add(this.label59); Gtk.Table.TableChild w89 = ((Gtk.Table.TableChild)(this.table3[this.label59])); w89.TopAttach = ((uint)(3)); w89.BottomAttach = ((uint)(4)); w89.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.ModeColorButton = new Gtk.ColorButton(); this.ModeColorButton.Name = "ModeColorButton"; this.table3.Add(this.ModeColorButton); Gtk.Table.TableChild w90 = ((Gtk.Table.TableChild)(this.table3[this.ModeColorButton])); w90.TopAttach = ((uint)(2)); w90.BottomAttach = ((uint)(3)); w90.LeftAttach = ((uint)(1)); w90.RightAttach = ((uint)(2)); w90.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.NoActivityColorButton = new Gtk.ColorButton(); this.NoActivityColorButton.Name = "NoActivityColorButton"; this.table3.Add(this.NoActivityColorButton); Gtk.Table.TableChild w91 = ((Gtk.Table.TableChild)(this.table3[this.NoActivityColorButton])); w91.LeftAttach = ((uint)(1)); w91.RightAttach = ((uint)(2)); w91.YOptions = ((Gtk.AttachOptions)(0)); this.alignment8.Add(this.table3); this.frame4.Add(this.alignment8); this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = Mono.Unix.Catalog.GetString("<b> Tab Colors </b>"); this.label15.UseMarkup = true; this.frame4.LabelWidget = this.label15; this.vbox5.Add(this.frame4); Gtk.Box.BoxChild w94 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame4])); w94.Position = 1; w94.Expand = false; this.InterfaceNotebook.Add(this.vbox5); Gtk.Notebook.NotebookChild w95 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.vbox5])); w95.Position = 1; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Tabs"); this.InterfaceNotebook.SetTabLabel(this.vbox5, this.label2); this.label2.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; // Container child frame3.Gtk.Container+ContainerChild this.alignment7 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment7.Name = "alignment7"; this.alignment7.LeftPadding = ((uint)(12)); // Container child alignment7.Gtk.Container+ContainerChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 5; // Container child vbox7.Gtk.Box+BoxChild this.table4 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(5)); this.table4.ColumnSpacing = ((uint)(5)); this.table4.BorderWidth = ((uint)(5)); // Container child table4.Gtk.Table+TableChild this.CommandCharacterEntry = new Gtk.Entry(); this.CommandCharacterEntry.WidthRequest = 30; this.CommandCharacterEntry.Name = "CommandCharacterEntry"; this.CommandCharacterEntry.Text = "/"; this.CommandCharacterEntry.IsEditable = true; this.CommandCharacterEntry.MaxLength = 1; this.CommandCharacterEntry.InvisibleChar = '●'; this.table4.Add(this.CommandCharacterEntry); Gtk.Table.TableChild w96 = ((Gtk.Table.TableChild)(this.table4[this.CommandCharacterEntry])); w96.TopAttach = ((uint)(1)); w96.BottomAttach = ((uint)(2)); w96.LeftAttach = ((uint)(1)); w96.RightAttach = ((uint)(2)); w96.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.CommandHistorySizeSpinButton = new Gtk.SpinButton(1, 9999, 1); this.CommandHistorySizeSpinButton.WidthRequest = 60; this.CommandHistorySizeSpinButton.Name = "CommandHistorySizeSpinButton"; this.CommandHistorySizeSpinButton.Adjustment.PageIncrement = 10; this.CommandHistorySizeSpinButton.Adjustment.PageSize = 10; this.CommandHistorySizeSpinButton.ClimbRate = 1; this.CommandHistorySizeSpinButton.Numeric = true; this.CommandHistorySizeSpinButton.Value = 30; this.table4.Add(this.CommandHistorySizeSpinButton); Gtk.Table.TableChild w97 = ((Gtk.Table.TableChild)(this.table4[this.CommandHistorySizeSpinButton])); w97.TopAttach = ((uint)(2)); w97.BottomAttach = ((uint)(3)); w97.LeftAttach = ((uint)(1)); w97.RightAttach = ((uint)(2)); w97.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.CompletionCharacterEntry = new Gtk.Entry(); this.CompletionCharacterEntry.WidthRequest = 30; this.CompletionCharacterEntry.Name = "CompletionCharacterEntry"; this.CompletionCharacterEntry.Text = ":"; this.CompletionCharacterEntry.IsEditable = true; this.CompletionCharacterEntry.MaxLength = 1; this.CompletionCharacterEntry.InvisibleChar = '●'; this.table4.Add(this.CompletionCharacterEntry); Gtk.Table.TableChild w98 = ((Gtk.Table.TableChild)(this.table4[this.CompletionCharacterEntry])); w98.LeftAttach = ((uint)(1)); w98.RightAttach = ((uint)(2)); w98.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = Mono.Unix.Catalog.GetString("Completion Character:"); this.hbox4.Add(this.label13); Gtk.Box.BoxChild w99 = ((Gtk.Box.BoxChild)(this.hbox4[this.label13])); w99.Position = 0; w99.Expand = false; w99.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.fixed22 = new Gtk.Fixed(); this.fixed22.Name = "fixed22"; this.fixed22.HasWindow = false; this.hbox4.Add(this.fixed22); Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.hbox4[this.fixed22])); w100.Position = 1; this.table4.Add(this.hbox4); // Container child table4.Gtk.Table+TableChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Command Character:"); this.hbox5.Add(this.label14); Gtk.Box.BoxChild w102 = ((Gtk.Box.BoxChild)(this.hbox5[this.label14])); w102.Position = 0; w102.Expand = false; w102.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.fixed23 = new Gtk.Fixed(); this.fixed23.Name = "fixed23"; this.fixed23.HasWindow = false; this.hbox5.Add(this.fixed23); Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.hbox5[this.fixed23])); w103.Position = 1; this.table4.Add(this.hbox5); Gtk.Table.TableChild w104 = ((Gtk.Table.TableChild)(this.table4[this.hbox5])); w104.TopAttach = ((uint)(1)); w104.BottomAttach = ((uint)(2)); // Container child table4.Gtk.Table+TableChild this.hbox6 = new Gtk.HBox(); this.hbox6.Name = "hbox6"; // Container child hbox6.Gtk.Box+BoxChild this.label42 = new Gtk.Label(); this.label42.Name = "label42"; this.label42.LabelProp = Mono.Unix.Catalog.GetString("Command History Size:"); this.hbox6.Add(this.label42); Gtk.Box.BoxChild w105 = ((Gtk.Box.BoxChild)(this.hbox6[this.label42])); w105.Position = 0; w105.Expand = false; w105.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.fixed24 = new Gtk.Fixed(); this.fixed24.Name = "fixed24"; this.fixed24.HasWindow = false; this.hbox6.Add(this.fixed24); Gtk.Box.BoxChild w106 = ((Gtk.Box.BoxChild)(this.hbox6[this.fixed24])); w106.Position = 1; this.table4.Add(this.hbox6); Gtk.Table.TableChild w107 = ((Gtk.Table.TableChild)(this.table4[this.hbox6])); w107.TopAttach = ((uint)(2)); w107.BottomAttach = ((uint)(3)); this.vbox7.Add(this.table4); Gtk.Box.BoxChild w108 = ((Gtk.Box.BoxChild)(this.vbox7[this.table4])); w108.Position = 0; w108.Expand = false; w108.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.BashStyleCompletionCheckButton = new Gtk.CheckButton(); this.BashStyleCompletionCheckButton.Name = "BashStyleCompletionCheckButton"; this.BashStyleCompletionCheckButton.Label = Mono.Unix.Catalog.GetString("Bash-Style Completion"); this.BashStyleCompletionCheckButton.DrawIndicator = true; this.BashStyleCompletionCheckButton.UseUnderline = true; this.vbox7.Add(this.BashStyleCompletionCheckButton); Gtk.Box.BoxChild w109 = ((Gtk.Box.BoxChild)(this.vbox7[this.BashStyleCompletionCheckButton])); w109.Position = 1; w109.Expand = false; w109.Fill = false; this.alignment7.Add(this.vbox7); this.frame3.Add(this.alignment7); this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = Mono.Unix.Catalog.GetString("<b> Entry Field </b>"); this.label12.UseMarkup = true; this.frame3.LabelWidget = this.label12; this.InterfaceNotebook.Add(this.frame3); Gtk.Notebook.NotebookChild w112 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.frame3])); w112.Position = 2; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Input"); this.InterfaceNotebook.SetTabLabel(this.frame3, this.label3); this.label3.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox8 = new Gtk.VBox(); this.vbox8.Name = "vbox8"; // Container child vbox8.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; // Container child frame2.Gtk.Container+ContainerChild this.alignment5 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment5.Name = "alignment5"; this.alignment5.LeftPadding = ((uint)(12)); // Container child alignment5.Gtk.Container+ContainerChild this.vbox9 = new Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 5; this.vbox9.BorderWidth = ((uint)(5)); // Container child vbox9.Gtk.Box+BoxChild this.NickColorsCheckButton = new Gtk.CheckButton(); this.NickColorsCheckButton.Name = "NickColorsCheckButton"; this.NickColorsCheckButton.Label = Mono.Unix.Catalog.GetString("Nick Colors"); this.NickColorsCheckButton.DrawIndicator = true; this.NickColorsCheckButton.UseUnderline = true; this.vbox9.Add(this.NickColorsCheckButton); Gtk.Box.BoxChild w113 = ((Gtk.Box.BoxChild)(this.vbox9[this.NickColorsCheckButton])); w113.Position = 0; w113.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.frame10 = new Gtk.Frame(); this.frame10.Name = "frame10"; // Container child frame10.Gtk.Container+ContainerChild this.alignment14 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment14.Name = "alignment14"; this.alignment14.LeftPadding = ((uint)(12)); // Container child alignment14.Gtk.Container+ContainerChild this.vbox11 = new Gtk.VBox(); this.vbox11.Name = "vbox11"; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonTop = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Top")); this.TopicPositionRadioButtonTop.Name = "TopicPositionRadioButtonTop"; this.TopicPositionRadioButtonTop.Active = true; this.TopicPositionRadioButtonTop.DrawIndicator = true; this.TopicPositionRadioButtonTop.UseUnderline = true; this.TopicPositionRadioButtonTop.Group = new GLib.SList(System.IntPtr.Zero); this.TopicPositionRadioButtonTop.Remove(this.TopicPositionRadioButtonTop.Child); // Container child TopicPositionRadioButtonTop.Gtk.Container+ContainerChild this.alignment21 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment21.Name = "alignment21"; // Container child alignment21.Gtk.Container+ContainerChild this.hbox22 = new Gtk.HBox(); this.hbox22.Name = "hbox22"; this.hbox22.Spacing = 2; // Container child hbox22.Gtk.Box+BoxChild this.image1 = new Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-top", Gtk.IconSize.Menu, 16); this.hbox22.Add(this.image1); Gtk.Box.BoxChild w114 = ((Gtk.Box.BoxChild)(this.hbox22[this.image1])); w114.Position = 0; w114.Expand = false; w114.Fill = false; // Container child hbox22.Gtk.Box+BoxChild this.label52 = new Gtk.Label(); this.label52.Name = "label52"; this.label52.LabelProp = Mono.Unix.Catalog.GetString("Top"); this.label52.UseUnderline = true; this.hbox22.Add(this.label52); Gtk.Box.BoxChild w115 = ((Gtk.Box.BoxChild)(this.hbox22[this.label52])); w115.Position = 1; w115.Expand = false; w115.Fill = false; this.alignment21.Add(this.hbox22); this.TopicPositionRadioButtonTop.Add(this.alignment21); this.vbox11.Add(this.TopicPositionRadioButtonTop); Gtk.Box.BoxChild w118 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonTop])); w118.Position = 0; w118.Expand = false; w118.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonBottom = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Bottom")); this.TopicPositionRadioButtonBottom.Name = "TopicPositionRadioButtonBottom"; this.TopicPositionRadioButtonBottom.DrawIndicator = true; this.TopicPositionRadioButtonBottom.UseUnderline = true; this.TopicPositionRadioButtonBottom.Group = this.TopicPositionRadioButtonTop.Group; this.TopicPositionRadioButtonBottom.Remove(this.TopicPositionRadioButtonBottom.Child); // Container child TopicPositionRadioButtonBottom.Gtk.Container+ContainerChild this.alignment20 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment20.Name = "alignment20"; // Container child alignment20.Gtk.Container+ContainerChild this.hbox21 = new Gtk.HBox(); this.hbox21.Name = "hbox21"; this.hbox21.Spacing = 2; // Container child hbox21.Gtk.Box+BoxChild this.image2 = new Gtk.Image(); this.image2.Name = "image2"; this.image2.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-bottom", Gtk.IconSize.Menu, 16); this.hbox21.Add(this.image2); Gtk.Box.BoxChild w119 = ((Gtk.Box.BoxChild)(this.hbox21[this.image2])); w119.Position = 0; w119.Expand = false; w119.Fill = false; // Container child hbox21.Gtk.Box+BoxChild this.label51 = new Gtk.Label(); this.label51.Name = "label51"; this.label51.LabelProp = Mono.Unix.Catalog.GetString("Bottom"); this.label51.UseUnderline = true; this.hbox21.Add(this.label51); Gtk.Box.BoxChild w120 = ((Gtk.Box.BoxChild)(this.hbox21[this.label51])); w120.Position = 1; w120.Expand = false; w120.Fill = false; this.alignment20.Add(this.hbox21); this.TopicPositionRadioButtonBottom.Add(this.alignment20); this.vbox11.Add(this.TopicPositionRadioButtonBottom); Gtk.Box.BoxChild w123 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonBottom])); w123.Position = 1; w123.Expand = false; w123.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.TopicPositionRadioButtonNone.Name = "TopicPositionRadioButtonNone"; this.TopicPositionRadioButtonNone.DrawIndicator = true; this.TopicPositionRadioButtonNone.UseUnderline = true; this.TopicPositionRadioButtonNone.Group = this.TopicPositionRadioButtonTop.Group; this.vbox11.Add(this.TopicPositionRadioButtonNone); Gtk.Box.BoxChild w124 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonNone])); w124.Position = 2; w124.Expand = false; w124.Fill = false; this.alignment14.Add(this.vbox11); this.frame10.Add(this.alignment14); this.label41 = new Gtk.Label(); this.label41.Name = "label41"; this.label41.LabelProp = Mono.Unix.Catalog.GetString("<b> Topic Position </b>"); this.label41.UseMarkup = true; this.frame10.LabelWidget = this.label41; this.vbox9.Add(this.frame10); Gtk.Box.BoxChild w127 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame10])); w127.Position = 1; w127.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.frame9 = new Gtk.Frame(); this.frame9.WidthRequest = 152; this.frame9.HeightRequest = 96; this.frame9.Name = "frame9"; // Container child frame9.Gtk.Container+ContainerChild this.alignment13 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment13.Name = "alignment13"; this.alignment13.LeftPadding = ((uint)(12)); // Container child alignment13.Gtk.Container+ContainerChild this.vbox12 = new Gtk.VBox(); this.vbox12.Name = "vbox12"; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonLeft = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Left")); this.UserListPositionRadioButtonLeft.Name = "UserListPositionRadioButtonLeft"; this.UserListPositionRadioButtonLeft.Active = true; this.UserListPositionRadioButtonLeft.DrawIndicator = true; this.UserListPositionRadioButtonLeft.UseUnderline = true; this.UserListPositionRadioButtonLeft.Group = new GLib.SList(System.IntPtr.Zero); this.UserListPositionRadioButtonLeft.Remove(this.UserListPositionRadioButtonLeft.Child); // Container child UserListPositionRadioButtonLeft.Gtk.Container+ContainerChild this.alignment17 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment17.Name = "alignment17"; // Container child alignment17.Gtk.Container+ContainerChild this.hbox18 = new Gtk.HBox(); this.hbox18.Name = "hbox18"; this.hbox18.Spacing = 2; // Container child hbox18.Gtk.Box+BoxChild this.image3 = new Gtk.Image(); this.image3.Name = "image3"; this.image3.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-first", Gtk.IconSize.Menu, 16); this.hbox18.Add(this.image3); Gtk.Box.BoxChild w128 = ((Gtk.Box.BoxChild)(this.hbox18[this.image3])); w128.Position = 0; w128.Expand = false; w128.Fill = false; // Container child hbox18.Gtk.Box+BoxChild this.label48 = new Gtk.Label(); this.label48.Name = "label48"; this.label48.LabelProp = Mono.Unix.Catalog.GetString("Left"); this.label48.UseUnderline = true; this.hbox18.Add(this.label48); Gtk.Box.BoxChild w129 = ((Gtk.Box.BoxChild)(this.hbox18[this.label48])); w129.Position = 1; w129.Expand = false; w129.Fill = false; this.alignment17.Add(this.hbox18); this.UserListPositionRadioButtonLeft.Add(this.alignment17); this.vbox12.Add(this.UserListPositionRadioButtonLeft); Gtk.Box.BoxChild w132 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonLeft])); w132.Position = 0; w132.Expand = false; w132.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonRight = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Right")); this.UserListPositionRadioButtonRight.Name = "UserListPositionRadioButtonRight"; this.UserListPositionRadioButtonRight.DrawIndicator = true; this.UserListPositionRadioButtonRight.UseUnderline = true; this.UserListPositionRadioButtonRight.Group = this.UserListPositionRadioButtonLeft.Group; this.UserListPositionRadioButtonRight.Remove(this.UserListPositionRadioButtonRight.Child); // Container child UserListPositionRadioButtonRight.Gtk.Container+ContainerChild this.alignment18 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment18.Name = "alignment18"; // Container child alignment18.Gtk.Container+ContainerChild this.hbox19 = new Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 2; // Container child hbox19.Gtk.Box+BoxChild this.image4 = new Gtk.Image(); this.image4.Name = "image4"; this.image4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-last", Gtk.IconSize.Menu, 16); this.hbox19.Add(this.image4); Gtk.Box.BoxChild w133 = ((Gtk.Box.BoxChild)(this.hbox19[this.image4])); w133.Position = 0; w133.Expand = false; w133.Fill = false; // Container child hbox19.Gtk.Box+BoxChild this.label49 = new Gtk.Label(); this.label49.Name = "label49"; this.label49.LabelProp = Mono.Unix.Catalog.GetString("Right"); this.label49.UseUnderline = true; this.hbox19.Add(this.label49); Gtk.Box.BoxChild w134 = ((Gtk.Box.BoxChild)(this.hbox19[this.label49])); w134.Position = 1; w134.Expand = false; w134.Fill = false; this.alignment18.Add(this.hbox19); this.UserListPositionRadioButtonRight.Add(this.alignment18); this.vbox12.Add(this.UserListPositionRadioButtonRight); Gtk.Box.BoxChild w137 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonRight])); w137.Position = 1; w137.Expand = false; w137.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.UserListPositionRadioButtonNone.Name = "UserListPositionRadioButtonNone"; this.UserListPositionRadioButtonNone.DrawIndicator = true; this.UserListPositionRadioButtonNone.UseUnderline = true; this.UserListPositionRadioButtonNone.Group = this.UserListPositionRadioButtonLeft.Group; this.vbox12.Add(this.UserListPositionRadioButtonNone); Gtk.Box.BoxChild w138 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonNone])); w138.Position = 2; w138.Expand = false; w138.Fill = false; this.alignment13.Add(this.vbox12); this.frame9.Add(this.alignment13); this.label38 = new Gtk.Label(); this.label38.Name = "label38"; this.label38.LabelProp = Mono.Unix.Catalog.GetString("<b> User List Position </b>"); this.label38.UseMarkup = true; this.frame9.LabelWidget = this.label38; this.vbox9.Add(this.frame9); Gtk.Box.BoxChild w141 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame9])); w141.Position = 2; w141.Expand = false; this.alignment5.Add(this.vbox9); this.frame2.Add(this.alignment5); this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("<b> Channel </b>"); this.label10.UseMarkup = true; this.frame2.LabelWidget = this.label10; this.vbox8.Add(this.frame2); Gtk.Box.BoxChild w144 = ((Gtk.Box.BoxChild)(this.vbox8[this.frame2])); w144.Position = 0; w144.Expand = false; // Container child vbox8.Gtk.Box+BoxChild this.frame11 = new Gtk.Frame(); this.frame11.Name = "frame11"; // Container child frame11.Gtk.Container+ContainerChild this.alignment27 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment27.Name = "alignment27"; this.alignment27.LeftPadding = ((uint)(12)); // Container child alignment27.Gtk.Container+ContainerChild this.vbox13 = new Gtk.VBox(); this.vbox13.Name = "vbox13"; this.vbox13.BorderWidth = ((uint)(5)); // Container child vbox13.Gtk.Box+BoxChild this.vbox14 = new Gtk.VBox(); this.vbox14.Name = "vbox14"; // Container child vbox14.Gtk.Box+BoxChild this.label62 = new Gtk.Label(); this.label62.Name = "label62"; this.label62.Xalign = 0F; this.label62.LabelProp = Mono.Unix.Catalog.GetString("Highlight words:"); this.vbox14.Add(this.label62); Gtk.Box.BoxChild w145 = ((Gtk.Box.BoxChild)(this.vbox14[this.label62])); w145.Position = 0; w145.Expand = false; w145.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.scrolledwindow4 = new Gtk.ScrolledWindow(); this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.HighlightWordsTextView = new Gtk.TextView(); this.HighlightWordsTextView.Sensitive = false; this.HighlightWordsTextView.Name = "HighlightWordsTextView"; this.scrolledwindow4.Add(this.HighlightWordsTextView); this.vbox14.Add(this.scrolledwindow4); Gtk.Box.BoxChild w147 = ((Gtk.Box.BoxChild)(this.vbox14[this.scrolledwindow4])); w147.Position = 1; this.vbox13.Add(this.vbox14); Gtk.Box.BoxChild w148 = ((Gtk.Box.BoxChild)(this.vbox13[this.vbox14])); w148.Position = 0; // Container child vbox13.Gtk.Box+BoxChild this.BeepOnHighlightCheckButton = new Gtk.CheckButton(); this.BeepOnHighlightCheckButton.Name = "BeepOnHighlightCheckButton"; this.BeepOnHighlightCheckButton.Label = Mono.Unix.Catalog.GetString("Beep on highlight"); this.BeepOnHighlightCheckButton.DrawIndicator = true; this.BeepOnHighlightCheckButton.UseUnderline = true; this.vbox13.Add(this.BeepOnHighlightCheckButton); Gtk.Box.BoxChild w149 = ((Gtk.Box.BoxChild)(this.vbox13[this.BeepOnHighlightCheckButton])); w149.Position = 1; w149.Expand = false; w149.Fill = false; this.alignment27.Add(this.vbox13); this.frame11.Add(this.alignment27); this.label61 = new Gtk.Label(); this.label61.Name = "label61"; this.label61.LabelProp = Mono.Unix.Catalog.GetString("<b> Highlighting </b>"); this.label61.UseMarkup = true; this.frame11.LabelWidget = this.label61; this.vbox8.Add(this.frame11); Gtk.Box.BoxChild w152 = ((Gtk.Box.BoxChild)(this.vbox8[this.frame11])); w152.Position = 1; this.InterfaceNotebook.Add(this.vbox8); Gtk.Notebook.NotebookChild w153 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.vbox8])); w153.Position = 3; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Output"); this.InterfaceNotebook.SetTabLabel(this.vbox8, this.label4); this.label4.ShowAll(); this.Notebook.Add(this.InterfaceNotebook); Gtk.Notebook.NotebookChild w154 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.InterfaceNotebook])); w154.Position = 1; // Notebook tab this.label45 = new Gtk.Label(); this.label45.Name = "label45"; this.label45.LabelProp = Mono.Unix.Catalog.GetString("_Interface"); this.label45.UseUnderline = true; this.Notebook.SetTabLabel(this.InterfaceNotebook, this.label45); this.label45.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.hbox27 = new Gtk.HBox(); this.hbox27.Name = "hbox27"; this.hbox27.BorderWidth = ((uint)(5)); // Container child hbox27.Gtk.Box+BoxChild this.scrolledwindow3 = new Gtk.ScrolledWindow(); this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.ServersTreeView = new Gtk.TreeView(); this.ServersTreeView.Name = "ServersTreeView"; this.ServersTreeView.HeadersClickable = true; this.scrolledwindow3.Add(this.ServersTreeView); this.hbox27.Add(this.scrolledwindow3); Gtk.Box.BoxChild w156 = ((Gtk.Box.BoxChild)(this.hbox27[this.scrolledwindow3])); w156.Position = 0; // Container child hbox27.Gtk.Box+BoxChild this.vbuttonbox1 = new Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.BorderWidth = ((uint)(5)); this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersAddButton = new Gtk.Button(); this.ServersAddButton.Name = "ServersAddButton"; this.ServersAddButton.UseStock = true; this.ServersAddButton.UseUnderline = true; this.ServersAddButton.Label = "gtk-add"; this.vbuttonbox1.Add(this.ServersAddButton); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersEditButton = new Gtk.Button(); this.ServersEditButton.Name = "ServersEditButton"; this.ServersEditButton.UseStock = true; this.ServersEditButton.UseUnderline = true; this.ServersEditButton.Label = "gtk-edit"; this.vbuttonbox1.Add(this.ServersEditButton); Gtk.ButtonBox.ButtonBoxChild w158 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.ServersEditButton])); w158.Position = 1; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersRemoveButton = new Gtk.Button(); this.ServersRemoveButton.Name = "ServersRemoveButton"; this.ServersRemoveButton.UseStock = true; this.ServersRemoveButton.UseUnderline = true; this.ServersRemoveButton.Label = "gtk-remove"; this.vbuttonbox1.Add(this.ServersRemoveButton); Gtk.ButtonBox.ButtonBoxChild w159 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.ServersRemoveButton])); w159.Position = 2; this.hbox27.Add(this.vbuttonbox1); Gtk.Box.BoxChild w160 = ((Gtk.Box.BoxChild)(this.hbox27[this.vbuttonbox1])); w160.Position = 1; w160.Expand = false; this.Notebook.Add(this.hbox27); Gtk.Notebook.NotebookChild w161 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.hbox27])); w161.Position = 2; // Notebook tab this.label57 = new Gtk.Label(); this.label57.Name = "label57"; this.label57.LabelProp = Mono.Unix.Catalog.GetString("_Servers"); this.label57.UseUnderline = true; this.Notebook.SetTabLabel(this.hbox27, this.label57); this.label57.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.vbox15 = new Gtk.VBox(); this.vbox15.Name = "vbox15"; this.vbox15.BorderWidth = ((uint)(5)); // Container child vbox15.Gtk.Box+BoxChild this.frame12 = new Gtk.Frame(); this.frame12.Name = "frame12"; // Container child frame12.Gtk.Container+ContainerChild this.alignment28 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment28.Name = "alignment28"; this.alignment28.LeftPadding = ((uint)(12)); // Container child alignment28.Gtk.Container+ContainerChild this.vbox16 = new Gtk.VBox(); this.vbox16.Name = "vbox16"; // Container child vbox16.Gtk.Box+BoxChild this.scrolledwindow5 = new Gtk.ScrolledWindow(); this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.ChannelFiltersTreeView = new Gtk.TreeView(); this.ChannelFiltersTreeView.Name = "ChannelFiltersTreeView"; this.ChannelFiltersTreeView.HeadersClickable = true; this.scrolledwindow5.Add(this.ChannelFiltersTreeView); this.vbox16.Add(this.scrolledwindow5); Gtk.Box.BoxChild w163 = ((Gtk.Box.BoxChild)(this.vbox16[this.scrolledwindow5])); w163.Position = 0; // Container child vbox16.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(1)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ChannelFiltersAddButton = new Gtk.Button(); this.ChannelFiltersAddButton.Sensitive = false; this.ChannelFiltersAddButton.Name = "ChannelFiltersAddButton"; this.ChannelFiltersAddButton.UseStock = true; this.ChannelFiltersAddButton.UseUnderline = true; this.ChannelFiltersAddButton.Label = "gtk-add"; this.hbuttonbox1.Add(this.ChannelFiltersAddButton); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ChannelFiltersRemoveButton = new Gtk.Button(); this.ChannelFiltersRemoveButton.Sensitive = false; this.ChannelFiltersRemoveButton.Name = "ChannelFiltersRemoveButton"; this.ChannelFiltersRemoveButton.UseStock = true; this.ChannelFiltersRemoveButton.UseUnderline = true; this.ChannelFiltersRemoveButton.Label = "gtk-remove"; this.hbuttonbox1.Add(this.ChannelFiltersRemoveButton); Gtk.ButtonBox.ButtonBoxChild w165 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.ChannelFiltersRemoveButton])); w165.Position = 1; this.vbox16.Add(this.hbuttonbox1); Gtk.Box.BoxChild w166 = ((Gtk.Box.BoxChild)(this.vbox16[this.hbuttonbox1])); w166.Position = 1; w166.Expand = false; this.alignment28.Add(this.vbox16); this.frame12.Add(this.alignment28); this.label64 = new Gtk.Label(); this.label64.Name = "label64"; this.label64.LabelProp = Mono.Unix.Catalog.GetString("<b>Channel Filters</b>"); this.label64.UseMarkup = true; this.frame12.LabelWidget = this.label64; this.vbox15.Add(this.frame12); Gtk.Box.BoxChild w169 = ((Gtk.Box.BoxChild)(this.vbox15[this.frame12])); w169.Position = 0; // Container child vbox15.Gtk.Box+BoxChild this.frame13 = new Gtk.Frame(); this.frame13.Sensitive = false; this.frame13.Name = "frame13"; // Container child frame13.Gtk.Container+ContainerChild this.alignment29 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment29.Name = "alignment29"; this.alignment29.LeftPadding = ((uint)(12)); this.frame13.Add(this.alignment29); this.label65 = new Gtk.Label(); this.label65.Name = "label65"; this.label65.LabelProp = Mono.Unix.Catalog.GetString("<b>User Filters</b>"); this.label65.UseMarkup = true; this.frame13.LabelWidget = this.label65; this.vbox15.Add(this.frame13); Gtk.Box.BoxChild w171 = ((Gtk.Box.BoxChild)(this.vbox15[this.frame13])); w171.Position = 1; this.Notebook.Add(this.vbox15); Gtk.Notebook.NotebookChild w172 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.vbox15])); w172.Position = 3; // Notebook tab this.label63 = new Gtk.Label(); this.label63.Name = "label63"; this.label63.LabelProp = Mono.Unix.Catalog.GetString("_Filters"); this.label63.UseUnderline = true; this.Notebook.SetTabLabel(this.vbox15, this.label63); this.label63.ShowAll(); this.hbox1.Add(this.Notebook); Gtk.Box.BoxChild w173 = ((Gtk.Box.BoxChild)(this.hbox1[this.Notebook])); w173.Position = 1; w1.Add(this.hbox1); Gtk.Box.BoxChild w174 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w174.Position = 0; // Internal child Smuxi.Frontend.Gnome.SteticPreferencesDialog.ActionArea Gtk.HButtonBox w175 = this.ActionArea; w175.Name = "dialog-action_area1"; w175.Spacing = 6; w175.BorderWidth = ((uint)(5)); w175.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.CancelButton = new Gtk.Button(); this.CancelButton.Name = "CancelButton"; this.CancelButton.UseStock = true; this.CancelButton.UseUnderline = true; this.CancelButton.Label = "gtk-cancel"; this.AddActionWidget(this.CancelButton, -6); // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.ApplyButton = new Gtk.Button(); this.ApplyButton.Sensitive = false; this.ApplyButton.Name = "ApplyButton"; this.ApplyButton.UseStock = true; this.ApplyButton.UseUnderline = true; this.ApplyButton.Label = "gtk-apply"; this.AddActionWidget(this.ApplyButton, -10); Gtk.ButtonBox.ButtonBoxChild w177 = ((Gtk.ButtonBox.ButtonBoxChild)(w175[this.ApplyButton])); w177.Position = 1; // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.OKButton = new Gtk.Button(); this.OKButton.Name = "OKButton"; this.OKButton.UseStock = true; this.OKButton.UseUnderline = true; this.OKButton.Label = "gtk-ok"; this.AddActionWidget(this.OKButton, -5); Gtk.ButtonBox.ButtonBoxChild w178 = ((Gtk.ButtonBox.ButtonBoxChild)(w175[this.OKButton])); w178.Position = 2; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 524; this.DefaultHeight = 579; this.label44.MnemonicWidget = this.Notebook; this.label45.MnemonicWidget = this.Notebook; this.label57.MnemonicWidget = this.Notebook; this.label63.MnemonicWidget = this.Notebook; this.Show(); this.EncodingComboBox.Changed += new System.EventHandler(this._OnChanged); this.ConnectionUsernameEntry.Changed += new System.EventHandler(this._OnChanged); this.ConnectionRealnameEntry.Changed += new System.EventHandler(this._OnChanged); this.ConnectionNicknamesEntry.Changed += new System.EventHandler(this._OnChanged); this.TimestampFormatEntry.Changed += new System.EventHandler(this._OnChanged); this.EngineBufferLinesSpinButton.Changed += new System.EventHandler(this._OnChanged); this.BufferLinesSpinButton.Changed += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonBottom.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonLeft.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonRight.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); this.NoActivityColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.ModeColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.ActivityColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.CompletionCharacterEntry.Changed += new System.EventHandler(this._OnChanged); this.CommandHistorySizeSpinButton.Changed += new System.EventHandler(this._OnChanged); this.CommandCharacterEntry.Changed += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonTop.Toggled += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonBottom.Toggled += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonLeft.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonRight.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); this.XBMControlAction = new Gtk.Action("XBMControlAction", Mono.Unix.Catalog.GetString("XBMControl"), null, null); this.XBMControlAction.ShortLabel = Mono.Unix.Catalog.GetString("XBMControl"); w1.Add(this.XBMControlAction, null); this.QuitAction = new Gtk.Action("QuitAction", Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-disconnect"); this.QuitAction.ShortLabel = Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, null); this.XBMCAction = new Gtk.Action("XBMCAction", Mono.Unix.Catalog.GetString("XBMC"), null, null); this.XBMCAction.ShortLabel = Mono.Unix.Catalog.GetString("XBMC"); w1.Add(this.XBMCAction, null); this.PlaylistAction = new Gtk.Action("PlaylistAction", Mono.Unix.Catalog.GetString("Playlist"), null, null); this.PlaylistAction.ShortLabel = Mono.Unix.Catalog.GetString("Playlist"); w1.Add(this.PlaylistAction, null); this.HelpAction = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.UpdateMusicLibraryAction = new Gtk.Action("UpdateMusicLibraryAction", Mono.Unix.Catalog.GetString("Update music library"), null, null); this.UpdateMusicLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Update music library"); w1.Add(this.UpdateMusicLibraryAction, null); this.UpdateVideoLibraryAction = new Gtk.Action("UpdateVideoLibraryAction", Mono.Unix.Catalog.GetString("Update video library"), null, null); this.UpdateVideoLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Update video library"); w1.Add(this.UpdateVideoLibraryAction, null); this.UpdateLibraryAction = new Gtk.Action("UpdateLibraryAction", Mono.Unix.Catalog.GetString("Update Library"), null, null); this.UpdateLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Library"); w1.Add(this.UpdateLibraryAction, null); this.MusicAction = new Gtk.Action("MusicAction", Mono.Unix.Catalog.GetString("Music"), null, "gtk-harddisk"); this.MusicAction.ShortLabel = Mono.Unix.Catalog.GetString("Update music library"); w1.Add(this.MusicAction, null); this.VideoAction = new Gtk.Action("VideoAction", Mono.Unix.Catalog.GetString("Video"), null, "gtk-harddisk"); this.VideoAction.ShortLabel = Mono.Unix.Catalog.GetString("Update video library"); w1.Add(this.VideoAction, null); this.RestartAction = new Gtk.Action("RestartAction", Mono.Unix.Catalog.GetString("Restart"), null, "gtk-refresh"); this.RestartAction.ShortLabel = Mono.Unix.Catalog.GetString("Restart"); w1.Add(this.RestartAction, null); this.RebootAction = new Gtk.Action("RebootAction", Mono.Unix.Catalog.GetString("Reboot"), null, "gtk-refresh"); this.RebootAction.ShortLabel = Mono.Unix.Catalog.GetString("Reboot"); w1.Add(this.RebootAction, null); this.ShutdownAction = new Gtk.Action("ShutdownAction", Mono.Unix.Catalog.GetString("Shutdown"), null, "gtk-quit"); this.ShutdownAction.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown"); w1.Add(this.ShutdownAction, null); this.ConfigurationAction = new Gtk.Action("ConfigurationAction", Mono.Unix.Catalog.GetString("Configuration"), null, "gtk-edit"); this.ConfigurationAction.ShortLabel = Mono.Unix.Catalog.GetString("_Preferences"); w1.Add(this.ConfigurationAction, null); this.clearAction = new Gtk.Action("clearAction", null, Mono.Unix.Catalog.GetString("Clear playlist"), "gtk-clear"); w1.Add(this.clearAction, null); this.openAction = new Gtk.Action("openAction", null, null, "gtk-open"); w1.Add(this.openAction, null); this.saveAction = new Gtk.Action("saveAction", null, null, "gtk-save"); w1.Add(this.saveAction, null); this.saveAsAction = new Gtk.Action("saveAsAction", null, null, "gtk-save-as"); w1.Add(this.saveAsAction, null); this.aRefreshPlaylist = new Gtk.Action("aRefreshPlaylist", null, null, "gtk-refresh"); w1.Add(this.aRefreshPlaylist, null); this.aRemoveSelected = new Gtk.Action("aRemoveSelected", null, Mono.Unix.Catalog.GetString("Remove selected item"), "gtk-remove"); w1.Add(this.aRemoveSelected, null); this.aPlaySelected = new Gtk.Action("aPlaySelected", null, Mono.Unix.Catalog.GetString("Play selected item"), "gtk-media-play"); w1.Add(this.aPlaySelected, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.WidthRequest = 900; this.HeightRequest = 600; this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("XBMControl Evo"); this.WindowPosition = ((Gtk.WindowPosition)(1)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new 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='XBMControlAction' action='XBMControlAction'><menuitem name='ConfigurationAction' action='ConfigurationAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='XBMCAction' action='XBMCAction'><menu name='UpdateLibraryAction' action='UpdateLibraryAction'><menuitem name='MusicAction' action='MusicAction'/><menuitem name='VideoAction' action='VideoAction'/></menu><menuitem name='RestartAction' action='RestartAction'/><menuitem name='RebootAction' action='RebootAction'/><menuitem name='ShutdownAction' action='ShutdownAction'/></menu><menu name='PlaylistAction' action='PlaylistAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>"); this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 300; // Container child hpaned1.Gtk.Paned+PanedChild this.nbBrowser = new Gtk.Notebook(); this.nbBrowser.WidthRequest = 300; this.nbBrowser.CanFocus = true; this.nbBrowser.Name = "nbBrowser"; this.nbBrowser.CurrentPage = 0; // Container child nbBrowser.Gtk.Notebook+NotebookChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.cbShareType = Gtk.ComboBox.NewText(); this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Music")); this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Video")); this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Pictures")); this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Files")); this.cbShareType.Name = "cbShareType"; this.cbShareType.Active = 0; this.vbox3.Add(this.cbShareType); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox3[this.cbShareType])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.tvShareBrowser = new Gtk.TreeView(); this.tvShareBrowser.CanFocus = true; this.tvShareBrowser.Name = "tvShareBrowser"; this.GtkScrolledWindow.Add(this.tvShareBrowser); this.vbox3.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); w5.Position = 1; this.nbBrowser.Add(this.vbox3); // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Shares"); this.nbBrowser.SetTabLabel(this.vbox3, this.label2); this.label2.ShowAll(); this.hpaned1.Add(this.nbBrowser); Gtk.Paned.PanedChild w7 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.nbBrowser])); w7.Resize = false; w7.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.nbDataContainer = new Gtk.Notebook(); this.nbDataContainer.CanFocus = true; this.nbDataContainer.Name = "nbDataContainer"; this.nbDataContainer.CurrentPage = 0; this.nbDataContainer.ShowBorder = false; this.nbDataContainer.Scrollable = true; // Container child nbDataContainer.Gtk.Notebook+NotebookChild this.GtkScrolledWindow1 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild Gtk.Viewport w8 = new Gtk.Viewport(); w8.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.fixedNowPlaying = new Gtk.Fixed(); this.fixedNowPlaying.Name = "fixedNowPlaying"; this.fixedNowPlaying.HasWindow = false; // Container child fixedNowPlaying.Gtk.Fixed+FixedChild this.imgNowPlaying = new Gtk.Image(); this.imgNowPlaying.WidthRequest = 300; this.imgNowPlaying.HeightRequest = 300; this.imgNowPlaying.Name = "imgNowPlaying"; this.fixedNowPlaying.Add(this.imgNowPlaying); Gtk.Fixed.FixedChild w9 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.imgNowPlaying])); w9.X = 20; w9.Y = 145; // Container child fixedNowPlaying.Gtk.Fixed+FixedChild this.lArtist = new Gtk.Label(); this.lArtist.WidthRequest = 555; this.lArtist.Name = "lArtist"; this.fixedNowPlaying.Add(this.lArtist); Gtk.Fixed.FixedChild w10 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lArtist])); w10.X = 10; w10.Y = 10; // Container child fixedNowPlaying.Gtk.Fixed+FixedChild this.lSong = new Gtk.Label(); this.lSong.WidthRequest = 555; this.lSong.Name = "lSong"; this.fixedNowPlaying.Add(this.lSong); Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lSong])); w11.X = 10; w11.Y = 34; // Container child fixedNowPlaying.Gtk.Fixed+FixedChild this.lAlbum = new Gtk.Label(); this.lAlbum.WidthRequest = 555; this.lAlbum.Name = "lAlbum"; this.fixedNowPlaying.Add(this.lAlbum); Gtk.Fixed.FixedChild w12 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lAlbum])); w12.X = 10; w12.Y = 70; // Container child fixedNowPlaying.Gtk.Fixed+FixedChild this.lGenre = new Gtk.Label(); this.lGenre.WidthRequest = 155; this.lGenre.Name = "lGenre"; this.fixedNowPlaying.Add(this.lGenre); Gtk.Fixed.FixedChild w13 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lGenre])); w13.X = 410; w13.Y = 98; // Container child fixedNowPlaying.Gtk.Fixed+FixedChild this.lProgress = new Gtk.Label(); this.lProgress.WidthRequest = 150; this.lProgress.Name = "lProgress"; this.fixedNowPlaying.Add(this.lProgress); Gtk.Fixed.FixedChild w14 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lProgress])); w14.X = 353; w14.Y = 430; // Container child fixedNowPlaying.Gtk.Fixed+FixedChild this.lDuration = new Gtk.Label(); this.lDuration.WidthRequest = 60; this.lDuration.Name = "lDuration"; this.fixedNowPlaying.Add(this.lDuration); Gtk.Fixed.FixedChild w15 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lDuration])); w15.X = 502; w15.Y = 430; // Container child fixedNowPlaying.Gtk.Fixed+FixedChild this.lYear = new Gtk.Label(); this.lYear.WidthRequest = 155; this.lYear.Name = "lYear"; this.fixedNowPlaying.Add(this.lYear); Gtk.Fixed.FixedChild w16 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lYear])); w16.X = 410; w16.Y = 84; w8.Add(this.fixedNowPlaying); this.GtkScrolledWindow1.Add(w8); this.nbDataContainer.Add(this.GtkScrolledWindow1); // Notebook tab this.labelMediaInfo = new Gtk.Label(); this.labelMediaInfo.Name = "labelMediaInfo"; this.labelMediaInfo.LabelProp = Mono.Unix.Catalog.GetString("Playing Now"); this.nbDataContainer.SetTabLabel(this.GtkScrolledWindow1, this.labelMediaInfo); this.labelMediaInfo.ShowAll(); // Container child nbDataContainer.Gtk.Notebook+NotebookChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.cbPlaylistType = Gtk.ComboBox.NewText(); this.cbPlaylistType.AppendText(Mono.Unix.Catalog.GetString("Music")); this.cbPlaylistType.AppendText(Mono.Unix.Catalog.GetString("Video")); this.cbPlaylistType.Name = "cbPlaylistType"; this.cbPlaylistType.Active = 0; this.vbox2.Add(this.cbPlaylistType); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox2[this.cbPlaylistType])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.tvPlaylist = new Gtk.TreeView(); this.tvPlaylist.CanFocus = true; this.tvPlaylist.Name = "tvPlaylist"; this.GtkScrolledWindow2.Add(this.tvPlaylist); this.vbox2.Add(this.GtkScrolledWindow2); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow2])); w22.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='clearAction' action='clearAction'/><toolitem name='aRefreshPlaylist' action='aRefreshPlaylist'/><toolitem name='aRemoveSelected' action='aRemoveSelected'/><toolitem name='aPlaySelected' action='aPlaySelected'/></toolbar></ui>"); this.toolbar1 = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.TooltipMarkup = "Refresh playlist"; this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.toolbar1.IconSize = ((Gtk.IconSize)(3)); this.vbox2.Add(this.toolbar1); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox2[this.toolbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.nbDataContainer.Add(this.vbox2); Gtk.Notebook.NotebookChild w24 = ((Gtk.Notebook.NotebookChild)(this.nbDataContainer[this.vbox2])); w24.Position = 1; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Playlist"); this.nbDataContainer.SetTabLabel(this.vbox2, this.label3); this.label3.ShowAll(); // Notebook tab Gtk.Label w25 = new Gtk.Label(); w25.Visible = true; this.nbDataContainer.Add(w25); this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Configuration"); this.nbDataContainer.SetTabLabel(w25, this.label4); this.label4.ShowAll(); this.hpaned1.Add(this.nbDataContainer); Gtk.Paned.PanedChild w26 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.nbDataContainer])); w26.Resize = false; w26.Shrink = false; this.vbox1.Add(this.hpaned1); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w27.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.fixed1 = new Gtk.Fixed(); this.fixed1.HeightRequest = 60; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.hsVolume = new Gtk.HScale(null); this.hsVolume.TooltipMarkup = "Volume"; this.hsVolume.WidthRequest = 120; this.hsVolume.CanFocus = true; this.hsVolume.Name = "hsVolume"; this.hsVolume.Adjustment.Upper = 100; this.hsVolume.Adjustment.PageIncrement = 10; this.hsVolume.Adjustment.StepIncrement = 1; this.hsVolume.Adjustment.Value = 51.8987341772152; this.hsVolume.DrawValue = false; this.hsVolume.Digits = 0; this.hsVolume.ValuePos = ((Gtk.PositionType)(2)); this.fixed1.Add(this.hsVolume); Gtk.Fixed.FixedChild w28 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hsVolume])); w28.X = 730; w28.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.hsProgress = new Gtk.HScale(null); this.hsProgress.TooltipMarkup = "Progress"; this.hsProgress.WidthRequest = 420; this.hsProgress.CanFocus = true; this.hsProgress.Name = "hsProgress"; this.hsProgress.Adjustment.Upper = 100; this.hsProgress.Adjustment.PageIncrement = 10; this.hsProgress.Adjustment.StepIncrement = 1; this.hsProgress.DrawValue = false; this.hsProgress.Digits = 0; this.hsProgress.ValuePos = ((Gtk.PositionType)(2)); this.fixed1.Add(this.hsProgress); Gtk.Fixed.FixedChild w29 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hsProgress])); w29.X = 300; w29.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.tbMute = new Gtk.ToggleButton(); this.tbMute.TooltipMarkup = "Toggle Mute"; this.tbMute.WidthRequest = 32; this.tbMute.HeightRequest = 32; this.tbMute.CanFocus = true; this.tbMute.Name = "tbMute"; this.tbMute.UseUnderline = true; // Container child tbMute.Gtk.Container+ContainerChild Gtk.Alignment w30 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w31 = new Gtk.HBox(); w31.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w32 = new Gtk.Image(); w32.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_volume-mute", Gtk.IconSize.Button, 20); w31.Add(w32); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w34 = new Gtk.Label(); w31.Add(w34); w30.Add(w31); this.tbMute.Add(w30); this.fixed1.Add(this.tbMute); Gtk.Fixed.FixedChild w38 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbMute])); w38.X = 850; w38.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.bPrevious = new Gtk.Button(); this.bPrevious.TooltipMarkup = "Previous"; this.bPrevious.WidthRequest = 35; this.bPrevious.HeightRequest = 35; this.bPrevious.CanFocus = true; this.bPrevious.Name = "bPrevious"; this.bPrevious.UseUnderline = true; // Container child bPrevious.Gtk.Container+ContainerChild Gtk.Alignment w39 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w40 = new Gtk.HBox(); w40.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w41 = new Gtk.Image(); w41.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", Gtk.IconSize.LargeToolbar, 24); w40.Add(w41); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w43 = new Gtk.Label(); w40.Add(w43); w39.Add(w40); this.bPrevious.Add(w39); this.fixed1.Add(this.bPrevious); Gtk.Fixed.FixedChild w47 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bPrevious])); w47.X = 14; w47.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.tbPlay = new Gtk.ToggleButton(); this.tbPlay.TooltipMarkup = "Play"; this.tbPlay.WidthRequest = 35; this.tbPlay.HeightRequest = 35; this.tbPlay.CanFocus = true; this.tbPlay.Name = "tbPlay"; this.tbPlay.UseUnderline = true; // Container child tbPlay.Gtk.Container+ContainerChild Gtk.Alignment w48 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w49 = new Gtk.HBox(); w49.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w50 = new Gtk.Image(); w50.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-play", Gtk.IconSize.LargeToolbar, 24); w49.Add(w50); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w52 = new Gtk.Label(); w49.Add(w52); w48.Add(w49); this.tbPlay.Add(w48); this.fixed1.Add(this.tbPlay); Gtk.Fixed.FixedChild w56 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbPlay])); w56.X = 46; w56.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.tbStop = new Gtk.ToggleButton(); this.tbStop.TooltipMarkup = "Stop"; this.tbStop.WidthRequest = 35; this.tbStop.HeightRequest = 35; this.tbStop.CanFocus = true; this.tbStop.Name = "tbStop"; this.tbStop.UseUnderline = true; // Container child tbStop.Gtk.Container+ContainerChild Gtk.Alignment w57 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w58 = new Gtk.HBox(); w58.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w59 = new Gtk.Image(); w59.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-stop", Gtk.IconSize.LargeToolbar, 24); w58.Add(w59); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w61 = new Gtk.Label(); w58.Add(w61); w57.Add(w58); this.tbStop.Add(w57); this.fixed1.Add(this.tbStop); Gtk.Fixed.FixedChild w65 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbStop])); w65.X = 78; w65.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.bNext = new Gtk.Button(); this.bNext.TooltipMarkup = "Next"; this.bNext.WidthRequest = 35; this.bNext.HeightRequest = 35; this.bNext.CanFocus = true; this.bNext.Name = "bNext"; this.bNext.UseUnderline = true; // Container child bNext.Gtk.Container+ContainerChild Gtk.Alignment w66 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w67 = new Gtk.HBox(); w67.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w68 = new Gtk.Image(); w68.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-next", Gtk.IconSize.LargeToolbar, 24); w67.Add(w68); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w70 = new Gtk.Label(); w67.Add(w70); w66.Add(w67); this.bNext.Add(w66); this.fixed1.Add(this.bNext); Gtk.Fixed.FixedChild w74 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bNext])); w74.X = 110; w74.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.bRepeat = new Gtk.Button(); this.bRepeat.TooltipMarkup = "Toggle Repeat Modes"; this.bRepeat.WidthRequest = 28; this.bRepeat.HeightRequest = 28; this.bRepeat.CanFocus = true; this.bRepeat.Name = "bRepeat"; this.bRepeat.UseUnderline = true; // Container child bRepeat.Gtk.Container+ContainerChild Gtk.Alignment w75 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w76 = new Gtk.HBox(); w76.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w77 = new Gtk.Image(); w77.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-redo", Gtk.IconSize.Menu, 16); w76.Add(w77); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w79 = new Gtk.Label(); w76.Add(w79); w75.Add(w76); this.bRepeat.Add(w75); this.fixed1.Add(this.bRepeat); Gtk.Fixed.FixedChild w83 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bRepeat])); w83.X = 160; w83.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.bShuffle = new Gtk.Button(); this.bShuffle.TooltipMarkup = "Toggle Shuffel Mode"; this.bShuffle.WidthRequest = 28; this.bShuffle.HeightRequest = 28; this.bShuffle.CanFocus = true; this.bShuffle.Name = "bShuffle"; this.bShuffle.UseUnderline = true; // Container child bShuffle.Gtk.Container+ContainerChild Gtk.Alignment w84 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w85 = new Gtk.HBox(); w85.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w86 = new Gtk.Image(); w86.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_chart-toggle-legend", Gtk.IconSize.Menu, 16); w85.Add(w86); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w88 = new Gtk.Label(); w85.Add(w88); w84.Add(w85); this.bShuffle.Add(w84); this.fixed1.Add(this.bShuffle); Gtk.Fixed.FixedChild w92 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bShuffle])); w92.X = 185; w92.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.bPartyMode = new Gtk.Button(); this.bPartyMode.TooltipMarkup = "Toggle Party Mode"; this.bPartyMode.WidthRequest = 28; this.bPartyMode.HeightRequest = 28; this.bPartyMode.CanFocus = true; this.bPartyMode.Name = "bPartyMode"; this.bPartyMode.UseUnderline = true; // Container child bPartyMode.Gtk.Container+ContainerChild Gtk.Alignment w93 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w94 = new Gtk.HBox(); w94.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w95 = new Gtk.Image(); w95.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_filters", Gtk.IconSize.Menu, 16); w94.Add(w95); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w97 = new Gtk.Label(); w94.Add(w97); w93.Add(w94); this.bPartyMode.Add(w93); this.fixed1.Add(this.bPartyMode); Gtk.Fixed.FixedChild w101 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bPartyMode])); w101.X = 210; w101.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.imgLoading = new Gtk.Image(); this.imgLoading.TooltipMarkup = "Loading data..."; this.imgLoading.Name = "imgLoading"; this.imgLoading.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-jump-to", Gtk.IconSize.LargeToolbar, 24); this.fixed1.Add(this.imgLoading); Gtk.Fixed.FixedChild w102 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.imgLoading])); w102.X = 255; w102.Y = 13; this.vbox1.Add(this.fixed1); Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.vbox1[this.fixed1])); w103.Position = 2; w103.Expand = false; w103.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new System.EventHandler(this.OnExit); this.MusicAction.Activated += new System.EventHandler(this.click_UpdateMusicLibrary); this.VideoAction.Activated += new System.EventHandler(this.click_UpdateVideoLibrary); this.clearAction.Activated += new System.EventHandler(this.aClearPlaylist_click); this.aRefreshPlaylist.Activated += new System.EventHandler(this.aRefreshPlaylist_activated); this.aRemoveSelected.Activated += new System.EventHandler(this.aRemoveSelected_activated); this.aPlaySelected.Activated += new System.EventHandler(this.aPlaySelected_activated); this.cbShareType.Changed += new System.EventHandler(this.cbShareBrowser_changed); this.tvShareBrowser.ButtonReleaseEvent += new Gtk.ButtonReleaseEventHandler(this.tvShareBrowser_release); this.cbPlaylistType.Changed += new System.EventHandler(this.cbPlaylistType_changed); this.tvPlaylist.ButtonReleaseEvent += new Gtk.ButtonReleaseEventHandler(this.tvPlaylist_buttonRelease); this.hsVolume.ValueChanged += new System.EventHandler(this.hsVolume_valueChanged); this.hsProgress.ChangeValue += new Gtk.ChangeValueHandler(this.hsProgress_changeValue); this.tbMute.Released += new System.EventHandler(this.tbMute_released); this.bPrevious.Released += new System.EventHandler(this.bPrevious_released); this.tbPlay.Released += new System.EventHandler(this.tbPlay_released); this.tbStop.Released += new System.EventHandler(this.tbStop_released); this.bNext.Released += new System.EventHandler(this.bNext_released); this.bRepeat.Activated += new System.EventHandler(this.bRepeat_click); this.bShuffle.Released += new System.EventHandler(this.bShuffle_release); this.bPartyMode.Released += new System.EventHandler(this.bPartyMode_released); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); this.FileAction = new Gtk.Action("FileAction", Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.OpenLocationAction = new Gtk.Action("OpenLocationAction", Mono.Unix.Catalog.GetString("Open Location"), null, null); this.OpenLocationAction.ShortLabel = Mono.Unix.Catalog.GetString("Open Location"); w1.Add(this.OpenLocationAction, null); this.HelpAction = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new Gtk.Action("AboutAction", Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.FileAction1 = new Gtk.Action("FileAction1", Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction1.ShortLabel = Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction1, null); this.HelpAction1 = new Gtk.Action("HelpAction1", Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction1.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction1, null); this.OpenLocationAction1 = new Gtk.Action("OpenLocationAction1", Mono.Unix.Catalog.GetString("Open Location"), null, null); this.OpenLocationAction1.ShortLabel = Mono.Unix.Catalog.GetString("Open Location"); w1.Add(this.OpenLocationAction1, null); this.AboutAction1 = new Gtk.Action("AboutAction1", Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction1.ShortLabel = Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction1, null); this.Action = new Gtk.Action("Action", null, null, null); w1.Add(this.Action, null); this.FileAction2 = new Gtk.Action("FileAction2", Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction2.ShortLabel = Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction2, null); this.OpenLocationAction2 = new Gtk.Action("OpenLocationAction2", Mono.Unix.Catalog.GetString("Open Location"), null, null); this.OpenLocationAction2.ShortLabel = Mono.Unix.Catalog.GetString("Open Location"); w1.Add(this.OpenLocationAction2, null); this.HelpAction2 = new Gtk.Action("HelpAction2", Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction2.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction2, null); this.AboutAction2 = new Gtk.Action("AboutAction2", Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction2.ShortLabel = Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction2, null); this.ViewAction = new Gtk.Action("ViewAction", Mono.Unix.Catalog.GetString("View"), null, null); this.ViewAction.ShortLabel = Mono.Unix.Catalog.GetString("View"); w1.Add(this.ViewAction, null); this.SortByAction = new Gtk.Action("SortByAction", Mono.Unix.Catalog.GetString("Sort by"), null, null); this.SortByAction.ShortLabel = Mono.Unix.Catalog.GetString("Sort by"); w1.Add(this.SortByAction, null); this.NameAction = new Gtk.Action("NameAction", Mono.Unix.Catalog.GetString("Name"), null, null); this.NameAction.ShortLabel = Mono.Unix.Catalog.GetString("Name"); w1.Add(this.NameAction, null); this.TypeAction = new Gtk.Action("TypeAction", Mono.Unix.Catalog.GetString("Type"), null, null); this.TypeAction.ShortLabel = Mono.Unix.Catalog.GetString("Type"); w1.Add(this.TypeAction, null); this.DateAction = new Gtk.Action("DateAction", Mono.Unix.Catalog.GetString("Date"), null, null); this.DateAction.ShortLabel = Mono.Unix.Catalog.GetString("Date"); w1.Add(this.DateAction, null); this.OptionsAction = new Gtk.Action("OptionsAction", Mono.Unix.Catalog.GetString("Options"), null, null); this.OptionsAction.ShortLabel = Mono.Unix.Catalog.GetString("Options"); w1.Add(this.OptionsAction, null); this.VSyncEnabledAction = new Gtk.ToggleAction("VSyncEnabledAction", Mono.Unix.Catalog.GetString("VSync Enabled"), null, null); this.VSyncEnabledAction.Active = true; this.VSyncEnabledAction.ShortLabel = Mono.Unix.Catalog.GetString("VSync Enabled"); w1.Add(this.VSyncEnabledAction, null); this.VertigoEnabledAction = new Gtk.ToggleAction("VertigoEnabledAction", Mono.Unix.Catalog.GetString("Vertigo Enabled"), null, null); this.VertigoEnabledAction.Active = true; this.VertigoEnabledAction.ShortLabel = Mono.Unix.Catalog.GetString("Vertigo Enabled"); w1.Add(this.VertigoEnabledAction, null); this.ShowDetailsAction = new Gtk.ToggleAction("ShowDetailsAction", Mono.Unix.Catalog.GetString("Show Details"), null, null); this.ShowDetailsAction.Active = true; this.ShowDetailsAction.ShortLabel = Mono.Unix.Catalog.GetString("Show Details"); w1.Add(this.ShowDetailsAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Glomp"); this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-directory", Gtk.IconSize.Menu, 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.DefaultWidth = 1024; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar4'><menu name='FileAction2' action='FileAction2'><menuitem name='OpenLocationAction2' action='OpenLocationAction2'/></menu><menu name='ViewAction' action='ViewAction'><menu name='SortByAction' action='SortByAction'><menuitem name='NameAction' action='NameAction'/><menuitem name='TypeAction' action='TypeAction'/><menuitem name='DateAction' action='DateAction'/></menu><menu name='OptionsAction' action='OptionsAction'><menuitem name='VSyncEnabledAction' action='VSyncEnabledAction'/><menuitem name='VertigoEnabledAction' action='VertigoEnabledAction'/></menu><menuitem name='ShowDetailsAction' action='ShowDetailsAction'/></menu><menu name='HelpAction2' action='HelpAction2'><menuitem name='AboutAction2' action='AboutAction2'/></menu></menubar></ui>"); this.menubar4 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar4"))); this.menubar4.Name = "menubar4"; this.vbox1.Add(this.menubar4); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar4])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.entry4 = new Gtk.Entry(); this.entry4.CanFocus = true; this.entry4.Name = "entry4"; this.entry4.IsEditable = true; this.entry4.ActivatesDefault = true; this.entry4.InvisibleChar = '•'; this.vbox1.Add(this.entry4); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.entry4])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.glwidget1 = new Gtk.GLWidget(); this.glwidget1.CanDefault = true; this.glwidget1.CanFocus = true; this.glwidget1.Events = ((Gdk.EventMask)(768)); this.glwidget1.Name = "glwidget1"; this.glwidget1.SingleBuffer = false; this.glwidget1.ColorBPP = 32; this.glwidget1.AccumulatorBPP = 0; this.glwidget1.DepthBPP = 16; this.glwidget1.StencilBPP = 0; this.glwidget1.Samples = 0; this.glwidget1.Stereo = false; this.glwidget1.GlVersionMajor = 3; this.glwidget1.GlVersionMinor = 0; this.hbox1.Add(this.glwidget1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.glwidget1])); w4.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.detailsBox = new Gtk.VBox(); this.detailsBox.Name = "detailsBox"; this.detailsBox.Spacing = 6; this.detailsBox.BorderWidth = ((uint)(10)); // Container child detailsBox.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(12)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.detailEntryName = new Gtk.Entry(); this.detailEntryName.CanFocus = true; this.detailEntryName.Name = "detailEntryName"; this.detailEntryName.IsEditable = true; this.detailEntryName.WidthChars = 30; this.detailEntryName.InvisibleChar = '•'; this.table1.Add(this.detailEntryName); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.detailEntryName])); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelAccessed = new Gtk.Label(); this.detailLabelAccessed.Name = "detailLabelAccessed"; this.detailLabelAccessed.Xalign = 0F; this.detailLabelAccessed.LabelProp = Mono.Unix.Catalog.GetString("Accessed:"); this.detailLabelAccessed.SingleLineMode = true; this.table1.Add(this.detailLabelAccessed); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelAccessed])); w6.TopAttach = ((uint)(8)); w6.BottomAttach = ((uint)(9)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelContents = new Gtk.Label(); this.detailLabelContents.Name = "detailLabelContents"; this.detailLabelContents.Xalign = 0F; this.detailLabelContents.LabelProp = Mono.Unix.Catalog.GetString("Contents:"); this.detailLabelContents.SingleLineMode = true; this.table1.Add(this.detailLabelContents); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelContents])); w7.TopAttach = ((uint)(5)); w7.BottomAttach = ((uint)(6)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelGroup = new Gtk.Label(); this.detailLabelGroup.Name = "detailLabelGroup"; this.detailLabelGroup.Xalign = 0F; this.detailLabelGroup.LabelProp = Mono.Unix.Catalog.GetString("Group:"); this.detailLabelGroup.SingleLineMode = true; this.table1.Add(this.detailLabelGroup); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelGroup])); w8.TopAttach = ((uint)(11)); w8.BottomAttach = ((uint)(12)); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelModified = new Gtk.Label(); this.detailLabelModified.Name = "detailLabelModified"; this.detailLabelModified.Xalign = 0F; this.detailLabelModified.LabelProp = Mono.Unix.Catalog.GetString("Modified:"); this.detailLabelModified.SingleLineMode = true; this.table1.Add(this.detailLabelModified); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelModified])); w9.TopAttach = ((uint)(7)); w9.BottomAttach = ((uint)(8)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelName = new Gtk.Label(); this.detailLabelName.Name = "detailLabelName"; this.detailLabelName.Xalign = 0F; this.detailLabelName.LabelProp = Mono.Unix.Catalog.GetString("Name:"); this.detailLabelName.SingleLineMode = true; this.table1.Add(this.detailLabelName); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelName])); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelOwner = new Gtk.Label(); this.detailLabelOwner.Name = "detailLabelOwner"; this.detailLabelOwner.Xalign = 0F; this.detailLabelOwner.LabelProp = Mono.Unix.Catalog.GetString("Owner:"); this.detailLabelOwner.SingleLineMode = true; this.table1.Add(this.detailLabelOwner); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelOwner])); w11.TopAttach = ((uint)(10)); w11.BottomAttach = ((uint)(11)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelSize = new Gtk.Label(); this.detailLabelSize.Name = "detailLabelSize"; this.detailLabelSize.Xalign = 0F; this.detailLabelSize.LabelProp = Mono.Unix.Catalog.GetString("Size:"); this.detailLabelSize.SingleLineMode = true; this.table1.Add(this.detailLabelSize); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelSize])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelSpace = new Gtk.Label(); this.detailLabelSpace.Name = "detailLabelSpace"; this.detailLabelSpace.Xalign = 0F; this.detailLabelSpace.LabelProp = Mono.Unix.Catalog.GetString("Space:"); this.detailLabelSpace.SingleLineMode = true; this.table1.Add(this.detailLabelSpace); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelSpace])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailLabelType = new Gtk.Label(); this.detailLabelType.Name = "detailLabelType"; this.detailLabelType.Xalign = 0F; this.detailLabelType.LabelProp = Mono.Unix.Catalog.GetString("Type:"); this.detailLabelType.SingleLineMode = true; this.table1.Add(this.detailLabelType); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.detailLabelType])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailValueAccessed = new Gtk.Label(); this.detailValueAccessed.Name = "detailValueAccessed"; this.detailValueAccessed.Xalign = 0F; this.table1.Add(this.detailValueAccessed); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.detailValueAccessed])); w15.TopAttach = ((uint)(8)); w15.BottomAttach = ((uint)(9)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailValueContents = new Gtk.Label(); this.detailValueContents.Name = "detailValueContents"; this.detailValueContents.Xalign = 0F; this.detailValueContents.MaxWidthChars = 30; this.table1.Add(this.detailValueContents); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.detailValueContents])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailValueGroup = new Gtk.Label(); this.detailValueGroup.Name = "detailValueGroup"; this.detailValueGroup.Xalign = 0F; this.table1.Add(this.detailValueGroup); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.detailValueGroup])); w17.TopAttach = ((uint)(11)); w17.BottomAttach = ((uint)(12)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailValueModified = new Gtk.Label(); this.detailValueModified.Name = "detailValueModified"; this.detailValueModified.Xalign = 0F; this.table1.Add(this.detailValueModified); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.detailValueModified])); w18.TopAttach = ((uint)(7)); w18.BottomAttach = ((uint)(8)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailValueOwner = new Gtk.Label(); this.detailValueOwner.Name = "detailValueOwner"; this.detailValueOwner.Xalign = 0F; this.table1.Add(this.detailValueOwner); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.detailValueOwner])); w19.TopAttach = ((uint)(10)); w19.BottomAttach = ((uint)(11)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailValueSize = new Gtk.Label(); this.detailValueSize.Name = "detailValueSize"; this.detailValueSize.Xalign = 0F; this.table1.Add(this.detailValueSize); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.detailValueSize])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((Gtk.AttachOptions)(4)); w20.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailValueSpace = new Gtk.Label(); this.detailValueSpace.Name = "detailValueSpace"; this.detailValueSpace.Xalign = 0F; this.detailValueSpace.MaxWidthChars = 30; this.table1.Add(this.detailValueSpace); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.detailValueSpace])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.detailValueType = new Gtk.Label(); this.detailValueType.Name = "detailValueType"; this.detailValueType.Xalign = 0F; this.detailValueType.MaxWidthChars = 30; this.table1.Add(this.detailValueType); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.detailValueType])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed2 = new Gtk.Fixed(); this.fixed2.HeightRequest = 10; this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.table1.Add(this.fixed2); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.fixed2])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed3 = new Gtk.Fixed(); this.fixed3.HeightRequest = 10; this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.table1.Add(this.fixed3); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.fixed3])); w24.TopAttach = ((uint)(6)); w24.BottomAttach = ((uint)(7)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed4 = new Gtk.Fixed(); this.fixed4.HeightRequest = 10; this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.table1.Add(this.fixed4); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.fixed4])); w25.TopAttach = ((uint)(9)); w25.BottomAttach = ((uint)(10)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.YOptions = ((Gtk.AttachOptions)(4)); this.detailsBox.Add(this.table1); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.detailsBox[this.table1])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child detailsBox.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.detailsBox.Add(this.hseparator1); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.detailsBox[this.hseparator1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; w27.Padding = ((uint)(10)); // Container child detailsBox.Gtk.Box+BoxChild this.fixed1 = new Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.detailsBox.Add(this.fixed1); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.detailsBox[this.fixed1])); w28.Position = 2; // Container child detailsBox.Gtk.Box+BoxChild this.permissionsLabel = new Gtk.Label(); this.permissionsLabel.Name = "permissionsLabel"; this.permissionsLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Permissions</b>"); this.permissionsLabel.UseMarkup = true; this.permissionsLabel.UseUnderline = true; this.detailsBox.Add(this.permissionsLabel); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.detailsBox[this.permissionsLabel])); w29.Position = 3; w29.Expand = false; w29.Fill = false; // Container child detailsBox.Gtk.Box+BoxChild this.alignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.alignment2.Name = "alignment2"; this.alignment2.LeftPadding = ((uint)(40)); this.alignment2.BottomPadding = ((uint)(1)); // Container child alignment2.Gtk.Container+ContainerChild this.table4 = new Gtk.Table(((uint)(4)), ((uint)(4)), true); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.permissionCheckGR = new Gtk.CheckButton(); this.permissionCheckGR.CanFocus = true; this.permissionCheckGR.Name = "permissionCheckGR"; this.permissionCheckGR.Label = ""; this.permissionCheckGR.DrawIndicator = true; this.permissionCheckGR.UseUnderline = true; this.permissionCheckGR.Xalign = 0F; this.permissionCheckGR.Yalign = 0F; this.table4.Add(this.permissionCheckGR); Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckGR])); w30.TopAttach = ((uint)(2)); w30.BottomAttach = ((uint)(3)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((Gtk.AttachOptions)(0)); w30.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionCheckGW = new Gtk.CheckButton(); this.permissionCheckGW.CanFocus = true; this.permissionCheckGW.Name = "permissionCheckGW"; this.permissionCheckGW.Label = ""; this.permissionCheckGW.DrawIndicator = true; this.permissionCheckGW.UseUnderline = true; this.permissionCheckGW.Xalign = 0F; this.permissionCheckGW.Yalign = 0F; this.table4.Add(this.permissionCheckGW); Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckGW])); w31.TopAttach = ((uint)(2)); w31.BottomAttach = ((uint)(3)); w31.LeftAttach = ((uint)(2)); w31.RightAttach = ((uint)(3)); w31.XOptions = ((Gtk.AttachOptions)(0)); w31.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionCheckGX = new Gtk.CheckButton(); this.permissionCheckGX.CanFocus = true; this.permissionCheckGX.Name = "permissionCheckGX"; this.permissionCheckGX.Label = ""; this.permissionCheckGX.DrawIndicator = true; this.permissionCheckGX.UseUnderline = true; this.permissionCheckGX.Xalign = 0F; this.permissionCheckGX.Yalign = 0F; this.table4.Add(this.permissionCheckGX); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckGX])); w32.TopAttach = ((uint)(2)); w32.BottomAttach = ((uint)(3)); w32.LeftAttach = ((uint)(3)); w32.RightAttach = ((uint)(4)); w32.XOptions = ((Gtk.AttachOptions)(0)); w32.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionCheckOR = new Gtk.CheckButton(); this.permissionCheckOR.CanFocus = true; this.permissionCheckOR.Name = "permissionCheckOR"; this.permissionCheckOR.Label = ""; this.permissionCheckOR.DrawIndicator = true; this.permissionCheckOR.UseUnderline = true; this.permissionCheckOR.Xalign = 0F; this.permissionCheckOR.Yalign = 0F; this.table4.Add(this.permissionCheckOR); Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckOR])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((Gtk.AttachOptions)(0)); w33.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionCheckOW = new Gtk.CheckButton(); this.permissionCheckOW.CanFocus = true; this.permissionCheckOW.Name = "permissionCheckOW"; this.permissionCheckOW.Label = ""; this.permissionCheckOW.DrawIndicator = true; this.permissionCheckOW.UseUnderline = true; this.permissionCheckOW.Xalign = 0F; this.permissionCheckOW.Yalign = 0F; this.table4.Add(this.permissionCheckOW); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckOW])); w34.TopAttach = ((uint)(1)); w34.BottomAttach = ((uint)(2)); w34.LeftAttach = ((uint)(2)); w34.RightAttach = ((uint)(3)); w34.XOptions = ((Gtk.AttachOptions)(0)); w34.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionCheckOX = new Gtk.CheckButton(); this.permissionCheckOX.CanFocus = true; this.permissionCheckOX.Name = "permissionCheckOX"; this.permissionCheckOX.Label = ""; this.permissionCheckOX.DrawIndicator = true; this.permissionCheckOX.UseUnderline = true; this.permissionCheckOX.Xalign = 0F; this.permissionCheckOX.Yalign = 0F; this.table4.Add(this.permissionCheckOX); Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckOX])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(3)); w35.RightAttach = ((uint)(4)); w35.XOptions = ((Gtk.AttachOptions)(0)); w35.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionCheckUR = new Gtk.CheckButton(); this.permissionCheckUR.CanFocus = true; this.permissionCheckUR.Name = "permissionCheckUR"; this.permissionCheckUR.Label = ""; this.permissionCheckUR.DrawIndicator = true; this.permissionCheckUR.UseUnderline = true; this.permissionCheckUR.Xalign = 0F; this.permissionCheckUR.Yalign = 0F; this.table4.Add(this.permissionCheckUR); Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckUR])); w36.TopAttach = ((uint)(3)); w36.BottomAttach = ((uint)(4)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((Gtk.AttachOptions)(0)); w36.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionCheckUW = new Gtk.CheckButton(); this.permissionCheckUW.CanFocus = true; this.permissionCheckUW.Name = "permissionCheckUW"; this.permissionCheckUW.Label = ""; this.permissionCheckUW.DrawIndicator = true; this.permissionCheckUW.UseUnderline = true; this.permissionCheckUW.Xalign = 0F; this.permissionCheckUW.Yalign = 0F; this.table4.Add(this.permissionCheckUW); Gtk.Table.TableChild w37 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckUW])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.LeftAttach = ((uint)(2)); w37.RightAttach = ((uint)(3)); w37.XOptions = ((Gtk.AttachOptions)(0)); w37.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionCheckUX = new Gtk.CheckButton(); this.permissionCheckUX.CanFocus = true; this.permissionCheckUX.Name = "permissionCheckUX"; this.permissionCheckUX.Label = ""; this.permissionCheckUX.DrawIndicator = true; this.permissionCheckUX.UseUnderline = true; this.permissionCheckUX.Xalign = 0F; this.permissionCheckUX.Yalign = 0F; this.table4.Add(this.permissionCheckUX); Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table4[this.permissionCheckUX])); w38.TopAttach = ((uint)(3)); w38.BottomAttach = ((uint)(4)); w38.LeftAttach = ((uint)(3)); w38.RightAttach = ((uint)(4)); w38.XOptions = ((Gtk.AttachOptions)(0)); w38.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionLabelExecute = new Gtk.Label(); this.permissionLabelExecute.Name = "permissionLabelExecute"; this.permissionLabelExecute.LabelProp = Mono.Unix.Catalog.GetString("Users"); this.table4.Add(this.permissionLabelExecute); Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table4[this.permissionLabelExecute])); w39.TopAttach = ((uint)(3)); w39.BottomAttach = ((uint)(4)); w39.XOptions = ((Gtk.AttachOptions)(4)); w39.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionLabelGroup = new Gtk.Label(); this.permissionLabelGroup.Name = "permissionLabelGroup"; this.permissionLabelGroup.LabelProp = Mono.Unix.Catalog.GetString("Write"); this.table4.Add(this.permissionLabelGroup); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table4[this.permissionLabelGroup])); w40.LeftAttach = ((uint)(2)); w40.RightAttach = ((uint)(3)); w40.XOptions = ((Gtk.AttachOptions)(4)); w40.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionLabelOwner = new Gtk.Label(); this.permissionLabelOwner.Name = "permissionLabelOwner"; this.permissionLabelOwner.LabelProp = Mono.Unix.Catalog.GetString("Read"); this.table4.Add(this.permissionLabelOwner); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table4[this.permissionLabelOwner])); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((Gtk.AttachOptions)(4)); w41.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionLabelRead = new Gtk.Label(); this.permissionLabelRead.Name = "permissionLabelRead"; this.permissionLabelRead.LabelProp = Mono.Unix.Catalog.GetString("Owner"); this.table4.Add(this.permissionLabelRead); Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table4[this.permissionLabelRead])); w42.TopAttach = ((uint)(1)); w42.BottomAttach = ((uint)(2)); w42.XOptions = ((Gtk.AttachOptions)(4)); w42.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionLabelUser = new Gtk.Label(); this.permissionLabelUser.Name = "permissionLabelUser"; this.permissionLabelUser.LabelProp = Mono.Unix.Catalog.GetString("Execute"); this.table4.Add(this.permissionLabelUser); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table4[this.permissionLabelUser])); w43.LeftAttach = ((uint)(3)); w43.RightAttach = ((uint)(4)); w43.XOptions = ((Gtk.AttachOptions)(4)); w43.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.permissionLabelWrite = new Gtk.Label(); this.permissionLabelWrite.Name = "permissionLabelWrite"; this.permissionLabelWrite.LabelProp = Mono.Unix.Catalog.GetString("Group"); this.table4.Add(this.permissionLabelWrite); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table4[this.permissionLabelWrite])); w44.TopAttach = ((uint)(2)); w44.BottomAttach = ((uint)(3)); w44.XOptions = ((Gtk.AttachOptions)(4)); w44.YOptions = ((Gtk.AttachOptions)(4)); this.alignment2.Add(this.table4); this.detailsBox.Add(this.alignment2); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.detailsBox[this.alignment2])); w46.Position = 4; w46.Expand = false; this.hbox1.Add(this.detailsBox); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox1[this.detailsBox])); w47.Position = 1; w47.Expand = false; w47.Fill = false; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w48.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.findEntry = new Gtk.Entry(); this.findEntry.CanFocus = true; this.findEntry.Name = "findEntry"; this.findEntry.IsEditable = true; this.findEntry.InvisibleChar = '•'; this.vbox1.Add(this.findEntry); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.vbox1[this.findEntry])); w49.Position = 3; w49.Expand = false; w49.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar6 = new Gtk.Statusbar(); this.statusbar6.Name = "statusbar6"; this.statusbar6.Spacing = 6; this.vbox1.Add(this.statusbar6); Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar6])); w50.Position = 4; w50.Expand = false; w50.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.glwidget1.HasDefault = true; this.findEntry.Hide(); this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.AboutAction2.Activated += new System.EventHandler(this.OnAboutActivated); this.NameAction.Activated += new System.EventHandler(this.OnNameSortActivated); this.TypeAction.Activated += new System.EventHandler(this.OnTypeSortActivated); this.DateAction.Activated += new System.EventHandler(this.OnDateSortActivated); this.VSyncEnabledAction.Toggled += new System.EventHandler(this.OnVsyncToggle); this.VertigoEnabledAction.Toggled += new System.EventHandler(this.OnHeightColourToggle); this.ShowDetailsAction.Toggled += new System.EventHandler(this.OnDetailsVisibleToggled); this.entry4.Changed += new System.EventHandler(this.OnPathChanged); this.glwidget1.RenderFrame += new System.EventHandler(this.OnGlwidgetRenderFrame); this.glwidget1.SizeAllocated += new Gtk.SizeAllocatedHandler(this.OnWidgetResize); this.glwidget1.KeyPressEvent += new Gtk.KeyPressEventHandler(this.OnKeyPress); this.glwidget1.ButtonReleaseEvent += new Gtk.ButtonReleaseEventHandler(this.OnWidgetClick); this.detailEntryName.Activated += new System.EventHandler(this.OnNewNameEntered); this.permissionCheckUX.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.permissionCheckUW.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.permissionCheckUR.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.permissionCheckOX.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.permissionCheckOW.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.permissionCheckOR.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.permissionCheckGX.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.permissionCheckGW.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.permissionCheckGR.Toggled += new System.EventHandler(this.OnPermissionsToggle); this.findEntry.FocusOutEvent += new Gtk.FocusOutEventHandler(this.OnFindLoseFocus); this.findEntry.Changed += new System.EventHandler(this.OnSearchTextChanged); this.findEntry.KeyPressEvent += new Gtk.KeyPressEventHandler(this.OnFindKeyPress); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Nemo 0.2.4"); this.Icon = Gdk.Pixbuf.LoadFromResource("blue_guy.png"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.main_box = new Gtk.HBox(); this.main_box.Name = "main_box"; this.main_box.Spacing = 6; this.main_box.BorderWidth = ((uint)(12)); // Container child main_box.Gtk.Box+BoxChild this.left_pane = new Gtk.VBox(); this.left_pane.Name = "left_pane"; this.left_pane.Spacing = 6; // Container child left_pane.Gtk.Box+BoxChild this.all_files_button = new Gtk.Button(); this.all_files_button.CanFocus = true; this.all_files_button.Name = "all_files_button"; this.all_files_button.UseUnderline = true; this.all_files_button.Relief = ((Gtk.ReliefStyle)(2)); this.all_files_button.Xalign = 0F; this.all_files_button.Label = Mono.Unix.Catalog.GetString(" All Files"); this.left_pane.Add(this.all_files_button); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.left_pane[this.all_files_button])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child left_pane.Gtk.Box+BoxChild this.starred_button = new Gtk.ToggleButton(); this.starred_button.CanFocus = true; this.starred_button.Name = "starred_button"; this.starred_button.UseUnderline = true; this.starred_button.Relief = ((Gtk.ReliefStyle)(2)); this.starred_button.Xalign = 0F; // Container child starred_button.Gtk.Container+ContainerChild Gtk.Alignment w2 = new Gtk.Alignment(0F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w3 = new Gtk.HBox(); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w4 = new Gtk.Image(); w4.Pixbuf = Gdk.Pixbuf.LoadFromResource("stock_about.png"); w3.Add(w4); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w6 = new Gtk.Label(); w6.LabelProp = Mono.Unix.Catalog.GetString(" Starred"); w6.UseUnderline = true; w3.Add(w6); w2.Add(w3); this.starred_button.Add(w2); this.left_pane.Add(this.starred_button); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.left_pane[this.starred_button])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child left_pane.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.left_pane.Add(this.hseparator1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.left_pane[this.hseparator1])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child left_pane.Gtk.Box+BoxChild this.type_labels = new Gtk.VBox(); this.type_labels.Name = "type_labels"; this.type_labels.Spacing = 6; this.left_pane.Add(this.type_labels); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.left_pane[this.type_labels])); w12.Position = 3; w12.Expand = false; // Container child left_pane.Gtk.Box+BoxChild this.hseparator2 = new Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.left_pane.Add(this.hseparator2); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.left_pane[this.hseparator2])); w13.Position = 4; w13.Expand = false; w13.Fill = false; // Container child left_pane.Gtk.Box+BoxChild this.categories_event_box = new Gtk.EventBox(); this.categories_event_box.Name = "categories_event_box"; this.left_pane.Add(this.categories_event_box); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.left_pane[this.categories_event_box])); w14.Position = 5; // Container child left_pane.Gtk.Box+BoxChild this.hseparator3 = new Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.left_pane.Add(this.hseparator3); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.left_pane[this.hseparator3])); w15.Position = 6; w15.Expand = false; w15.Fill = false; // Container child left_pane.Gtk.Box+BoxChild this.search = new Gtk.VBox(); this.search.Name = "search"; this.search.Spacing = 6; // Container child search.Gtk.Box+BoxChild this.search_input = new Gtk.Entry(); this.search_input.CanFocus = true; this.search_input.Name = "search_input"; this.search_input.IsEditable = true; this.search_input.InvisibleChar = ' '; this.search.Add(this.search_input); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.search[this.search_input])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child search.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.fixed2 = new Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox5.Add(this.fixed2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.fixed2])); w17.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.search_button = new Gtk.Button(); this.search_button.CanFocus = true; this.search_button.Name = "search_button"; this.search_button.UseUnderline = true; this.search_button.Relief = ((Gtk.ReliefStyle)(2)); this.search_button.Label = Mono.Unix.Catalog.GetString("Search"); this.hbox5.Add(this.search_button); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox5[this.search_button])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.search.Add(this.hbox5); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.search[this.hbox5])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.left_pane.Add(this.search); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.left_pane[this.search])); w20.Position = 7; w20.Expand = false; w20.Fill = false; this.main_box.Add(this.left_pane); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.main_box[this.left_pane])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child main_box.Gtk.Box+BoxChild this.right_pane = new Gtk.VBox(); this.right_pane.Name = "right_pane"; this.right_pane.Spacing = 1; // Container child right_pane.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.prev_button = new Gtk.Button(); this.prev_button.CanFocus = true; this.prev_button.Name = "prev_button"; this.prev_button.UseUnderline = true; // Container child prev_button.Gtk.Container+ContainerChild Gtk.Alignment w22 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment1.Gtk.Container+ContainerChild Gtk.HBox w23 = new Gtk.HBox(); w23.Spacing = 2; // Container child GtkHBox1.Gtk.Container+ContainerChild Gtk.Image w24 = new Gtk.Image(); w24.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16); w23.Add(w24); // Container child GtkHBox1.Gtk.Container+ContainerChild Gtk.Label w26 = new Gtk.Label(); w26.LabelProp = ""; w23.Add(w26); w22.Add(w23); this.prev_button.Add(w22); this.hbox3.Add(this.prev_button); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox3[this.prev_button])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.next_button = new Gtk.Button(); this.next_button.CanFocus = true; this.next_button.Name = "next_button"; this.next_button.UseUnderline = true; // Container child next_button.Gtk.Container+ContainerChild Gtk.Alignment w31 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment2.Gtk.Container+ContainerChild Gtk.HBox w32 = new Gtk.HBox(); w32.Spacing = 2; // Container child GtkHBox2.Gtk.Container+ContainerChild Gtk.Image w33 = new Gtk.Image(); w33.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", Gtk.IconSize.Menu, 16); w32.Add(w33); // Container child GtkHBox2.Gtk.Container+ContainerChild Gtk.Label w35 = new Gtk.Label(); w35.LabelProp = ""; w32.Add(w35); w31.Add(w32); this.next_button.Add(w31); this.hbox3.Add(this.next_button); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hbox3[this.next_button])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.today_button = new Gtk.Button(); this.today_button.CanFocus = true; this.today_button.Name = "today_button"; this.today_button.UseUnderline = true; this.today_button.Label = Mono.Unix.Catalog.GetString("Today"); this.hbox3.Add(this.today_button); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.hbox3[this.today_button])); w40.Position = 2; w40.Expand = false; w40.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.current_date = new Gtk.Label(); this.current_date.Name = "current_date"; this.current_date.LabelProp = ""; this.hbox3.Add(this.current_date); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.hbox3[this.current_date])); w41.Position = 3; w41.Expand = false; w41.Fill = false; this.hbox2.Add(this.hbox3); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox2[this.hbox3])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fixed3 = new Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.hbox2.Add(this.fixed3); Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.hbox2[this.fixed3])); w43.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.day_button = new Gtk.ToggleButton(); this.day_button.CanFocus = true; this.day_button.Name = "day_button"; this.day_button.UseUnderline = true; this.day_button.Label = Mono.Unix.Catalog.GetString("Day"); this.hbox4.Add(this.day_button); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.hbox4[this.day_button])); w44.Position = 0; w44.Expand = false; w44.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.week_button = new Gtk.ToggleButton(); this.week_button.CanFocus = true; this.week_button.Name = "week_button"; this.week_button.UseUnderline = true; this.week_button.Label = Mono.Unix.Catalog.GetString("Week"); this.hbox4.Add(this.week_button); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox4[this.week_button])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.month_button = new Gtk.ToggleButton(); this.month_button.CanFocus = true; this.month_button.Name = "month_button"; this.month_button.UseUnderline = true; this.month_button.Label = Mono.Unix.Catalog.GetString("Month"); this.hbox4.Add(this.month_button); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox4[this.month_button])); w46.Position = 2; w46.Expand = false; w46.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.year_button = new Gtk.ToggleButton(); this.year_button.CanFocus = true; this.year_button.Name = "year_button"; this.year_button.UseUnderline = true; this.year_button.Label = Mono.Unix.Catalog.GetString("Year"); this.hbox4.Add(this.year_button); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox4[this.year_button])); w47.Position = 3; w47.Expand = false; w47.Fill = false; this.hbox2.Add(this.hbox4); Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.hbox2[this.hbox4])); w48.Position = 2; w48.Expand = false; w48.Fill = false; this.right_pane.Add(this.hbox2); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.right_pane[this.hbox2])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child right_pane.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(1)); this.frame1.LabelYalign = 0F; // Container child frame1.Gtk.Container+ContainerChild this.calendar_event_box = new Gtk.EventBox(); this.calendar_event_box.Name = "calendar_event_box"; this.frame1.Add(this.calendar_event_box); this.right_pane.Add(this.frame1); Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.right_pane[this.frame1])); w51.Position = 1; this.main_box.Add(this.right_pane); Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.main_box[this.right_pane])); w52.Position = 1; this.Add(this.main_box); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 701; this.DefaultHeight = 512; this.Show(); this.FocusInEvent += new Gtk.FocusInEventHandler(this.GotFocus); this.FocusOutEvent += new Gtk.FocusOutEventHandler(this.FocusLeave); this.all_files_button.Pressed += new System.EventHandler(this.OnAllFilesPressed); this.starred_button.Pressed += new System.EventHandler(this.OnStarredPressed); this.search_input.KeyReleaseEvent += new Gtk.KeyReleaseEventHandler(this.on_key_release); this.search_button.Clicked += new System.EventHandler(this.on_search_button_click); this.prev_button.Clicked += new System.EventHandler(this.OnPrevious); this.next_button.Clicked += new System.EventHandler(this.OnNext); this.today_button.Pressed += new System.EventHandler(this.OnTodayPressed); this.day_button.Pressed += new System.EventHandler(this.OnDayClick); this.week_button.Pressed += new System.EventHandler(this.OnWeekClick); this.month_button.Pressed += new System.EventHandler(this.OnMonthClick); this.year_button.Pressed += new System.EventHandler(this.OnYearClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget PingFM.Configuration Stetic.BinContainer.Attach(this); this.Name = "PingFM.Configuration"; // Container child PingFM.Configuration.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(7)); // Container child table1.Gtk.Table+TableChild this.appkey_entry = new Gtk.Entry(); this.appkey_entry.CanFocus = true; this.appkey_entry.Name = "appkey_entry"; this.appkey_entry.IsEditable = true; this.appkey_entry.InvisibleChar = '●'; this.table1.Add(this.appkey_entry); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.appkey_entry])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.appkey_lbl = new Gtk.Label(); this.appkey_lbl.Name = "appkey_lbl"; this.appkey_lbl.Ypad = 5; this.appkey_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Application Key"); this.table1.Add(this.appkey_lbl); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.appkey_lbl])); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.table1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.validate_lbl = new Gtk.Label(); this.validate_lbl.Name = "validate_lbl"; this.validate_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<i>Verify and save your account information</i>"); this.validate_lbl.UseMarkup = true; this.vbox2.Add(this.validate_lbl); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.validate_lbl])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table2 = new 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.fixed1 = new Gtk.Fixed(); this.fixed1.WidthRequest = 119; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.table2.Add(this.fixed1); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table2[this.fixed1])); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.validate_btn = new Gtk.Button(); this.validate_btn.WidthRequest = 40; this.validate_btn.CanFocus = true; this.validate_btn.Name = "validate_btn"; this.validate_btn.UseStock = true; this.validate_btn.UseUnderline = true; this.validate_btn.BorderWidth = ((uint)(7)); this.validate_btn.Label = "gtk-apply"; this.table2.Add(this.validate_btn); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table2[this.validate_btn])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((Gtk.AttachOptions)(4)); this.vbox2.Add(this.table2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.table2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox1.Add(this.vbox2); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w8.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.info_hbox = new Gtk.HBox(); this.info_hbox.Name = "info_hbox"; this.info_hbox.Spacing = 6; // Container child info_hbox.Gtk.Box+BoxChild this.fixed3 = new Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.info_hbox.Add(this.fixed3); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.info_hbox[this.fixed3])); w9.Position = 0; // Container child info_hbox.Gtk.Box+BoxChild this.fixed4 = new Gtk.Fixed(); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.info_hbox.Add(this.fixed4); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.info_hbox[this.fixed4])); w10.Position = 2; this.vbox1.Add(this.info_hbox); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox1[this.info_hbox])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.validate_btn.Clicked += new System.EventHandler(this.OnApplyBtnClicked); }
public IViewWrapper CreateEmptyView() { var fixedView = new Gtk.Fixed(); return(new ViewWrapper(fixedView)); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Password Generator (GTK)"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Password Length"); this.fixed1.Add(this.label2); Gtk.Fixed.FixedChild w1 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w1.X = 13; w1.Y = 23; // Container child fixed1.Gtk.Fixed+FixedChild this.PasswordLengthText = new Gtk.Entry(); this.PasswordLengthText.CanFocus = true; this.PasswordLengthText.Name = "PasswordLengthText"; this.PasswordLengthText.Text = Mono.Unix.Catalog.GetString("14"); this.PasswordLengthText.IsEditable = true; this.PasswordLengthText.WidthChars = 7; this.PasswordLengthText.MaxLength = 2; this.PasswordLengthText.InvisibleChar = '●'; this.fixed1.Add(this.PasswordLengthText); Gtk.Fixed.FixedChild w2 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.PasswordLengthText])); w2.X = 127; w2.Y = 16; // Container child fixed1.Gtk.Fixed+FixedChild this.UseUppercaseCheckbox = new Gtk.CheckButton(); this.UseUppercaseCheckbox.CanFocus = true; this.UseUppercaseCheckbox.Name = "UseUppercaseCheckbox"; this.UseUppercaseCheckbox.Label = Mono.Unix.Catalog.GetString("Use Uppercase Letters"); this.UseUppercaseCheckbox.Active = true; this.UseUppercaseCheckbox.DrawIndicator = true; this.UseUppercaseCheckbox.UseUnderline = true; this.fixed1.Add(this.UseUppercaseCheckbox); Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.UseUppercaseCheckbox])); w3.X = 250; w3.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.UseLowerCaseCheckbox = new Gtk.CheckButton(); this.UseLowerCaseCheckbox.CanFocus = true; this.UseLowerCaseCheckbox.Name = "UseLowerCaseCheckbox"; this.UseLowerCaseCheckbox.Label = Mono.Unix.Catalog.GetString("Use Lowercase Letters"); this.UseLowerCaseCheckbox.Active = true; this.UseLowerCaseCheckbox.DrawIndicator = true; this.UseLowerCaseCheckbox.UseUnderline = true; this.fixed1.Add(this.UseLowerCaseCheckbox); Gtk.Fixed.FixedChild w4 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.UseLowerCaseCheckbox])); w4.X = 251; w4.Y = 37; // Container child fixed1.Gtk.Fixed+FixedChild this.UseNumbersCheckbox = new Gtk.CheckButton(); this.UseNumbersCheckbox.CanFocus = true; this.UseNumbersCheckbox.Name = "UseNumbersCheckbox"; this.UseNumbersCheckbox.Label = Mono.Unix.Catalog.GetString("Use Numbers"); this.UseNumbersCheckbox.Active = true; this.UseNumbersCheckbox.DrawIndicator = true; this.UseNumbersCheckbox.UseUnderline = true; this.fixed1.Add(this.UseNumbersCheckbox); Gtk.Fixed.FixedChild w5 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.UseNumbersCheckbox])); w5.X = 427; w5.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.UseSpecialCharactersCheckbox = new Gtk.CheckButton(); this.UseSpecialCharactersCheckbox.CanFocus = true; this.UseSpecialCharactersCheckbox.Name = "UseSpecialCharactersCheckbox"; this.UseSpecialCharactersCheckbox.Label = Mono.Unix.Catalog.GetString("Use Special Characters"); this.UseSpecialCharactersCheckbox.Active = true; this.UseSpecialCharactersCheckbox.DrawIndicator = true; this.UseSpecialCharactersCheckbox.UseUnderline = true; this.fixed1.Add(this.UseSpecialCharactersCheckbox); Gtk.Fixed.FixedChild w6 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.UseSpecialCharactersCheckbox])); w6.X = 428; w6.Y = 35; // Container child fixed1.Gtk.Fixed+FixedChild this.GeneratePasswordButton = new Gtk.Button(); this.GeneratePasswordButton.CanFocus = true; this.GeneratePasswordButton.Name = "GeneratePasswordButton"; this.GeneratePasswordButton.UseUnderline = true; this.GeneratePasswordButton.Label = Mono.Unix.Catalog.GetString("Generate Password"); this.fixed1.Add(this.GeneratePasswordButton); Gtk.Fixed.FixedChild w7 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.GeneratePasswordButton])); w7.X = 467; w7.Y = 68; // Container child fixed1.Gtk.Fixed+FixedChild this.GeneratedPasswordText = new Gtk.Entry(); this.GeneratedPasswordText.CanFocus = true; this.GeneratedPasswordText.Name = "GeneratedPasswordText"; this.GeneratedPasswordText.IsEditable = false; this.GeneratedPasswordText.WidthChars = 32; this.GeneratedPasswordText.MaxLength = 32; this.GeneratedPasswordText.InvisibleChar = '●'; this.fixed1.Add(this.GeneratedPasswordText); Gtk.Fixed.FixedChild w8 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.GeneratedPasswordText])); w8.X = 268; w8.Y = 118; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Generated Password"); this.fixed1.Add(this.label3); Gtk.Fixed.FixedChild w9 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w9.X = 128; w9.Y = 122; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 626; this.DefaultHeight = 193; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.UseUppercaseCheckbox.Toggled += new System.EventHandler(this.CheckboxToggled); this.UseLowerCaseCheckbox.Toggled += new System.EventHandler(this.CheckboxToggled); this.UseNumbersCheckbox.Toggled += new System.EventHandler(this.CheckboxToggled); this.UseSpecialCharactersCheckbox.Toggled += new System.EventHandler(this.CheckboxToggled); this.GeneratePasswordButton.Clicked += new System.EventHandler(this.OnGeneratePasswordButtonClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget tryServer.MainWindow this.WidthRequest = 380; this.HeightRequest = 330; this.CanFocus = true; this.Events = ((Gdk.EventMask)(256)); this.Name = "tryServer.MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Main"); this.WindowPosition = ((Gtk.WindowPosition)(1)); this.Resizable = false; this.AllowGrow = false; this.DestroyWithParent = true; // Container child tryServer.MainWindow.Gtk.Container+ContainerChild this.notebook3 = new Gtk.Notebook(); this.notebook3.WidthRequest = 300; this.notebook3.CanFocus = true; this.notebook3.Name = "notebook3"; // Container child notebook3.Gtk.Notebook+NotebookChild this.fixed3 = new Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; // Container child fixed3.Gtk.Fixed+FixedChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Stop server"); this.fixed3.Add(this.label8); Gtk.Fixed.FixedChild w1 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label8])); w1.X = 104; w1.Y = 172; // Container child fixed3.Gtk.Fixed+FixedChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Connections Settings"); this.fixed3.Add(this.label9); Gtk.Fixed.FixedChild w2 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label9])); w2.X = 104; w2.Y = 230; // Container child fixed3.Gtk.Fixed+FixedChild this.btnStart = new Gtk.Button(); this.btnStart.WidthRequest = 80; this.btnStart.HeightRequest = 55; this.btnStart.CanFocus = true; this.btnStart.Name = "btnStart"; this.btnStart.UseUnderline = true; // Container child btnStart.Gtk.Container+ContainerChild Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w3.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w4 = new Gtk.HBox(); w4.Name = "GtkHBox"; w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w5 = new Gtk.Image(); w5.Name = "image14"; w5.Pixbuf = Gdk.Pixbuf.LoadFromResource("play.png"); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w7 = new Gtk.Label(); w7.Name = "GtkLabel"; w7.LabelProp = ""; w4.Add(w7); w3.Add(w4); this.btnStart.Add(w3); this.fixed3.Add(this.btnStart); Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.btnStart])); w11.X = 14; w11.Y = 99; // Container child fixed3.Gtk.Fixed+FixedChild this.btnStop = new Gtk.Button(); this.btnStop.WidthRequest = 80; this.btnStop.HeightRequest = 55; this.btnStop.CanFocus = true; this.btnStop.Name = "btnStop"; this.btnStop.UseUnderline = true; // Container child btnStop.Gtk.Container+ContainerChild Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w12.Name = "GtkAlignment1"; // Container child GtkAlignment1.Gtk.Container+ContainerChild Gtk.HBox w13 = new Gtk.HBox(); w13.Name = "GtkHBox1"; w13.Spacing = 2; // Container child GtkHBox1.Gtk.Container+ContainerChild Gtk.Image w14 = new Gtk.Image(); w14.Name = "image15"; w14.Pixbuf = Gdk.Pixbuf.LoadFromResource("process-stop.png"); w13.Add(w14); // Container child GtkHBox1.Gtk.Container+ContainerChild Gtk.Label w16 = new Gtk.Label(); w16.Name = "GtkLabel1"; w16.LabelProp = ""; w13.Add(w16); w12.Add(w13); this.btnStop.Add(w12); this.fixed3.Add(this.btnStop); Gtk.Fixed.FixedChild w20 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.btnStop])); w20.X = 14; w20.Y = 157; // Container child fixed3.Gtk.Fixed+FixedChild this.btnSettings = new Gtk.Button(); this.btnSettings.WidthRequest = 80; this.btnSettings.HeightRequest = 55; this.btnSettings.CanFocus = true; this.btnSettings.Name = "btnSettings"; this.btnSettings.UseUnderline = true; // Container child btnSettings.Gtk.Container+ContainerChild Gtk.Alignment w21 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w21.Name = "GtkAlignment2"; // Container child GtkAlignment2.Gtk.Container+ContainerChild Gtk.HBox w22 = new Gtk.HBox(); w22.Name = "GtkHBox2"; w22.Spacing = 2; // Container child GtkHBox2.Gtk.Container+ContainerChild Gtk.Image w23 = new Gtk.Image(); w23.Name = "image16"; w23.Pixbuf = Gdk.Pixbuf.LoadFromResource("db_sql_.png"); w22.Add(w23); // Container child GtkHBox2.Gtk.Container+ContainerChild Gtk.Label w25 = new Gtk.Label(); w25.Name = "GtkLabel2"; w25.LabelProp = ""; w22.Add(w25); w21.Add(w22); this.btnSettings.Add(w21); this.fixed3.Add(this.btnSettings); Gtk.Fixed.FixedChild w29 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.btnSettings])); w29.X = 14; w29.Y = 215; // Container child fixed3.Gtk.Fixed+FixedChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Start server"); this.fixed3.Add(this.label7); Gtk.Fixed.FixedChild w30 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label7])); w30.X = 104; w30.Y = 116; // Container child fixed3.Gtk.Fixed+FixedChild this.imgOffline = new Gtk.Image(); this.imgOffline.Name = "imgOffline"; this.imgOffline.Pixbuf = Gdk.Pixbuf.LoadFromResource("Internet - Offline.png"); this.fixed3.Add(this.imgOffline); Gtk.Fixed.FixedChild w31 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.imgOffline])); w31.X = 211; w31.Y = 93; // Container child fixed3.Gtk.Fixed+FixedChild this.imgOnline = new Gtk.Image(); this.imgOnline.Name = "imgOnline"; this.imgOnline.Pixbuf = Gdk.Pixbuf.LoadFromResource("Network Configuration.png"); this.fixed3.Add(this.imgOnline); Gtk.Fixed.FixedChild w32 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.imgOnline])); w32.X = 211; w32.Y = 93; // Container child fixed3.Gtk.Fixed+FixedChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Instance"); this.fixed3.Add(this.label6); Gtk.Fixed.FixedChild w33 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label6])); w33.X = 16; w33.Y = 39; // Container child fixed3.Gtk.Fixed+FixedChild this.cmbInstance = Gtk.ComboBox.NewText(); this.cmbInstance.WidthRequest = 250; this.cmbInstance.Name = "cmbInstance"; this.fixed3.Add(this.cmbInstance); Gtk.Fixed.FixedChild w34 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.cmbInstance])); w34.X = 93; w34.Y = 31; this.notebook3.Add(this.fixed3); // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Settings"); this.notebook3.SetTabLabel(this.fixed3, this.label4); // Container child notebook3.Gtk.Notebook+NotebookChild this.fixed4 = new Gtk.Fixed(); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; // Container child fixed4.Gtk.Fixed+FixedChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Server"); this.fixed4.Add(this.label10); Gtk.Fixed.FixedChild w36 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label10])); w36.X = 175; w36.Y = 30; // Container child fixed4.Gtk.Fixed+FixedChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Port"); this.fixed4.Add(this.label11); Gtk.Fixed.FixedChild w37 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label11])); w37.X = 175; w37.Y = 65; // Container child fixed4.Gtk.Fixed+FixedChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = Mono.Unix.Catalog.GetString("File"); this.fixed4.Add(this.label12); Gtk.Fixed.FixedChild w38 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label12])); w38.X = 175; w38.Y = 100; // Container child fixed4.Gtk.Fixed+FixedChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = Mono.Unix.Catalog.GetString("User"); this.fixed4.Add(this.label13); Gtk.Fixed.FixedChild w39 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label13])); w39.X = 175; w39.Y = 145; // Container child fixed4.Gtk.Fixed+FixedChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Password"); this.fixed4.Add(this.label14); Gtk.Fixed.FixedChild w40 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label14])); w40.X = 175; w40.Y = 180; // Container child fixed4.Gtk.Fixed+FixedChild this.chkStart = new Gtk.CheckButton(); this.chkStart.CanFocus = true; this.chkStart.Name = "chkStart"; this.chkStart.Label = Mono.Unix.Catalog.GetString("Start automatically"); this.chkStart.DrawIndicator = true; this.chkStart.UseUnderline = true; this.fixed4.Add(this.chkStart); Gtk.Fixed.FixedChild w41 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.chkStart])); w41.X = 191; w41.Y = 216; // Container child fixed4.Gtk.Fixed+FixedChild this.button4 = new Gtk.Button(); this.button4.WidthRequest = 80; this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = Mono.Unix.Catalog.GetString("Ok"); this.fixed4.Add(this.button4); Gtk.Fixed.FixedChild w42 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.button4])); w42.X = 204; w42.Y = 253; // Container child fixed4.Gtk.Fixed+FixedChild this.button5 = new Gtk.Button(); this.button5.WidthRequest = 80; this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = Mono.Unix.Catalog.GetString("Cancel"); this.fixed4.Add(this.button5); Gtk.Fixed.FixedChild w43 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.button5])); w43.X = 288; w43.Y = 253; // Container child fixed4.Gtk.Fixed+FixedChild this.entry1 = new Gtk.Entry(); this.entry1.WidthRequest = 120; this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed4.Add(this.entry1); Gtk.Fixed.FixedChild w44 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry1])); w44.X = 250; w44.Y = 25; // Container child fixed4.Gtk.Fixed+FixedChild this.entry2 = new Gtk.Entry(); this.entry2.WidthRequest = 120; this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.fixed4.Add(this.entry2); Gtk.Fixed.FixedChild w45 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry2])); w45.X = 250; w45.Y = 60; // Container child fixed4.Gtk.Fixed+FixedChild this.entry4 = new Gtk.Entry(); this.entry4.WidthRequest = 120; this.entry4.CanFocus = true; this.entry4.Name = "entry4"; this.entry4.IsEditable = true; this.entry4.InvisibleChar = '●'; this.fixed4.Add(this.entry4); Gtk.Fixed.FixedChild w46 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry4])); w46.X = 250; w46.Y = 95; // Container child fixed4.Gtk.Fixed+FixedChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.WidthRequest = 200; this.hseparator1.Name = "hseparator1"; this.fixed4.Add(this.hseparator1); Gtk.Fixed.FixedChild w47 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.hseparator1])); w47.X = 169; w47.Y = 129; // Container child fixed4.Gtk.Fixed+FixedChild this.entry5 = new Gtk.Entry(); this.entry5.WidthRequest = 120; this.entry5.CanFocus = true; this.entry5.Name = "entry5"; this.entry5.IsEditable = true; this.entry5.Visibility = false; this.entry5.InvisibleChar = '●'; this.fixed4.Add(this.entry5); Gtk.Fixed.FixedChild w48 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry5])); w48.X = 250; w48.Y = 175; // Container child fixed4.Gtk.Fixed+FixedChild this.entry6 = new Gtk.Entry(); this.entry6.WidthRequest = 120; this.entry6.CanFocus = true; this.entry6.Name = "entry6"; this.entry6.IsEditable = true; this.entry6.InvisibleChar = '●'; this.fixed4.Add(this.entry6); Gtk.Fixed.FixedChild w49 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry6])); w49.X = 248; w49.Y = 140; // Container child fixed4.Gtk.Fixed+FixedChild this.hseparator4 = new Gtk.HSeparator(); this.hseparator4.WidthRequest = 150; this.hseparator4.Name = "hseparator4"; this.fixed4.Add(this.hseparator4); Gtk.Fixed.FixedChild w50 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.hseparator4])); w50.X = 11; w50.Y = 10; // Container child fixed4.Gtk.Fixed+FixedChild this.hseparator5 = new Gtk.HSeparator(); this.hseparator5.WidthRequest = 150; this.hseparator5.Name = "hseparator5"; this.fixed4.Add(this.hseparator5); Gtk.Fixed.FixedChild w51 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.hseparator5])); w51.X = 9; w51.Y = 282; // Container child fixed4.Gtk.Fixed+FixedChild this.treeview1 = new Gtk.TreeView(); this.treeview1.WidthRequest = 150; this.treeview1.HeightRequest = 270; this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.treeview1.FixedHeightMode = true; this.treeview1.HeadersVisible = false; this.fixed4.Add(this.treeview1); Gtk.Fixed.FixedChild w52 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.treeview1])); w52.X = 11; w52.Y = 11; this.notebook3.Add(this.fixed4); Gtk.Notebook.NotebookChild w53 = ((Gtk.Notebook.NotebookChild)(this.notebook3[this.fixed4])); w53.Position = 1; // Notebook tab this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Registered items"); this.notebook3.SetTabLabel(this.fixed4, this.label5); this.Add(this.notebook3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 419; this.DefaultHeight = 379; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnStart.Clicked += new System.EventHandler(this.OnBtnStartClicked); this.btnStop.Clicked += new System.EventHandler(this.OnBtnStopClicked); this.btnSettings.Clicked += new System.EventHandler(this.OnBtnSettingsClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget MainWindow Gtk.UIManager w1 = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); this.Options = new Gtk.Action("Options", Mono.Unix.Catalog.GetString("Options"), null, "gtk-preferences"); this.Options.ShortLabel = Mono.Unix.Catalog.GetString("File"); w2.Add(this.Options, null); this.AddFolder = new Gtk.Action("AddFolder", Mono.Unix.Catalog.GetString("Add Folder"), null, "gtk-open"); this.AddFolder.ShortLabel = Mono.Unix.Catalog.GetString("Add Folder"); w2.Add(this.AddFolder, null); this.NewCollection = new Gtk.Action("NewCollection", Mono.Unix.Catalog.GetString("New Collection"), null, "gtk-new"); this.NewCollection.ShortLabel = Mono.Unix.Catalog.GetString("New Collection"); w2.Add(this.NewCollection, null); this.Preferences = new Gtk.Action("Preferences", Mono.Unix.Catalog.GetString("Preferences"), null, "gtk-preferences"); this.Preferences.ShortLabel = Mono.Unix.Catalog.GetString("Options"); w2.Add(this.Preferences, null); this.Exit1 = new Gtk.Action("Exit1", Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); this.Exit1.ShortLabel = Mono.Unix.Catalog.GetString("Exit"); w2.Add(this.Exit1, null); this.Update = new Gtk.Action("Update", Mono.Unix.Catalog.GetString("Update"), null, "gtk-dialog-warning"); this.Update.ShortLabel = Mono.Unix.Catalog.GetString("Update"); w2.Add(this.Update, null); this.Exit2 = new Gtk.ToggleAction("Exit2", Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); this.Exit2.ShortLabel = Mono.Unix.Catalog.GetString("Exit"); w2.Add(this.Exit2, null); this.AddFile = new Gtk.Action("AddFile", Mono.Unix.Catalog.GetString("Add File"), null, "gtk-add"); this.AddFile.ShortLabel = Mono.Unix.Catalog.GetString("Add File"); w2.Add(this.AddFile, null); this.About = new Gtk.Action("About", Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); this.About.ShortLabel = Mono.Unix.Catalog.GetString("About"); w2.Add(this.About, null); this.About3 = new Gtk.Action("About3", Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.About3.ShortLabel = Mono.Unix.Catalog.GetString("_About"); w2.Add(this.About3, null); w1.InsertActionGroup(w2, 0); this.AddAccelGroup(w1.AccelGroup); this.WidthRequest = 360; this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Mp3 Player"); this.Icon = Stetic.IconLoader.LoadIcon("stock_headphones", 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.MainFixedWindow = new Gtk.Fixed(); this.MainFixedWindow.WidthRequest = 0; this.MainFixedWindow.HeightRequest = 640; this.MainFixedWindow.Name = "MainFixedWindow"; this.MainFixedWindow.HasWindow = false; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.bottomStatusBar = new Gtk.Statusbar(); this.bottomStatusBar.WidthRequest = 363; this.bottomStatusBar.HeightRequest = 17; this.bottomStatusBar.Name = "bottomStatusBar"; this.bottomStatusBar.Spacing = 6; this.MainFixedWindow.Add(this.bottomStatusBar); Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.bottomStatusBar])); w3.X = 1; w3.Y = 624; // Container child MainFixedWindow.Gtk.Fixed+FixedChild w1.AddUiFromString("<ui><menubar name='menubar'><menu action='Options'><menuitem action='NewCollection'/><menuitem action='AddFolder'/><menuitem action='AddFile'/><menuitem action='Preferences'/><menuitem action='Exit1'/></menu><menu action='About'><menuitem action='About3'/></menu></menubar></ui>"); this.menubar = ((Gtk.MenuBar)(w1.GetWidget("/menubar"))); this.menubar.WidthRequest = 370; this.menubar.HasDefault = true; this.menubar.CanFocus = true; this.menubar.Name = "menubar"; this.MainFixedWindow.Add(this.menubar); // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.musicButtonBox = new Gtk.HBox(); this.musicButtonBox.Name = "musicButtonBox"; this.musicButtonBox.Spacing = 6; // Container child musicButtonBox.Gtk.Box+BoxChild this.playButton = new Gtk.Button(); this.playButton.CanFocus = true; this.playButton.Name = "playButton"; this.playButton.UseUnderline = true; // Container child playButton.Gtk.Container+ContainerChild Gtk.Alignment w5 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w5.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w6 = new Gtk.HBox(); w6.Name = "GtkHBox"; w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w7 = new Gtk.Image(); w7.Name = "image35"; w7.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-play", 16); w6.Add(w7); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w9 = new Gtk.Label(); w9.Name = "GtkLabel"; w9.LabelProp = ""; w6.Add(w9); w5.Add(w6); this.playButton.Add(w5); this.musicButtonBox.Add(this.playButton); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.playButton])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child musicButtonBox.Gtk.Box+BoxChild this.stopButton = new Gtk.Button(); this.stopButton.CanFocus = true; this.stopButton.Name = "stopButton"; this.stopButton.UseUnderline = true; // Container child stopButton.Gtk.Container+ContainerChild Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w14.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w15 = new Gtk.HBox(); w15.Name = "GtkHBox"; w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w16 = new Gtk.Image(); w16.Name = "image36"; w16.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-stop", 16); w15.Add(w16); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w18 = new Gtk.Label(); w18.Name = "GtkLabel"; w18.LabelProp = ""; w15.Add(w18); w14.Add(w15); this.stopButton.Add(w14); this.musicButtonBox.Add(this.stopButton); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.stopButton])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child musicButtonBox.Gtk.Box+BoxChild this.previousButton = new Gtk.Button(); this.previousButton.CanFocus = true; this.previousButton.Name = "previousButton"; this.previousButton.UseUnderline = true; // Container child previousButton.Gtk.Container+ContainerChild Gtk.Alignment w23 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w23.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w24 = new Gtk.HBox(); w24.Name = "GtkHBox"; w24.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w25 = new Gtk.Image(); w25.Name = "image37"; w25.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-prev", 16); w24.Add(w25); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w27 = new Gtk.Label(); w27.Name = "GtkLabel"; w27.LabelProp = ""; w24.Add(w27); w23.Add(w24); this.previousButton.Add(w23); this.musicButtonBox.Add(this.previousButton); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.previousButton])); w31.Position = 2; w31.Expand = false; w31.Fill = false; // Container child musicButtonBox.Gtk.Box+BoxChild this.nextButton = new Gtk.Button(); this.nextButton.CanFocus = true; this.nextButton.Name = "nextButton"; this.nextButton.UseUnderline = true; // Container child nextButton.Gtk.Container+ContainerChild Gtk.Alignment w32 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w32.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w33 = new Gtk.HBox(); w33.Name = "GtkHBox"; w33.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w34 = new Gtk.Image(); w34.Name = "image38"; w34.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-next", 16); w33.Add(w34); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w36 = new Gtk.Label(); w36.Name = "GtkLabel"; w36.LabelProp = ""; w33.Add(w36); w32.Add(w33); this.nextButton.Add(w32); this.musicButtonBox.Add(this.nextButton); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.nextButton])); w40.Position = 3; w40.Expand = false; w40.Fill = false; // Container child musicButtonBox.Gtk.Box+BoxChild this.rewindButton = new Gtk.Button(); this.rewindButton.CanFocus = true; this.rewindButton.Name = "rewindButton"; this.rewindButton.UseUnderline = true; // Container child rewindButton.Gtk.Container+ContainerChild Gtk.Alignment w41 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w41.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w42 = new Gtk.HBox(); w42.Name = "GtkHBox"; w42.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w43 = new Gtk.Image(); w43.Name = "image39"; w43.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-rew", 16); w42.Add(w43); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w45 = new Gtk.Label(); w45.Name = "GtkLabel"; w45.LabelProp = ""; w42.Add(w45); w41.Add(w42); this.rewindButton.Add(w41); this.musicButtonBox.Add(this.rewindButton); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.rewindButton])); w49.Position = 4; w49.Expand = false; w49.Fill = false; // Container child musicButtonBox.Gtk.Box+BoxChild this.fastfoward = new Gtk.Button(); this.fastfoward.CanFocus = true; this.fastfoward.Name = "fastfoward"; this.fastfoward.UseUnderline = true; // Container child fastfoward.Gtk.Container+ContainerChild Gtk.Alignment w50 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w50.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w51 = new Gtk.HBox(); w51.Name = "GtkHBox"; w51.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w52 = new Gtk.Image(); w52.Name = "image40"; w52.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-fwd", 16); w51.Add(w52); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w54 = new Gtk.Label(); w54.Name = "GtkLabel"; w54.LabelProp = ""; w51.Add(w54); w50.Add(w51); this.fastfoward.Add(w50); this.musicButtonBox.Add(this.fastfoward); Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.fastfoward])); w58.Position = 5; w58.Expand = false; w58.Fill = false; this.MainFixedWindow.Add(this.musicButtonBox); Gtk.Fixed.FixedChild w59 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.musicButtonBox])); w59.X = 127; w59.Y = 120; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.songProgressBar = new Gtk.ProgressBar(); this.songProgressBar.WidthRequest = 199; this.songProgressBar.Name = "songProgressBar"; this.songProgressBar.Text = Mono.Unix.Catalog.GetString("00:00 / 00:00"); this.MainFixedWindow.Add(this.songProgressBar); Gtk.Fixed.FixedChild w60 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.songProgressBar])); w60.X = 132; w60.Y = 90; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.volumeScale = new Gtk.HScale(null); this.volumeScale.WidthRequest = 80; this.volumeScale.CanFocus = true; this.volumeScale.Name = "volumeScale"; this.volumeScale.Adjustment.Upper = 1; this.volumeScale.Adjustment.PageIncrement = 0.5; this.volumeScale.Adjustment.StepIncrement = 0.1; this.volumeScale.Adjustment.Value = 1; this.volumeScale.DrawValue = false; this.volumeScale.Digits = 0; this.volumeScale.ValuePos = ((Gtk.PositionType)(2)); this.MainFixedWindow.Add(this.volumeScale); Gtk.Fixed.FixedChild w61 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.volumeScale])); w61.X = 3; w61.Y = 126; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.muteButton = new Gtk.Button(); this.muteButton.CanFocus = true; this.muteButton.Name = "muteButton"; this.muteButton.UseUnderline = true; // Container child muteButton.Gtk.Container+ContainerChild Gtk.Alignment w62 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w62.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w63 = new Gtk.HBox(); w63.Name = "GtkHBox"; w63.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w64 = new Gtk.Image(); w64.Name = "image41"; w64.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-cancel", 16); w63.Add(w64); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w66 = new Gtk.Label(); w66.Name = "GtkLabel"; w66.LabelProp = ""; w63.Add(w66); w62.Add(w63); this.muteButton.Add(w62); this.MainFixedWindow.Add(this.muteButton); Gtk.Fixed.FixedChild w70 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.muteButton])); w70.X = 90; w70.Y = 120; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.volumeButton = new Gtk.Button(); this.volumeButton.CanFocus = true; this.volumeButton.Name = "volumeButton"; this.volumeButton.UseUnderline = true; // Container child volumeButton.Gtk.Container+ContainerChild Gtk.Alignment w71 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w71.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w72 = new Gtk.HBox(); w72.Name = "GtkHBox"; w72.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w73 = new Gtk.Image(); w73.Name = "image42"; w73.Pixbuf = Stetic.IconLoader.LoadIcon("stock_volume", 16); w72.Add(w73); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w75 = new Gtk.Label(); w75.Name = "GtkLabel"; w75.LabelProp = ""; w72.Add(w75); w71.Add(w72); this.volumeButton.Add(w71); this.MainFixedWindow.Add(this.volumeButton); Gtk.Fixed.FixedChild w79 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.volumeButton])); w79.X = 90; w79.Y = 120; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.npSong = new Gtk.Label(); this.npSong.Name = "npSong"; this.npSong.LabelProp = Mono.Unix.Catalog.GetString("Stopped"); this.npSong.UseMarkup = true; this.MainFixedWindow.Add(this.npSong); Gtk.Fixed.FixedChild w80 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.npSong])); w80.X = 115; w80.Y = 35; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.npByFrom = new Gtk.Label(); this.npByFrom.WidthRequest = 231; this.npByFrom.Name = "npByFrom"; this.npByFrom.LabelProp = Mono.Unix.Catalog.GetString(" "); this.npByFrom.UseMarkup = true; this.npByFrom.Wrap = true; this.MainFixedWindow.Add(this.npByFrom); Gtk.Fixed.FixedChild w81 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.npByFrom])); w81.X = 121; w81.Y = 49; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.albumCoverImage = new Gtk.Image(); this.albumCoverImage.Name = "albumCoverImage"; this.albumCoverImage.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-cdrom", 48); this.MainFixedWindow.Add(this.albumCoverImage); Gtk.Fixed.FixedChild w82 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.albumCoverImage])); w82.X = 24; w82.Y = 62; // Container child MainFixedWindow.Gtk.Fixed+FixedChild this.tabbedNotebook = new Gtk.Notebook(); this.tabbedNotebook.CanFocus = true; this.tabbedNotebook.Name = "tabbedNotebook"; this.tabbedNotebook.CurrentPage = 1; this.tabbedNotebook.Scrollable = true; // Container child tabbedNotebook.Gtk.Notebook+NotebookChild this.searchVertBox = new Gtk.VBox(); this.searchVertBox.Name = "searchVertBox"; this.searchVertBox.Spacing = 6; // Container child searchVertBox.Gtk.Box+BoxChild this.searchTopHorBox = new Gtk.HBox(); this.searchTopHorBox.Name = "searchTopHorBox"; this.searchTopHorBox.Spacing = 6; this.searchTopHorBox.BorderWidth = ((uint)(4)); // Container child searchTopHorBox.Gtk.Box+BoxChild this.searchSelectionType = Gtk.ComboBox.NewText(); this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Song")); this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Artist")); this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Album")); this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Track #")); this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Year")); this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Genre")); this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Filename")); this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("All Fields")); this.searchSelectionType.WidthRequest = 75; this.searchSelectionType.Name = "searchSelectionType"; this.searchSelectionType.Active = 7; this.searchTopHorBox.Add(this.searchSelectionType); Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.searchTopHorBox[this.searchSelectionType])); w83.Position = 0; w83.Expand = false; w83.Fill = false; // Container child searchTopHorBox.Gtk.Box+BoxChild this.searchEntry = new Gtk.Entry(); this.searchEntry.WidthRequest = 246; this.searchEntry.HeightRequest = 23; this.searchEntry.HasDefault = true; this.searchEntry.CanFocus = true; this.searchEntry.Name = "searchEntry"; this.searchEntry.IsEditable = true; this.searchEntry.InvisibleChar = '●'; this.searchTopHorBox.Add(this.searchEntry); Gtk.Box.BoxChild w84 = ((Gtk.Box.BoxChild)(this.searchTopHorBox[this.searchEntry])); w84.Position = 1; this.searchVertBox.Add(this.searchTopHorBox); Gtk.Box.BoxChild w85 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchTopHorBox])); w85.Position = 0; w85.Expand = false; w85.Fill = false; // Container child searchVertBox.Gtk.Box+BoxChild this.searchList = new Gtk.ScrolledWindow(); this.searchList.WidthRequest = 329; this.searchList.HeightRequest = 358; this.searchList.CanFocus = true; this.searchList.Name = "searchList"; this.searchList.HscrollbarPolicy = ((Gtk.PolicyType)(2)); this.searchList.ShadowType = ((Gtk.ShadowType)(1)); // Container child searchList.Gtk.Container+ContainerChild this.songListTree = new Gtk.TreeView(); this.songListTree.CanFocus = true; this.songListTree.Name = "songListTree"; this.songListTree.Reorderable = true; this.searchList.Add(this.songListTree); this.searchVertBox.Add(this.searchList); Gtk.Box.BoxChild w87 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchList])); w87.Position = 1; // Container child searchVertBox.Gtk.Box+BoxChild this.searchBottomHorizonalBox = new Gtk.HBox(); this.searchBottomHorizonalBox.Name = "searchBottomHorizonalBox"; this.searchBottomHorizonalBox.Spacing = 6; this.searchBottomHorizonalBox.BorderWidth = ((uint)(2)); // Container child searchBottomHorizonalBox.Gtk.Box+BoxChild this.searchAddButton = new Gtk.Button(); this.searchAddButton.CanFocus = true; this.searchAddButton.Name = "searchAddButton"; this.searchAddButton.UseUnderline = true; // Container child searchAddButton.Gtk.Container+ContainerChild Gtk.Alignment w88 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w88.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w89 = new Gtk.HBox(); w89.Name = "GtkHBox"; w89.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w90 = new Gtk.Image(); w90.Name = "image43"; w90.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-add", 16); w89.Add(w90); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w92 = new Gtk.Label(); w92.Name = "GtkLabel"; w92.LabelProp = Mono.Unix.Catalog.GetString("Add"); w92.UseUnderline = true; w89.Add(w92); w88.Add(w89); this.searchAddButton.Add(w88); this.searchBottomHorizonalBox.Add(this.searchAddButton); Gtk.Box.BoxChild w96 = ((Gtk.Box.BoxChild)(this.searchBottomHorizonalBox[this.searchAddButton])); w96.Position = 2; w96.Expand = false; w96.Fill = false; this.searchVertBox.Add(this.searchBottomHorizonalBox); Gtk.Box.BoxChild w97 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchBottomHorizonalBox])); w97.Position = 2; w97.Expand = false; w97.Fill = false; this.tabbedNotebook.Add(this.searchVertBox); Gtk.Notebook.NotebookChild w98 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.searchVertBox])); w98.TabExpand = false; // Notebook tab this.searchMainLabel = new Gtk.Label(); this.searchMainLabel.WidthRequest = 100; this.searchMainLabel.Name = "searchMainLabel"; this.searchMainLabel.LabelProp = Mono.Unix.Catalog.GetString("Collection"); this.tabbedNotebook.SetTabLabel(this.searchVertBox, this.searchMainLabel); // Container child tabbedNotebook.Gtk.Notebook+NotebookChild this.queueVertBox = new Gtk.VBox(); this.queueVertBox.Name = "queueVertBox"; this.queueVertBox.Spacing = 9; this.queueVertBox.BorderWidth = ((uint)(3)); // Container child queueVertBox.Gtk.Box+BoxChild this.queueScrolledList = new Gtk.ScrolledWindow(); this.queueScrolledList.CanFocus = true; this.queueScrolledList.Name = "queueScrolledList"; this.queueScrolledList.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.queueScrolledList.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.queueScrolledList.ShadowType = ((Gtk.ShadowType)(1)); // Container child queueScrolledList.Gtk.Container+ContainerChild this.queueTreeView = new Gtk.TreeView(); this.queueTreeView.CanFocus = true; this.queueTreeView.Name = "queueTreeView"; this.queueScrolledList.Add(this.queueTreeView); this.queueVertBox.Add(this.queueScrolledList); Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.queueVertBox[this.queueScrolledList])); w100.Position = 0; // Container child queueVertBox.Gtk.Box+BoxChild this.queueBottomHorBox = new Gtk.HBox(); this.queueBottomHorBox.Name = "queueBottomHorBox"; this.queueBottomHorBox.Spacing = 6; // Container child queueBottomHorBox.Gtk.Box+BoxChild this.queueNewPlaylist = new Gtk.Button(); this.queueNewPlaylist.CanFocus = true; this.queueNewPlaylist.Name = "queueNewPlaylist"; // Container child queueNewPlaylist.Gtk.Container+ContainerChild Gtk.Alignment w101 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w101.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w102 = new Gtk.HBox(); w102.Name = "GtkHBox"; w102.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w103 = new Gtk.Image(); w103.Name = "image44"; w103.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-file", 16); w102.Add(w103); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w105 = new Gtk.Label(); w105.Name = "GtkLabel"; w105.LabelProp = ""; w102.Add(w105); w101.Add(w102); this.queueNewPlaylist.Add(w101); this.queueBottomHorBox.Add(this.queueNewPlaylist); Gtk.Box.BoxChild w109 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueNewPlaylist])); w109.Position = 0; w109.Expand = false; w109.Fill = false; // Container child queueBottomHorBox.Gtk.Box+BoxChild this.queueDeleteButton = new Gtk.Button(); this.queueDeleteButton.CanFocus = true; this.queueDeleteButton.Name = "queueDeleteButton"; this.queueDeleteButton.UseUnderline = true; // Container child queueDeleteButton.Gtk.Container+ContainerChild Gtk.Alignment w110 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w110.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w111 = new Gtk.HBox(); w111.Name = "GtkHBox"; w111.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w112 = new Gtk.Image(); w112.Name = "image45"; w112.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-delete", 16); w111.Add(w112); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w114 = new Gtk.Label(); w114.Name = "GtkLabel"; w114.LabelProp = ""; w111.Add(w114); w110.Add(w111); this.queueDeleteButton.Add(w110); this.queueBottomHorBox.Add(this.queueDeleteButton); Gtk.Box.BoxChild w118 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueDeleteButton])); w118.Position = 1; w118.Expand = false; w118.Fill = false; // Container child queueBottomHorBox.Gtk.Box+BoxChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Playlist Name"); this.queueBottomHorBox.Add(this.label4); Gtk.Box.BoxChild w119 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.label4])); w119.Position = 2; w119.Expand = false; w119.Fill = false; // Container child queueBottomHorBox.Gtk.Box+BoxChild this.queueEntryBox = new Gtk.Entry(); this.queueEntryBox.WidthRequest = 3; this.queueEntryBox.CanFocus = true; this.queueEntryBox.Name = "queueEntryBox"; this.queueEntryBox.IsEditable = true; this.queueEntryBox.InvisibleChar = '●'; this.queueBottomHorBox.Add(this.queueEntryBox); Gtk.Box.BoxChild w120 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueEntryBox])); w120.Position = 3; // Container child queueBottomHorBox.Gtk.Box+BoxChild this.queueSaveButton = new Gtk.Button(); this.queueSaveButton.CanFocus = true; this.queueSaveButton.Name = "queueSaveButton"; this.queueSaveButton.UseUnderline = true; this.queueSaveButton.Label = Mono.Unix.Catalog.GetString("Save"); this.queueBottomHorBox.Add(this.queueSaveButton); Gtk.Box.BoxChild w121 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueSaveButton])); w121.Position = 4; w121.Expand = false; w121.Fill = false; this.queueVertBox.Add(this.queueBottomHorBox); Gtk.Box.BoxChild w122 = ((Gtk.Box.BoxChild)(this.queueVertBox[this.queueBottomHorBox])); w122.Position = 1; w122.Expand = false; w122.Fill = false; this.tabbedNotebook.Add(this.queueVertBox); Gtk.Notebook.NotebookChild w123 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.queueVertBox])); w123.Position = 1; w123.TabExpand = false; // Notebook tab this.queueMainLabel = new Gtk.Label(); this.queueMainLabel.WidthRequest = 100; this.queueMainLabel.Name = "queueMainLabel"; this.queueMainLabel.LabelProp = Mono.Unix.Catalog.GetString("Current Songs"); this.tabbedNotebook.SetTabLabel(this.queueVertBox, this.queueMainLabel); // Container child tabbedNotebook.Gtk.Notebook+NotebookChild this.playlistVertBox = new Gtk.VBox(); this.playlistVertBox.Name = "playlistVertBox"; this.playlistVertBox.Spacing = 6; this.playlistVertBox.BorderWidth = ((uint)(3)); // Container child playlistVertBox.Gtk.Box+BoxChild this.playListScrolledWindow = new Gtk.ScrolledWindow(); this.playListScrolledWindow.CanFocus = true; this.playListScrolledWindow.Name = "playListScrolledWindow"; this.playListScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.playListScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.playListScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child playListScrolledWindow.Gtk.Container+ContainerChild this.playListTreeView = new Gtk.TreeView(); this.playListTreeView.CanFocus = true; this.playListTreeView.Name = "playListTreeView"; this.playListScrolledWindow.Add(this.playListTreeView); this.playlistVertBox.Add(this.playListScrolledWindow); Gtk.Box.BoxChild w125 = ((Gtk.Box.BoxChild)(this.playlistVertBox[this.playListScrolledWindow])); w125.Position = 0; // Container child playlistVertBox.Gtk.Box+BoxChild this.playListBottomBox = new Gtk.HBox(); this.playListBottomBox.Name = "playListBottomBox"; this.playListBottomBox.Spacing = 6; // Container child playListBottomBox.Gtk.Box+BoxChild this.playListNewButton = new Gtk.Button(); this.playListNewButton.CanFocus = true; this.playListNewButton.Name = "playListNewButton"; this.playListNewButton.UseUnderline = true; // Container child playListNewButton.Gtk.Container+ContainerChild Gtk.Alignment w126 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w126.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w127 = new Gtk.HBox(); w127.Name = "GtkHBox"; w127.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w128 = new Gtk.Image(); w128.Name = "image46"; w128.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-file", 16); w127.Add(w128); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w130 = new Gtk.Label(); w130.Name = "GtkLabel"; w130.LabelProp = Mono.Unix.Catalog.GetString("New"); w130.UseUnderline = true; w127.Add(w130); w126.Add(w127); this.playListNewButton.Add(w126); this.playListBottomBox.Add(this.playListNewButton); Gtk.Box.BoxChild w134 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListNewButton])); w134.Position = 0; w134.Expand = false; w134.Fill = false; // Container child playListBottomBox.Gtk.Box+BoxChild this.playListLoadButton = new Gtk.Button(); this.playListLoadButton.CanFocus = true; this.playListLoadButton.Name = "playListLoadButton"; this.playListLoadButton.UseUnderline = true; // Container child playListLoadButton.Gtk.Container+ContainerChild Gtk.Alignment w135 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w135.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w136 = new Gtk.HBox(); w136.Name = "GtkHBox"; w136.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w137 = new Gtk.Image(); w137.Name = "image47"; w137.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-directory", 16); w136.Add(w137); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w139 = new Gtk.Label(); w139.Name = "GtkLabel"; w139.LabelProp = Mono.Unix.Catalog.GetString("Load"); w139.UseUnderline = true; w136.Add(w139); w135.Add(w136); this.playListLoadButton.Add(w135); this.playListBottomBox.Add(this.playListLoadButton); Gtk.Box.BoxChild w143 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListLoadButton])); w143.Position = 1; w143.Expand = false; w143.Fill = false; // Container child playListBottomBox.Gtk.Box+BoxChild this.playlistRenameButton = new Gtk.Button(); this.playlistRenameButton.CanFocus = true; this.playlistRenameButton.Name = "playlistRenameButton"; this.playlistRenameButton.UseUnderline = true; // Container child playlistRenameButton.Gtk.Container+ContainerChild Gtk.Alignment w144 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w144.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w145 = new Gtk.HBox(); w145.Name = "GtkHBox"; w145.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w146 = new Gtk.Image(); w146.Name = "image48"; w146.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-edit", 16); w145.Add(w146); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w148 = new Gtk.Label(); w148.Name = "GtkLabel"; w148.LabelProp = Mono.Unix.Catalog.GetString("Edit"); w148.UseUnderline = true; w145.Add(w148); w144.Add(w145); this.playlistRenameButton.Add(w144); this.playListBottomBox.Add(this.playlistRenameButton); Gtk.Box.BoxChild w152 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playlistRenameButton])); w152.Position = 2; w152.Expand = false; w152.Fill = false; // Container child playListBottomBox.Gtk.Box+BoxChild this.playListDeleteButton = new Gtk.Button(); this.playListDeleteButton.CanFocus = true; this.playListDeleteButton.Name = "playListDeleteButton"; this.playListDeleteButton.UseUnderline = true; // Container child playListDeleteButton.Gtk.Container+ContainerChild Gtk.Alignment w153 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w153.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w154 = new Gtk.HBox(); w154.Name = "GtkHBox"; w154.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w155 = new Gtk.Image(); w155.Name = "image49"; w155.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-delete", 16); w154.Add(w155); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w157 = new Gtk.Label(); w157.Name = "GtkLabel"; w157.LabelProp = Mono.Unix.Catalog.GetString("Delete"); w157.UseUnderline = true; w154.Add(w157); w153.Add(w154); this.playListDeleteButton.Add(w153); this.playListBottomBox.Add(this.playListDeleteButton); Gtk.Box.BoxChild w161 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListDeleteButton])); w161.Position = 3; w161.Expand = false; w161.Fill = false; this.playlistVertBox.Add(this.playListBottomBox); Gtk.Box.BoxChild w162 = ((Gtk.Box.BoxChild)(this.playlistVertBox[this.playListBottomBox])); w162.PackType = ((Gtk.PackType)(1)); w162.Position = 1; w162.Expand = false; w162.Fill = false; this.tabbedNotebook.Add(this.playlistVertBox); Gtk.Notebook.NotebookChild w163 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.playlistVertBox])); w163.Position = 2; w163.TabExpand = false; // Notebook tab this.playListMainLabel = new Gtk.Label(); this.playListMainLabel.WidthRequest = 100; this.playListMainLabel.Name = "playListMainLabel"; this.playListMainLabel.LabelProp = Mono.Unix.Catalog.GetString("Playlists"); this.tabbedNotebook.SetTabLabel(this.playlistVertBox, this.playListMainLabel); this.MainFixedWindow.Add(this.tabbedNotebook); Gtk.Fixed.FixedChild w164 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.tabbedNotebook])); w164.X = 10; w164.Y = 159; this.Add(this.MainFixedWindow); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 562; this.DefaultHeight = 662; this.muteButton.Hide(); this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.AddFolder.Activated += new System.EventHandler(this.OnAddFolderActivated); this.NewCollection.Activated += new System.EventHandler(this.OnNewCollectionActivated); this.Preferences.Activated += new System.EventHandler(this.OnPreferencesActivated); this.Exit1.Activated += new System.EventHandler(this.OnExit1Activated); this.AddFile.Activated += new System.EventHandler(this.OnAddFileActivated); this.About3.Activated += new System.EventHandler(this.OnAbout3Activated); this.playButton.Clicked += new System.EventHandler(this.OnPlayButtonClicked); this.stopButton.Clicked += new System.EventHandler(this.OnStopButtonClicked); this.previousButton.Clicked += new System.EventHandler(this.OnPreviousButtonClicked); this.nextButton.Clicked += new System.EventHandler(this.OnNextButtonClicked); this.rewindButton.Clicked += new System.EventHandler(this.OnRewindClicked); this.fastfoward.Clicked += new System.EventHandler(this.OnFastfowardClicked); this.volumeScale.ValueChanged += new System.EventHandler(this.OnVolumeScaleValueChanged); this.muteButton.Clicked += new System.EventHandler(this.OnMuteButtonClicked); this.volumeButton.Clicked += new System.EventHandler(this.OnVolumeButtonClicked); this.searchAddButton.Clicked += new System.EventHandler(this.OnSearchAddButtonClicked); this.queueNewPlaylist.Clicked += new System.EventHandler(this.OnQueueNewPlaylistClicked); this.queueDeleteButton.Clicked += new System.EventHandler(this.OnQueueDeleteButtonClicked); this.queueSaveButton.Clicked += new System.EventHandler(this.OnQueueSaveButtonClicked); this.playListNewButton.Clicked += new System.EventHandler(this.OnPlayListNewButtonClicked); this.playListLoadButton.Clicked += new System.EventHandler(this.OnPlayListLoadButtonClicked); this.playListDeleteButton.Clicked += new System.EventHandler(this.OnPlayListDeleteButtonClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget tryServer.frmSettings this.WidthRequest = 380; this.HeightRequest = 450; this.Events = ((Gdk.EventMask)(256)); this.Name = "tryServer.frmSettings"; this.Title = Mono.Unix.Catalog.GetString("Settings"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.HasSeparator = false; // Internal child tryServer.frmSettings.VBox Gtk.VBox w1 = this.VBox; w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog_VBox.Gtk.Box+BoxChild this.fixed1 = new Gtk.Fixed(); this.fixed1.HeightRequest = 390; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Server"); this.fixed1.Add(this.label4); Gtk.Fixed.FixedChild w2 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label4])); w2.X = 135; w2.Y = 40; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Port"); this.fixed1.Add(this.label5); Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label5])); w3.X = 135; w3.Y = 80; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("File"); this.fixed1.Add(this.label6); Gtk.Fixed.FixedChild w4 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label6])); w4.X = 135; w4.Y = 120; // Container child fixed1.Gtk.Fixed+FixedChild this.image52 = new Gtk.Image(); this.image52.Name = "image52"; this.image52.Pixbuf = Gdk.Pixbuf.LoadFromResource("_database.png"); this.fixed1.Add(this.image52); Gtk.Fixed.FixedChild w5 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.image52])); w5.X = 35; w5.Y = 58; // Container child fixed1.Gtk.Fixed+FixedChild this.image53 = new Gtk.Image(); this.image53.Name = "image53"; this.image53.Pixbuf = Gdk.Pixbuf.LoadFromResource("password.png"); this.fixed1.Add(this.image53); Gtk.Fixed.FixedChild w6 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.image53])); w6.X = 35; w6.Y = 174; // Container child fixed1.Gtk.Fixed+FixedChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.WidthRequest = 380; this.hseparator1.Name = "hseparator1"; this.fixed1.Add(this.hseparator1); Gtk.Fixed.FixedChild w7 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hseparator1])); w7.X = 12; w7.Y = 151; // Container child fixed1.Gtk.Fixed+FixedChild this.txtServer = new Gtk.Entry(); this.txtServer.CanFocus = true; this.txtServer.Name = "txtServer"; this.txtServer.IsEditable = true; this.txtServer.InvisibleChar = '●'; this.fixed1.Add(this.txtServer); Gtk.Fixed.FixedChild w8 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.txtServer])); w8.X = 215; w8.Y = 35; // Container child fixed1.Gtk.Fixed+FixedChild this.txtPort = new Gtk.Entry(); this.txtPort.CanFocus = true; this.txtPort.Name = "txtPort"; this.txtPort.IsEditable = true; this.txtPort.InvisibleChar = '●'; this.fixed1.Add(this.txtPort); Gtk.Fixed.FixedChild w9 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.txtPort])); w9.X = 215; w9.Y = 75; // Container child fixed1.Gtk.Fixed+FixedChild this.txtFile = new Gtk.Entry(); this.txtFile.CanFocus = true; this.txtFile.Name = "txtFile"; this.txtFile.IsEditable = true; this.txtFile.InvisibleChar = '●'; this.fixed1.Add(this.txtFile); Gtk.Fixed.FixedChild w10 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.txtFile])); w10.X = 215; w10.Y = 115; // Container child fixed1.Gtk.Fixed+FixedChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("User"); this.fixed1.Add(this.label7); Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label7])); w11.X = 135; w11.Y = 175; // Container child fixed1.Gtk.Fixed+FixedChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Password"); this.fixed1.Add(this.label8); Gtk.Fixed.FixedChild w12 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label8])); w12.X = 135; w12.Y = 220; // Container child fixed1.Gtk.Fixed+FixedChild this.txtUser = new Gtk.Entry(); this.txtUser.CanFocus = true; this.txtUser.Name = "txtUser"; this.txtUser.IsEditable = true; this.txtUser.InvisibleChar = '●'; this.fixed1.Add(this.txtUser); Gtk.Fixed.FixedChild w13 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.txtUser])); w13.X = 215; w13.Y = 170; // Container child fixed1.Gtk.Fixed+FixedChild this.txtPassword = new Gtk.Entry(); this.txtPassword.CanFocus = true; this.txtPassword.Name = "txtPassword"; this.txtPassword.IsEditable = true; this.txtPassword.Visibility = false; this.txtPassword.InvisibleChar = '●'; this.fixed1.Add(this.txtPassword); Gtk.Fixed.FixedChild w14 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.txtPassword])); w14.X = 215; w14.Y = 210; // Container child fixed1.Gtk.Fixed+FixedChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Add users"); this.fixed1.Add(this.label10); Gtk.Fixed.FixedChild w15 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label10])); w15.X = 21; w15.Y = 340; // Container child fixed1.Gtk.Fixed+FixedChild this.btnUsers = new Gtk.Button(); this.btnUsers.CanFocus = true; this.btnUsers.Name = "btnUsers"; this.btnUsers.UseUnderline = true; // Container child btnUsers.Gtk.Container+ContainerChild Gtk.Alignment w16 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w16.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w17 = new Gtk.HBox(); w17.Name = "GtkHBox"; w17.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w18 = new Gtk.Image(); w18.Name = "image4"; w18.Pixbuf = Gdk.Pixbuf.LoadFromResource("users.png"); w17.Add(w18); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w20 = new Gtk.Label(); w20.Name = "GtkLabel"; w20.LabelProp = ""; w17.Add(w20); w16.Add(w17); this.btnUsers.Add(w16); this.fixed1.Add(this.btnUsers); Gtk.Fixed.FixedChild w24 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.btnUsers])); w24.X = 28; w24.Y = 277; // Container child fixed1.Gtk.Fixed+FixedChild this.hseparator2 = new Gtk.HSeparator(); this.hseparator2.WidthRequest = 370; this.hseparator2.Name = "hseparator2"; this.fixed1.Add(this.hseparator2); Gtk.Fixed.FixedChild w25 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hseparator2])); w25.X = 12; w25.Y = 251; // Container child fixed1.Gtk.Fixed+FixedChild this.txtFileUsers = new Gtk.Entry(); this.txtFileUsers.CanFocus = true; this.txtFileUsers.Name = "txtFileUsers"; this.txtFileUsers.IsEditable = true; this.txtFileUsers.InvisibleChar = '●'; this.fixed1.Add(this.txtFileUsers); Gtk.Fixed.FixedChild w26 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.txtFileUsers])); w26.X = 215; w26.Y = 295; // Container child fixed1.Gtk.Fixed+FixedChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("File"); this.fixed1.Add(this.label9); Gtk.Fixed.FixedChild w27 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label9])); w27.X = 133; w27.Y = 300; w1.Add(this.fixed1); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(w1[this.fixed1])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Internal child tryServer.frmSettings.ActionArea Gtk.HButtonBox w29 = this.ActionArea; w29.Events = ((Gdk.EventMask)(256)); w29.Name = "tryServer.frmSettings_ActionArea"; w29.Spacing = 6; w29.BorderWidth = ((uint)(5)); w29.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child tryServer.frmSettings_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.Ok = new Gtk.Button(); this.Ok.CanDefault = true; this.Ok.CanFocus = true; this.Ok.Name = "Ok"; this.Ok.UseUnderline = true; this.Ok.Label = Mono.Unix.Catalog.GetString("Ok"); this.AddActionWidget(this.Ok, 0); Gtk.ButtonBox.ButtonBoxChild w30 = ((Gtk.ButtonBox.ButtonBoxChild)(w29[this.Ok])); w30.Expand = false; w30.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 421; this.DefaultHeight = 479; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnUsers.Clicked += new System.EventHandler(this.OnBtnUsersClicked); this.Ok.Clicked += new System.EventHandler(this.OnButton30Clicked); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget tryServer.frmUsers this.Name = "tryServer.frmUsers"; this.Title = Mono.Unix.Catalog.GetString("Users"); this.Modal = true; this.DestroyWithParent = true; // Container child tryServer.frmUsers.Gtk.Container+ContainerChild this.fixed1 = new Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Instance"); this.fixed1.Add(this.label1); Gtk.Fixed.FixedChild w1 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w1.X = 210; w1.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("File"); this.fixed1.Add(this.label2); Gtk.Fixed.FixedChild w2 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w2.X = 210; w2.Y = 70; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("User"); this.fixed1.Add(this.label3); Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w3.X = 210; w3.Y = 130; // Container child fixed1.Gtk.Fixed+FixedChild this.lblFile = new Gtk.Entry(); this.lblFile.CanFocus = true; this.lblFile.Name = "lblFile"; this.lblFile.IsEditable = false; this.lblFile.InvisibleChar = '●'; this.fixed1.Add(this.lblFile); Gtk.Fixed.FixedChild w4 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.lblFile])); w4.X = 300; w4.Y = 65; // Container child fixed1.Gtk.Fixed+FixedChild this.txtUser = new Gtk.Entry(); this.txtUser.CanFocus = true; this.txtUser.Name = "txtUser"; this.txtUser.IsEditable = true; this.txtUser.InvisibleChar = '●'; this.fixed1.Add(this.txtUser); Gtk.Fixed.FixedChild w5 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.txtUser])); w5.X = 300; w5.Y = 125; // Container child fixed1.Gtk.Fixed+FixedChild this.image107 = new Gtk.Image(); this.image107.Name = "image107"; this.image107.Pixbuf = Gdk.Pixbuf.LoadFromResource("User.png"); this.fixed1.Add(this.image107); Gtk.Fixed.FixedChild w6 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.image107])); w6.X = 4; w6.Y = 32; // Container child fixed1.Gtk.Fixed+FixedChild this.lblServer = new Gtk.Entry(); this.lblServer.CanFocus = true; this.lblServer.Name = "lblServer"; this.lblServer.IsEditable = false; this.lblServer.InvisibleChar = '●'; this.fixed1.Add(this.lblServer); Gtk.Fixed.FixedChild w7 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.lblServer])); w7.X = 300; w7.Y = 25; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Password"); this.fixed1.Add(this.label4); Gtk.Fixed.FixedChild w8 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label4])); w8.X = 210; w8.Y = 170; // Container child fixed1.Gtk.Fixed+FixedChild this.txtPassword = new Gtk.Entry(); this.txtPassword.CanFocus = true; this.txtPassword.Name = "txtPassword"; this.txtPassword.IsEditable = true; this.txtPassword.Visibility = false; this.txtPassword.InvisibleChar = '●'; this.fixed1.Add(this.txtPassword); Gtk.Fixed.FixedChild w9 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.txtPassword])); w9.X = 300; w9.Y = 165; // Container child fixed1.Gtk.Fixed+FixedChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.WidthRequest = 300; this.hseparator1.Name = "hseparator1"; this.fixed1.Add(this.hseparator1); Gtk.Fixed.FixedChild w10 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hseparator1])); w10.X = 184; w10.Y = 102; // Container child fixed1.Gtk.Fixed+FixedChild this.btnCancel = new Gtk.Button(); this.btnCancel.WidthRequest = 80; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = Mono.Unix.Catalog.GetString("Cancel"); this.fixed1.Add(this.btnCancel); Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.btnCancel])); w11.X = 378; w11.Y = 244; // Container child fixed1.Gtk.Fixed+FixedChild this.btnOk = new Gtk.Button(); this.btnOk.WidthRequest = 80; this.btnOk.CanFocus = true; this.btnOk.Name = "btnOk"; this.btnOk.UseUnderline = true; this.btnOk.Label = Mono.Unix.Catalog.GetString("Ok"); this.fixed1.Add(this.btnOk); Gtk.Fixed.FixedChild w12 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.btnOk])); w12.X = 270; w12.Y = 245; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 506; this.DefaultHeight = 344; this.Show(); this.btnCancel.Clicked += new System.EventHandler(this.OnBtnCancelClicked); this.btnOk.Clicked += new System.EventHandler(this.OnBtnOkClicked); }
public static void SetWidgetPosition(Gtk.Fixed fixedCanvas, Gtk.Widget widget, Point position) { Gtk.Fixed.FixedChild child = Utils.static_cast <Gtk.Fixed.FixedChild>(fixedCanvas[widget]); child.X = position.X; child.Y = position.Y; }
public static Point GetWidgetPosition(Gtk.Fixed fixedCanvas, Gtk.Widget widget) { Gtk.Fixed.FixedChild child = Utils.static_cast <Gtk.Fixed.FixedChild>(fixedCanvas[widget]); return(new Point(child.X, child.Y)); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget Mp3.PreferencesWindow this.WidthRequest = 390; this.HeightRequest = 290; this.Name = "Mp3.PreferencesWindow"; this.Title = Mono.Unix.Catalog.GetString("Preferences"); this.Icon = Stetic.IconLoader.LoadIcon("gtk-preferences", 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Container child Mp3.PreferencesWindow.Gtk.Container+ContainerChild this.fixedLaytout = new Gtk.Fixed(); this.fixedLaytout.Name = "fixedLaytout"; this.fixedLaytout.HasWindow = false; // Container child fixedLaytout.Gtk.Fixed+FixedChild this.behaviorLabel = new Gtk.Label(); this.behaviorLabel.Name = "behaviorLabel"; this.behaviorLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Program Behavior</b>"); this.behaviorLabel.UseMarkup = true; this.behaviorLabel.Wrap = true; this.fixedLaytout.Add(this.behaviorLabel); Gtk.Fixed.FixedChild w1 = ((Gtk.Fixed.FixedChild)(this.fixedLaytout[this.behaviorLabel])); w1.X = 31; w1.Y = 31; // Container child fixedLaytout.Gtk.Fixed+FixedChild this.optionsVertBox = new Gtk.VBox(); this.optionsVertBox.Name = "optionsVertBox"; this.optionsVertBox.Spacing = 6; // Container child optionsVertBox.Gtk.Box+BoxChild this.behaviorButton1 = new Gtk.CheckButton(); this.behaviorButton1.CanFocus = true; this.behaviorButton1.Name = "behaviorButton1"; this.behaviorButton1.Label = Mono.Unix.Catalog.GetString("Show above all other windows"); this.behaviorButton1.DrawIndicator = true; this.behaviorButton1.UseUnderline = true; this.optionsVertBox.Add(this.behaviorButton1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child optionsVertBox.Gtk.Box+BoxChild this.behaviorButton2 = new Gtk.CheckButton(); this.behaviorButton2.CanFocus = true; this.behaviorButton2.Name = "behaviorButton2"; this.behaviorButton2.Label = Mono.Unix.Catalog.GetString("Continue playing last song after restarting"); this.behaviorButton2.DrawIndicator = true; this.behaviorButton2.UseUnderline = true; this.optionsVertBox.Add(this.behaviorButton2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton2])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child optionsVertBox.Gtk.Box+BoxChild this.behaviorButton3 = new Gtk.CheckButton(); this.behaviorButton3.CanFocus = true; this.behaviorButton3.Name = "behaviorButton3"; this.behaviorButton3.Label = Mono.Unix.Catalog.GetString("Minimize to tray"); this.behaviorButton3.DrawIndicator = true; this.behaviorButton3.UseUnderline = true; this.optionsVertBox.Add(this.behaviorButton3); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton3])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child optionsVertBox.Gtk.Box+BoxChild this.behaviorButton4 = new Gtk.CheckButton(); this.behaviorButton4.CanFocus = true; this.behaviorButton4.Name = "behaviorButton4"; this.behaviorButton4.Label = Mono.Unix.Catalog.GetString("Use custom library path"); this.behaviorButton4.DrawIndicator = true; this.behaviorButton4.UseUnderline = true; this.optionsVertBox.Add(this.behaviorButton4); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton4])); w5.Position = 3; w5.Expand = false; w5.Fill = false; // Container child optionsVertBox.Gtk.Box+BoxChild this.customLibraryBox = new Gtk.HBox(); this.customLibraryBox.Name = "customLibraryBox"; this.customLibraryBox.Spacing = 6; // Container child customLibraryBox.Gtk.Box+BoxChild this.entry1 = new Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.customLibraryBox.Add(this.entry1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.customLibraryBox[this.entry1])); w6.Position = 1; // Container child customLibraryBox.Gtk.Box+BoxChild this.button23 = new Gtk.Button(); this.button23.CanFocus = true; this.button23.Name = "button23"; this.button23.UseUnderline = true; this.button23.Label = Mono.Unix.Catalog.GetString("Browse"); this.customLibraryBox.Add(this.button23); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.customLibraryBox[this.button23])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.optionsVertBox.Add(this.customLibraryBox); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.customLibraryBox])); w8.Position = 4; w8.Expand = false; w8.Fill = false; // Container child optionsVertBox.Gtk.Box+BoxChild this.behaviorButton5 = new Gtk.CheckButton(); this.behaviorButton5.CanFocus = true; this.behaviorButton5.Name = "behaviorButton5"; this.behaviorButton5.Label = Mono.Unix.Catalog.GetString("Search for albums without cover art"); this.behaviorButton5.DrawIndicator = true; this.behaviorButton5.UseUnderline = true; this.optionsVertBox.Add(this.behaviorButton5); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton5])); w9.Position = 5; // Container child optionsVertBox.Gtk.Box+BoxChild this.behaviorButton6 = new Gtk.CheckButton(); this.behaviorButton6.CanFocus = true; this.behaviorButton6.Name = "behaviorButton6"; this.behaviorButton6.Label = Mono.Unix.Catalog.GetString("Search for song lyrics"); this.behaviorButton6.DrawIndicator = true; this.behaviorButton6.UseUnderline = true; this.optionsVertBox.Add(this.behaviorButton6); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.optionsVertBox[this.behaviorButton6])); w10.Position = 6; w10.Expand = false; w10.Fill = false; this.fixedLaytout.Add(this.optionsVertBox); Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixedLaytout[this.optionsVertBox])); w11.X = 28; w11.Y = 50; // Container child fixedLaytout.Gtk.Fixed+FixedChild this.preferencesLabel = new Gtk.Label(); this.preferencesLabel.Name = "preferencesLabel"; this.preferencesLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Preferences</b>"); this.preferencesLabel.UseMarkup = true; this.preferencesLabel.UseUnderline = true; this.fixedLaytout.Add(this.preferencesLabel); Gtk.Fixed.FixedChild w12 = ((Gtk.Fixed.FixedChild)(this.fixedLaytout[this.preferencesLabel])); w12.X = 18; w12.Y = 10; // Container child fixedLaytout.Gtk.Fixed+FixedChild this.buttonSelectionBox = new Gtk.HBox(); this.buttonSelectionBox.Name = "buttonSelectionBox"; this.buttonSelectionBox.Spacing = 6; // Container child buttonSelectionBox.Gtk.Box+BoxChild this.cancelButton = new Gtk.Button(); this.cancelButton.CanFocus = true; this.cancelButton.Name = "cancelButton"; this.cancelButton.UseUnderline = true; // Container child cancelButton.Gtk.Container+ContainerChild Gtk.Alignment w13 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w13.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w14 = new Gtk.HBox(); w14.Name = "GtkHBox"; w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w15 = new Gtk.Image(); w15.Name = "image50"; w15.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-cancel", 16); w14.Add(w15); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w17 = new Gtk.Label(); w17.Name = "GtkLabel"; w17.LabelProp = Mono.Unix.Catalog.GetString("Cancel"); w17.UseUnderline = true; w14.Add(w17); w13.Add(w14); this.cancelButton.Add(w13); this.buttonSelectionBox.Add(this.cancelButton); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.buttonSelectionBox[this.cancelButton])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child buttonSelectionBox.Gtk.Box+BoxChild this.okButton = new Gtk.Button(); this.okButton.CanFocus = true; this.okButton.Name = "okButton"; this.okButton.UseUnderline = true; // Container child okButton.Gtk.Container+ContainerChild Gtk.Alignment w22 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w22.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w23 = new Gtk.HBox(); w23.Name = "GtkHBox"; w23.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w24 = new Gtk.Image(); w24.Name = "image51"; w24.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-apply", 16); w23.Add(w24); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w26 = new Gtk.Label(); w26.Name = "GtkLabel"; w26.LabelProp = Mono.Unix.Catalog.GetString("OK"); w26.UseUnderline = true; w23.Add(w26); w22.Add(w23); this.okButton.Add(w22); this.buttonSelectionBox.Add(this.okButton); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.buttonSelectionBox[this.okButton])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.fixedLaytout.Add(this.buttonSelectionBox); Gtk.Fixed.FixedChild w31 = ((Gtk.Fixed.FixedChild)(this.fixedLaytout[this.buttonSelectionBox])); w31.X = 263; w31.Y = 259; this.Add(this.fixedLaytout); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 396; this.DefaultHeight = 321; this.Show(); this.cancelButton.Activated += new System.EventHandler(this.OnButton22Activated); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget TuxMate.PreferencesDialog this.Name = "TuxMate.PreferencesDialog"; this.Title = Mono.Unix.Catalog.GetString("TuxMate Preferences"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.HasSeparator = false; // Internal child TuxMate.PreferencesDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook3 = new Gtk.Notebook(); this.notebook3.CanFocus = true; this.notebook3.Name = "notebook3"; this.notebook3.CurrentPage = 0; // Container child notebook3.Gtk.Notebook+NotebookChild this.fixed1 = new Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("<b>Project Drawer</b>"); this.label8.UseMarkup = true; this.label8.Justify = ((Gtk.Justification)(1)); this.fixed1.Add(this.label8); Gtk.Fixed.FixedChild w2 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label8])); w2.X = 10; w2.Y = 110; // Container child fixed1.Gtk.Fixed+FixedChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("<b>Visual Ornaments</b>"); this.label7.UseMarkup = true; this.label7.Justify = ((Gtk.Justification)(1)); this.fixed1.Add(this.label7); Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.label7])); w3.X = 10; w3.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.showRightMarginIndicator = new Gtk.CheckButton(); this.showRightMarginIndicator.CanFocus = true; this.showRightMarginIndicator.Name = "showRightMarginIndicator"; this.showRightMarginIndicator.Label = Mono.Unix.Catalog.GetString("Show right margin indicator"); this.showRightMarginIndicator.DrawIndicator = true; this.showRightMarginIndicator.UseUnderline = true; this.fixed1.Add(this.showRightMarginIndicator); Gtk.Fixed.FixedChild w4 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.showRightMarginIndicator])); w4.X = 25; w4.Y = 55; // Container child fixed1.Gtk.Fixed+FixedChild this.highlightRightMargin = new Gtk.CheckButton(); this.highlightRightMargin.Sensitive = false; this.highlightRightMargin.CanFocus = true; this.highlightRightMargin.Name = "highlightRightMargin"; this.highlightRightMargin.Label = Mono.Unix.Catalog.GetString("Highlight right margin"); this.highlightRightMargin.DrawIndicator = true; this.highlightRightMargin.UseUnderline = true; this.fixed1.Add(this.highlightRightMargin); Gtk.Fixed.FixedChild w5 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.highlightRightMargin])); w5.X = 40; w5.Y = 75; // Container child fixed1.Gtk.Fixed+FixedChild this.highlightCurrentLine = new Gtk.CheckButton(); this.highlightCurrentLine.CanFocus = true; this.highlightCurrentLine.Name = "highlightCurrentLine"; this.highlightCurrentLine.Label = Mono.Unix.Catalog.GetString("Highlight current line"); this.highlightCurrentLine.DrawIndicator = true; this.highlightCurrentLine.UseUnderline = true; this.fixed1.Add(this.highlightCurrentLine); Gtk.Fixed.FixedChild w6 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.highlightCurrentLine])); w6.X = 25; w6.Y = 35; // Container child fixed1.Gtk.Fixed+FixedChild this.displayGroupsAndFoldersInBold = new Gtk.CheckButton(); this.displayGroupsAndFoldersInBold.CanFocus = true; this.displayGroupsAndFoldersInBold.Name = "displayGroupsAndFoldersInBold"; this.displayGroupsAndFoldersInBold.Label = Mono.Unix.Catalog.GetString("Display groups and folders in bold"); this.displayGroupsAndFoldersInBold.DrawIndicator = true; this.displayGroupsAndFoldersInBold.UseUnderline = true; this.fixed1.Add(this.displayGroupsAndFoldersInBold); Gtk.Fixed.FixedChild w7 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.displayGroupsAndFoldersInBold])); w7.X = 25; w7.Y = 135; this.notebook3.Add(this.fixed1); // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("General"); this.notebook3.SetTabLabel(this.fixed1, this.label3); this.label3.ShowAll(); // Container child notebook3.Gtk.Notebook+NotebookChild this.fixed2 = new Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.reindentPastedText = new Gtk.CheckButton(); this.reindentPastedText.CanFocus = true; this.reindentPastedText.Name = "reindentPastedText"; this.reindentPastedText.Label = Mono.Unix.Catalog.GetString("Re-indent pasted text"); this.reindentPastedText.Active = true; this.reindentPastedText.DrawIndicator = true; this.reindentPastedText.UseUnderline = true; this.fixed2.Add(this.reindentPastedText); Gtk.Fixed.FixedChild w9 = ((Gtk.Fixed.FixedChild)(this.fixed2[this.reindentPastedText])); w9.X = 10; w9.Y = 10; // Container child fixed2.Gtk.Fixed+FixedChild this.autopairCharacters = new Gtk.CheckButton(); this.autopairCharacters.CanFocus = true; this.autopairCharacters.Name = "autopairCharacters"; this.autopairCharacters.Label = Mono.Unix.Catalog.GetString("Auto-pair characters (quotes etc.)"); this.autopairCharacters.Active = true; this.autopairCharacters.DrawIndicator = true; this.autopairCharacters.UseUnderline = true; this.fixed2.Add(this.autopairCharacters); Gtk.Fixed.FixedChild w10 = ((Gtk.Fixed.FixedChild)(this.fixed2[this.autopairCharacters])); w10.X = 10; w10.Y = 30; this.notebook3.Add(this.fixed2); Gtk.Notebook.NotebookChild w11 = ((Gtk.Notebook.NotebookChild)(this.notebook3[this.fixed2])); w11.Position = 1; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Text Editing"); this.notebook3.SetTabLabel(this.fixed2, this.label4); this.label4.ShowAll(); // Container child notebook3.Gtk.Notebook+NotebookChild this.fixed3 = new Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; // Container child fixed3.Gtk.Fixed+FixedChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("<b>Font</b>"); this.label9.UseMarkup = true; this.fixed3.Add(this.label9); Gtk.Fixed.FixedChild w12 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label9])); w12.X = 10; w12.Y = 10; // Container child fixed3.Gtk.Fixed+FixedChild this.useSystemFont = new Gtk.CheckButton(); this.useSystemFont.CanFocus = true; this.useSystemFont.Name = "useSystemFont"; this.useSystemFont.Label = Mono.Unix.Catalog.GetString("Use the system fixed-width font"); this.useSystemFont.Active = true; this.useSystemFont.DrawIndicator = true; this.useSystemFont.UseUnderline = true; this.fixed3.Add(this.useSystemFont); Gtk.Fixed.FixedChild w13 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.useSystemFont])); w13.X = 25; w13.Y = 35; // Container child fixed3.Gtk.Fixed+FixedChild this.fontButton = new Gtk.FontButton(); this.fontButton.Sensitive = false; this.fontButton.CanFocus = true; this.fontButton.Name = "fontButton"; this.fontButton.FontName = "monospace 10"; this.fontButton.UseFont = true; this.fontButton.UseSize = true; this.fixed3.Add(this.fontButton); Gtk.Fixed.FixedChild w14 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.fontButton])); w14.X = 67; w14.Y = 60; // Container child fixed3.Gtk.Fixed+FixedChild this.fontLabel = new Gtk.Label(); this.fontLabel.Sensitive = false; this.fontLabel.Name = "fontLabel"; this.fontLabel.LabelProp = Mono.Unix.Catalog.GetString("Font:"); this.fixed3.Add(this.fontLabel); Gtk.Fixed.FixedChild w15 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.fontLabel])); w15.X = 25; w15.Y = 67; this.notebook3.Add(this.fixed3); Gtk.Notebook.NotebookChild w16 = ((Gtk.Notebook.NotebookChild)(this.notebook3[this.fixed3])); w16.Position = 2; // Notebook tab this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Fonts & Colors"); this.notebook3.SetTabLabel(this.fixed3, this.label5); this.label5.ShowAll(); // Container child notebook3.Gtk.Notebook+NotebookChild this.fixed4 = new Gtk.Fixed(); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; // Container child fixed4.Gtk.Fixed+FixedChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("File Encoding:"); this.fixed4.Add(this.label1); Gtk.Fixed.FixedChild w17 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label1])); w17.X = 10; w17.Y = 17; // Container child fixed4.Gtk.Fixed+FixedChild this.fileEncoding = Gtk.ComboBox.NewText(); this.fileEncoding.AppendText(Mono.Unix.Catalog.GetString("ISO-8859-1 (Latin 1)")); this.fileEncoding.AppendText(Mono.Unix.Catalog.GetString("ISO-8859-1 (Windows)")); this.fileEncoding.AppendText(Mono.Unix.Catalog.GetString("UTF-8 (recommended)")); this.fileEncoding.AppendText(Mono.Unix.Catalog.GetString("UTF-16")); this.fileEncoding.AppendText(Mono.Unix.Catalog.GetString("UTF-32")); this.fileEncoding.Name = "fileEncoding"; this.fileEncoding.Active = 2; this.fixed4.Add(this.fileEncoding); Gtk.Fixed.FixedChild w18 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.fileEncoding])); w18.X = 105; w18.Y = 10; // Container child fixed4.Gtk.Fixed+FixedChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Line Endings:"); this.fixed4.Add(this.label2); Gtk.Fixed.FixedChild w19 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label2])); w19.X = 14; w19.Y = 57; // Container child fixed4.Gtk.Fixed+FixedChild this.lineEndings = Gtk.ComboBox.NewText(); this.lineEndings.AppendText(Mono.Unix.Catalog.GetString("LF (recommended)")); this.lineEndings.AppendText(Mono.Unix.Catalog.GetString("CR (Mac OS Classic)")); this.lineEndings.AppendText(Mono.Unix.Catalog.GetString("CRLF (Windows)")); this.lineEndings.Name = "lineEndings"; this.lineEndings.Active = 0; this.fixed4.Add(this.lineEndings); Gtk.Fixed.FixedChild w20 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.lineEndings])); w20.X = 105; w20.Y = 50; this.notebook3.Add(this.fixed4); Gtk.Notebook.NotebookChild w21 = ((Gtk.Notebook.NotebookChild)(this.notebook3[this.fixed4])); w21.Position = 3; // Notebook tab this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Advanced"); this.notebook3.SetTabLabel(this.fixed4, this.label6); this.label6.ShowAll(); w1.Add(this.notebook3); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(w1[this.notebook3])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Internal child TuxMate.PreferencesDialog.ActionArea Gtk.HButtonBox w23 = this.ActionArea; w23.Name = "dialog1_ActionArea"; w23.Spacing = 6; w23.BorderWidth = ((uint)(5)); w23.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonClose = new Gtk.Button(); this.buttonClose.CanDefault = true; this.buttonClose.CanFocus = true; this.buttonClose.Name = "buttonClose"; this.buttonClose.UseStock = true; this.buttonClose.UseUnderline = true; this.buttonClose.Label = "gtk-close"; this.AddActionWidget(this.buttonClose, -7); Gtk.ButtonBox.ButtonBoxChild w24 = ((Gtk.ButtonBox.ButtonBoxChild)(w23[this.buttonClose])); w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 562; this.DefaultHeight = 483; this.Show(); this.showRightMarginIndicator.Clicked += new System.EventHandler(this.OnShowRightMarginIndicatorClicked); this.highlightRightMargin.Clicked += new System.EventHandler(this.OnHighlightRightMarginClicked); this.highlightCurrentLine.Clicked += new System.EventHandler(this.OnHighlightCurrentLineClicked); this.displayGroupsAndFoldersInBold.Clicked += new System.EventHandler(this.OnDisplayGroupsAndFoldersInBoldClicked); this.reindentPastedText.Clicked += new System.EventHandler(this.OnReindentPastedTextClicked); this.autopairCharacters.Clicked += new System.EventHandler(this.OnAutopairCharactersClicked); this.useSystemFont.Clicked += new System.EventHandler(this.OnUseSystemFontClicked); this.fontButton.FontSet += new System.EventHandler(this.OnFontButtonFontSet); this.fileEncoding.Changed += new System.EventHandler(this.OnFileEncodingChanged); this.lineEndings.Changed += new System.EventHandler(this.OnLineEndingsChanged); }