private void InitializeBaudRates(Gtk.ComboBox baudRates) { var viewModel = DataContext as SerialPortSelectorViewModel; _baudRateLabel.Text = SerialPortSelectorViewModel.BaudRateLabel; Gtk.CellRenderer cellRenderer = new Gtk.CellRendererCombo(); // { Xalign = 0, Xpad = 4 }; baudRates.PackStart(cellRenderer, false); ////baudRates.PackEnd(cellRenderer, true); baudRates.SetCellDataFunc(cellRenderer, (l, e, m, i) => VisualHelpers.CellTextRenderer <BaudRateViewModel>(l, e, m, i, c => c.BaudRate.ToString())); var baudRatesModel = new Gtk.ListStore(typeof(BaudRateViewModel)); baudRatesModel.SynchronizeCollection(viewModel.BaudRates); baudRates.Model = baudRatesModel; if (viewModel.DefaultBaudRate > 0) { var defaultBaudRate = viewModel.BaudRates.FirstOrDefault(b => b.BaudRate == viewModel.DefaultBaudRate); var activeItemIndex = viewModel.BaudRates.IndexOf(defaultBaudRate); baudRates.Active = activeItemIndex; } baudRates.Changed += HandleSelectedBaudRateChanged; INTV.Shared.ComponentModel.CommandManager.InvalidateRequerySuggested(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget PackageManager.Configuration Stetic.BinContainer.Attach(this); this.Name = "PackageManager.Configuration"; // Container child PackageManager.Configuration.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label = new Gtk.Label(); this.label.Name = "label"; this.label.Xalign = 0F; this.label.LabelProp = Mono.Unix.Catalog.GetString("label1"); this.vbox1.Add(this.label); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.label])); w1.Position = 1; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.combobox = Gtk.ComboBox.NewText(); this.combobox.Name = "combobox"; this.vbox1.Add(this.combobox); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.combobox])); w2.Position = 2; w2.Expand = false; w2.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ControlWrappers.BoundComboBox Stetic.BinContainer.Attach(this); this.Name = "ControlWrappers.BoundComboBox"; // Container child ControlWrappers.BoundComboBox.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.cbBound = Gtk.ComboBox.NewText(); this.cbBound.Name = "cbBound"; this.vbox3.Add(this.cbBound); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox3[this.cbBound])); w1.Position = 0; w1.Expand = false; w1.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.cbBound.Changed += new System.EventHandler(this.BoundComboValueChanged); }
/// <summary> /// A simple helper method that gets the values stored in a ListStore model in a Gtk.ComboBox. /// </summary> /// <typeparam name="T">The data type of the values in a column of the ComboBox's model data.</typeparam> /// <param name="comboBox">The <see cref="Gtk.ComboBox"/> whose values are desired.</param> /// <param name="columnIndex">Index of the column of the data in the model.</param> /// <returns>IList of values in the model.</returns> public static IList <T> GetValues <T>(this Gtk.ComboBox comboBox, int columnIndex) { var model = (Gtk.ListStore)comboBox.Model; var values = model.Cast <object[]>().Select(v => v[columnIndex]).Cast <T>().ToList(); return(values); }
public override void Dispose() { if (combo == null) { return; } combo.Changed -= OnActiveChanged; combo = null; if (addButton != null) { addButton.Clicked -= OnAddGroup; removeButton.Clicked -= OnRemoveGroup; } if (agroupEditor != null) { agroupEditor.SelectionChanged -= OnEditorSelectionChanged; agroupEditor = null; } if (!singleGroupMode) { ActionGroups = null; } base.Dispose(); }
public GtkSharpChoice(Widget shellobject, params object[] entries) : base(shellobject) { //note: this function is somewhat hacky to get stupid gtk combos to behave like we want //the question is if we can guarantee default width of combos are same evrywhere? int xborder; combobox = new Gtk.ComboBox(); //TODO: support adding objects GtkSharpDriver.InitWidget(combobox, shellobject); var c = combobox.Child; Gtk.Requisition req_r = c.SizeRequest(); Gtk.Requisition req_c = combobox.SizeRequest(); int btnwidth = req_c.Width - req_r.Width; xborder = req_c.Height - req_r.Height; c.SetSizeRequest(Guppy.DefaultEditWidth - xborder, -1); FitWidth(); combobox.Show(); }
Gtk.Widget IOptionsPanel.CreatePanelWidget() { Gtk.VBox cbox = new Gtk.VBox(false, 6); Gtk.HBox combosBox = new Gtk.HBox(false, 6); cbox.PackStart(combosBox, false, false, 0); combosBox.PackStart(new Gtk.Label(GettextCatalog.GetString("Configuration:")), false, false, 0); configCombo = Gtk.ComboBox.NewText(); combosBox.PackStart(configCombo, false, false, 0); combosBox.PackStart(new Gtk.Label(GettextCatalog.GetString("Platform:")), false, false, 0); platformCombo = Gtk.ComboBox.NewText(); combosBox.PackStart(platformCombo, false, false, 0); cbox.PackStart(new Gtk.HSeparator(), false, false, 0); cbox.ShowAll(); cbox.Hidden += OnPageHidden; cbox.Shown += OnPageShown; lastConfigSelection = -1; lastPlatformSelection = -1; FillConfigurations(); UpdateSelection(); configCombo.Changed += OnConfigChanged; platformCombo.Changed += OnConfigChanged; bool oldMixed = allowMixedConfigurations; Gtk.Widget child = CreatePanelWidget(); //HACK: work around bug 469427 - broken themes match on widget names if (child.Name.IndexOf("Panel") > 0) { child.Name = child.Name.Replace("Panel", "_"); } cbox.PackStart(child, true, true, 0); if (allowMixedConfigurations != oldMixed) { // If mixed mode has changed, update the configuration list FillConfigurations(); UpdateSelection(); } widgetCreated = true; panelWidget = child; if (currentConfigs.Count > 0) { panelWidget.Sensitive = true; LoadConfigData(); } else { panelWidget.Sensitive = false; } return(cbox); }
private void BuildFormatCombo() { string[] formats = new string[ Tacto.Core.Person.FormatNames.Count ]; Tacto.Core.Person.FormatNames.CopyTo( formats, 0 ); this.cbFormat = new Gtk.ComboBox( formats ); this.cbFormat.Active = 0; }
protected virtual void IfaceSelectionChanged(object sender, System.EventArgs e) { Gtk.ComboBox IfaceBox = (Gtk.ComboBox)sender; Gtk.TreeIter ti; IfaceBox.GetActiveIter(out ti); //column 2 holds the language "code" SelectedIfaceLang = (string)IfaceBox.Model.GetValue(ti, 2); }
protected void PopulateLineTypeList(Gtk.ComboBox ctrl, PrintLineType lineType = PrintLineType.None) { ctrl.AppendText("None"); ctrl.AppendText("Single"); ctrl.AppendText("Double"); ctrl.AppendText("Thick"); ctrl.Active = (int)lineType; }
public static new Gtk.ComboBox CreateInstance() { Gtk.ComboBox c = Gtk.ComboBox.NewText(); // Make sure all children are created, so the mouse events can be // bound and the widget can be selected. c.EnsureStyle(); return(c); }
public void ClearComboBox(Gtk.ComboBox ComboBoxX) { for (int x = 0; x < 4096; x++) { try { ComboBoxX.RemoveText(0); } // Try clearing current entry. catch (Exception E) { x = 4096; } // End the loop if exception. } }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.CoordinateWidget Stetic.BinContainer.Attach(this); this.Name = "ocmgtk.CoordinateWidget"; // Container child ocmgtk.CoordinateWidget.Gtk.Container+ContainerChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.directionCombo = Gtk.ComboBox.NewText(); this.directionCombo.WidthRequest = 50; this.directionCombo.Name = "directionCombo"; this.hbox5.Add(this.directionCombo); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox5[this.directionCombo])); w1.Position = 0; w1.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.degreeEntry = new Gtk.Entry(); this.degreeEntry.CanFocus = true; this.degreeEntry.Name = "degreeEntry"; this.degreeEntry.Text = "000"; this.degreeEntry.IsEditable = true; this.degreeEntry.WidthChars = 3; this.degreeEntry.MaxLength = 3; this.degreeEntry.InvisibleChar = '•'; this.hbox5.Add(this.degreeEntry); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox5[this.degreeEntry])); w2.Position = 1; w2.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("°"); this.hbox5.Add(this.label9); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox5[this.label9])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.minuteEntry = new Gtk.Entry(); this.minuteEntry.CanFocus = true; this.minuteEntry.Name = "minuteEntry"; this.minuteEntry.Text = "0.000"; this.minuteEntry.IsEditable = true; this.minuteEntry.InvisibleChar = '•'; this.hbox5.Add(this.minuteEntry); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox5[this.minuteEntry])); w4.Position = 3; this.Add(this.hbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
public override void Initialize() { Widget = new Gtk.ComboBox(); var cr = new Gtk.CellRendererText(); Widget.PackStart(cr, false); Widget.AddAttribute(cr, "text", 0); Widget.Show(); }
//TODO: dropdown menus for picking string substitutions. also substitutions for port, ip public clsDebuggerOptionsDialog() : base( "SSH Debug", MonoDevelop.Ide.MessageService.RootWindow, Gtk.DialogFlags.DestroyWithParent | Gtk.DialogFlags.Modal) { properties = PropertyService.Get("MonoDevelop.Debugger.Soft.SSHDebug", new Properties()); AddActionWidget(connectButton, connectResponse); AddActionWidget(newButton, newResponse); AddActionWidget(new Gtk.Button(Gtk.Stock.Cancel), Gtk.ResponseType.Cancel); var table = new Gtk.Table(1, 2, false); table.BorderWidth = 6; VBox.PackStart(table, true, true, 0); table.Attach(new Gtk.Label("Host") { Xalign = 0 }, 0, 1, 0, 1); var values = clsSSHDebuggerEngine.HostsList.Select(x => String.Format("{0} ({1})", x.Name, System.IO.Path.GetFileName(x.ScriptPath))).ToArray(); combo = new Gtk.ComboBox(values); int row = 0; if (clsSSHDebuggerEngine.HostsList.Count == 0) { connectButton.Sensitive = false; } else { var lastSelected = clsSSHDebuggerEngine.HostsList.Find(x => x.ScriptPath == properties.Get <string> ("host", "")); if (lastSelected != null) { row = clsSSHDebuggerEngine.HostsList.IndexOf(lastSelected); if (row == -1) { row = 0; } } Gtk.TreeIter iter; combo.Model.IterNthChild(out iter, row); combo.SetActiveIter(iter); SelectedHost = clsSSHDebuggerEngine.HostsList [combo.Active]; combo.Changed += (object sender, EventArgs e) => { SelectedHost = clsSSHDebuggerEngine.HostsList [combo.Active]; }; } table.Attach(combo, 1, 2, 0, 1); VBox.ShowAll(); }
static void EditingDone_cb(IntPtr inst) { try { Gtk.ComboBox __obj = GLib.Object.GetObject(inst, false) as Gtk.ComboBox; __obj.OnEditingDone(); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void WidgetRemoved_cb(IntPtr inst) { try { Gtk.ComboBox __obj = GLib.Object.GetObject(inst, false) as Gtk.ComboBox; __obj.OnWidgetRemoved(); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
protected void PopulateFieldList(Gtk.ComboBox ctrl, PrintFieldType fieldType = PrintFieldType.None) { ctrl.AppendText("None"); ctrl.AppendText("Title"); ctrl.AppendText("Page #"); ctrl.AppendText("Page # of #"); ctrl.AppendText("Artist"); ctrl.AppendText("Copyright"); ctrl.AppendText("CCLI"); ctrl.Active = (int)fieldType; }
protected virtual void cmbProviderChanged(object sender, System.EventArgs e) { Gtk.ComboBox ProviderBox = (Gtk.ComboBox)sender; Gtk.TreeIter ti; ProviderBox.GetActiveIter(out ti); SelectedProviderType = (string)ProviderBox.Model.GetValue(ti, 1); IPastebinProvider Pastebin = PastebinProviderFactory.GetProviderFromPreferences(); //fill treeview with supported codes FillSyntaxBox(Pastebin); }
/// <summary> /// Gets the active value from a combo box at the given column index. /// </summary> /// <typeparam name="T">Data type of the data in column zero.</typeparam> /// <param name="comboBox">Combo box whose active value is desired.</param> /// <param name="columnIndex">The column index from which to retrieve the value.</param> /// <param name="value">Receives the active value.</param> /// <returns><c>true</c>, if active value was gotten, <c>false</c> otherwise.</returns> public static bool GetActiveValue <T>(this Gtk.ComboBox comboBox, int columnIndex, out T value) { value = default(T); Gtk.TreeIter iter; var gotValue = comboBox.GetActiveIter(out iter); if (gotValue) { value = (T)comboBox.Model.GetValue(iter, columnIndex); } return(gotValue); }
public bool SearchCombobox(out Gtk.TreeIter ti, Gtk.ComboBox box, string val, int col) { box.Model.GetIterFirst(out ti); do { if ((string)box.Model.GetValue(ti, col) == val) { return(true); } } while (box.Model.IterNext(ref ti)); return(false); }
public static Gtk.ComboBox CreateInstance() { Gtk.ComboBox c = Gtk.ComboBox.NewText(); // Make sure all children are created, so the mouse events can be // bound and the widget can be selected. c.EnsureStyle(); try { FixSensitivity(c); } catch { } return(c); }
public void Run(IBrowsableCollection selection) { var builder = new GtkBeans.Builder(null, "gallery_export_dialog.ui", null); builder.Autoconnect(this); export_dialog = new Gtk.Dialog(builder.GetRawObject("gallery_export_dialog")); album_optionmenu = new Gtk.ComboBox(); (album_button.Parent as Gtk.HBox).PackStart(album_optionmenu); (album_button.Parent as Gtk.HBox).ReorderChild(album_optionmenu, 1); album_optionmenu.Show(); gallery_optionmenu = new Gtk.ComboBox(); (edit_button.Parent as Gtk.HBox).PackStart(gallery_optionmenu); (edit_button.Parent as Gtk.HBox).ReorderChild(gallery_optionmenu, 1); gallery_optionmenu.Show(); this.items = selection.Items.ToArray(); Array.Sort <IPhoto> (this.items, new IPhotoComparer.CompareDateName()); album_button.Sensitive = false; var view = new TrayView(selection); view.DisplayDates = false; view.DisplayTags = false; export_dialog.Modal = false; export_dialog.TransientFor = null; thumb_scrolledwindow.Add(view); view.Show(); export_dialog.Show(); GalleryAccountManager manager = GalleryAccountManager.GetInstance(); manager.AccountListChanged += PopulateGalleryOptionMenu; PopulateGalleryOptionMenu(manager, null); if (edit_button != null) { edit_button.Clicked += HandleEditGallery; } export_dialog.Response += HandleResponse; connect = true; HandleSizeActive(null, null); Connect(); LoadPreference(SCALE_KEY); LoadPreference(SIZE_KEY); LoadPreference(BROWSER_KEY); LoadPreference(META_KEY); }
public void FillInComboBox(Gtk.ComboBox NameCloneComboBox) { ClearComboBox(CmbBox_Item); Gtk.TreeIter TreeIteration; string SelectedText; for (int x = 0; x < NameCloneComboBox.Model.IterNChildren(); x++) { NameCloneComboBox.Model.IterNthChild(out TreeIteration, x); SelectedText = (string)NameCloneComboBox.Model.GetValue(TreeIteration, 0); CmbBox_Item.AppendText(SelectedText); } }
protected override void OnBuildToolBar(Gtk.Toolbar tb) { base.OnBuildToolBar(tb); Gtk.ComboBox dpbBox = dashPBox.SetupToolbar(tb); if (dpbBox != null) { dpbBox.Changed += (o, e) => { dashPattern = dpbBox.ActiveText; }; } }
private void InitializeComboBox <T>(Gtk.ComboBox comboBox, IEnumerable <T> values, T activeValue, Func <T, string> toDisplayString) { var cellRenderer = new Gtk.CellRendererCombo(); comboBox.PackStart(cellRenderer, true); comboBox.SetCellDataFunc(cellRenderer, (l, e, m, i) => VisualHelpers.CellEnumRenderer <T>(l, e, m, i, toDisplayString)); var model = new Gtk.ListStore(typeof(T)); model.SynchronizeCollection(new ObservableCollection <T>(values)); comboBox.Model = model; comboBox.Active = comboBox.GetIndexOfValue(activeValue); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.Gui.Widgets.ComboBoxWidget Stetic.BinContainer.Attach(this); this.Name = "Pinta.Gui.Widgets.ComboBoxWidget"; // Container child Pinta.Gui.Widgets.ComboBoxWidget.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label = new Gtk.Label(); this.label.Name = "label"; this.label.LabelProp = Mono.Unix.Catalog.GetString("label"); this.hbox1.Add(this.label); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.hbox1.Add(this.hseparator1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator1])); w2.Position = 1; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.combobox = Gtk.ComboBox.NewText(); this.combobox.Name = "combobox"; this.vbox2.Add(this.combobox); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.combobox])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
void Build() { Spacing = 6; //var heading = new Gtk.Label("<b>Rhino Options</b>"); //heading.UseMarkup = true; //heading.Xalign = 0; pluginTypeCombo = new Gtk.ComboBox(typeEntries); launcherCombo = new Gtk.ComboBox(currentLauncherEntries); customLauncherEntry = new Gtk.Entry(); customLauncherEntry.Changed += (sender, e) => SetBundleVersionLabel(); var optionsBox = new Gtk.HBox(); autodetectedTypeLabel = new Gtk.Label(); bundleInformationLabel = new Gtk.Label(); // layout //PackStart(heading, false, false, 0); var table = new Gtk.Table(4, 2, false); table.RowSpacing = 6; table.ColumnSpacing = 6; AddRow(table, 0, "Plugin Type:", AutoSized(6, pluginTypeCombo, autodetectedTypeLabel)); AddRow(table, 1, "Launcher:", AutoSized(6, launcherCombo)); AddRow(table, 2, "", customLauncherEntry); // add browse button? AddRow(table, 3, "", AutoSized(0, bundleInformationLabel)); // indent optionsBox.PackStart(new Gtk.Label { WidthRequest = 18 }, false, false, 0); optionsBox.PackStart(table, true, true, 0); PackStart(optionsBox, true, true, 0); ShowAll(); }
private void CloneToPosition() { PassedInComboBox = PassedInWindow.GetComboBoxItemControl(); // Get the current Data here GUIObjectScreen GUIScreen = new GUIObjectScreen(); GUIScreen = PassedInWindow.GetObjectScreen(); PassedInWindow.ComboBoxInvokerX = "null"; PassedInComboBox.Active = CmbBox_Item.Active; // Set active in child window to active in clone window. PassedInWindow.ComboBoxObjectLastItemX = CmbBox_Item.Active; // MUST BE HERE SUCH THAT NEW ENTRY SAVES. PassedInWindow.SetObjectScreen(GUIScreen.PositionX, GUIScreen.PositionY, GUIScreen.PositionZ, GUIScreen.RotationX, GUIScreen.RotationY, GUIScreen.RotationZ, GUIScreen.ObjectID, GUIScreen.ObjectList, GUIScreen.LinkingID, GUIScreen.LoadDistanceMultiplier, GUIScreen.PropertyID, GUIScreen.IgnoredValue1, GUIScreen.IgnoredValue2, GUIScreen.ObjectTeam1, GUIScreen.ObjectTeam2, GUIScreen.MysteryByte, GUIScreen.MysteryByte2, GUIScreen.MysteryFourBytes1, GUIScreen.MysteryFourBytes2); PassedInWindow.ComboBoxInvokerX = "default"; }
//TODO: dropdown menus for picking string substitutions. also substitutions for port, ip public clsDebuggerOptionsDialog() : base("SSH Debug", MonoDevelop.Ide.MessageService.RootWindow, Gtk.DialogFlags.DestroyWithParent | Gtk.DialogFlags.Modal) { properties = PropertyService.Get ("MonoDevelop.Debugger.Soft.SSHDebug", new Properties()); AddActionWidget (connectButton, connectResponse); AddActionWidget (newButton, newResponse); AddActionWidget (new Gtk.Button (Gtk.Stock.Cancel), Gtk.ResponseType.Cancel); var table = new Gtk.Table (1, 2, false); table.BorderWidth = 6; VBox.PackStart (table, true, true, 0); table.Attach (new Gtk.Label ("Host") { Xalign = 0 }, 0, 1, 0, 1); var values = clsSSHDebuggerEngine.HostsList.Select (x => String.Format ("{0} ({1})", x.Name, System.IO.Path.GetFileName (x.ScriptPath))).ToArray (); combo = new Gtk.ComboBox (values); int row=0; if (clsSSHDebuggerEngine.HostsList.Count == 0) { connectButton.Sensitive = false; } else { var lastSelected = clsSSHDebuggerEngine.HostsList.Find (x => x.ScriptPath == properties.Get<string> ("host", "")); if (lastSelected != null) { row = clsSSHDebuggerEngine.HostsList.IndexOf (lastSelected); if (row == -1) row = 0; } Gtk.TreeIter iter; combo.Model.IterNthChild (out iter, row); combo.SetActiveIter (iter); SelectedHost = clsSSHDebuggerEngine.HostsList [combo.Active]; combo.Changed += (object sender, EventArgs e) => { SelectedHost = clsSSHDebuggerEngine.HostsList [combo.Active]; }; } table.Attach (combo, 1, 2, 0, 1); VBox.ShowAll (); }
void Initialize(ActionGroupDesignerFrontend frontend, Wrapper.ActionGroupCollection actionGroups, bool singleGroupMode) { this.frontend = frontend; this.singleGroupMode = singleGroupMode; IconSize = Gtk.IconSize.SmallToolbar; Orientation = Gtk.Orientation.Horizontal; ToolbarStyle = Gtk.ToolbarStyle.BothHoriz; combo = Gtk.ComboBox.NewText(); if (!singleGroupMode) { combo.Changed += OnActiveChanged; Gtk.ToolItem comboItem = new Gtk.ToolItem(); Gtk.HBox cbox = new Gtk.HBox(); cbox.PackStart(new Gtk.Label(Catalog.GetString("Action Group:") + " "), false, false, 3); cbox.PackStart(combo, true, true, 3); comboItem.Add(cbox); comboItem.ShowAll(); Insert(comboItem, -1); internalButtons.Add(comboItem); addButton = new Gtk.ToolButton(Gtk.Stock.Add); addButton.Clicked += OnAddGroup; Insert(addButton, -1); internalButtons.Add(addButton); removeButton = new Gtk.ToolButton(Gtk.Stock.Remove); removeButton.Clicked += OnRemoveGroup; Insert(removeButton, -1); internalButtons.Add(removeButton); ActionGroups = actionGroups; if (actionGroups != null && actionGroups.Count > 0) { combo.Active = 0; } } else { UpdateActionCommands(null); } ShowAll(); }
public ToolbarComboBox () { align = new Gtk.Alignment (0.5f, 0.5f, 1.0f, 0f); Add (align); align.LeftPadding = 3; align.RightPadding = 3; combo = new Gtk.ComboBox (); combo.Model = new Gtk.ListStore (typeof(string)); ctx = new Gtk.CellRendererText (); combo.PackStart (ctx, true); combo.AddAttribute (ctx, "text", 0); align.Add (combo); ShowAll (); }
public override Gtk.Widget CreatePanelWidget() { var vbox = new Gtk.VBox (); var hbox = new Gtk.HBox (); var label = new Gtk.Label (GettextCatalog.GetString ("DNX Output Verbosity:")); label.Xalign = 0; hbox.PackStart (label, false, false, 5); logLevelsComboBox = Gtk.ComboBox.NewText (); hbox.PackStart (logLevelsComboBox, true, true, 5); AddLogLevelsToComboBox (); vbox.PackStart (hbox, false, false, 0); vbox.ShowAll (); return vbox; }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.IndividualListComboBox Stetic.BinContainer.Attach(this); this.Name = "Gedcom.UI.GTK.Widgets.IndividualListComboBox"; // Container child Gedcom.UI.GTK.Widgets.IndividualListComboBox.Gtk.Container+ContainerChild this.Combo = Gtk.ComboBox.NewText(); this.Combo.AppendText("NoIndividualText"); this.Combo.Name = "Combo"; this.Combo.Active = 0; this.Add(this.Combo); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.Combo.Changed += new System.EventHandler(this.OnCombo_Changed); }
public override Gtk.Widget CreatePanelWidget() { var vbox = new Gtk.VBox (); var hbox = new Gtk.HBox (); var label = new Gtk.Label (GettextCatalog.GetString ("DNX Runtime Version:")); label.Xalign = 0; hbox.PackStart (label, false, false, 5); dnxRuntimeVersionComboBox = Gtk.ComboBox.NewText (); hbox.PackStart (dnxRuntimeVersionComboBox, true, true, 5); PopulateOptionsPanel (); vbox.PackStart (hbox); vbox.ShowAll (); return vbox; }
public ToolbarComboBox() { align = new Gtk.Alignment(0.5f, 0.5f, 1.0f, 0f); Add(align); align.LeftPadding = 3; align.RightPadding = 3; combo = new Gtk.ComboBox(); combo.Model = new Gtk.ListStore(typeof(string)); ctx = new Gtk.CellRendererText(); combo.PackStart(ctx, true); combo.AddAttribute(ctx, "text", 0); align.Add(combo); ShowAll(); }
public ConfigurationComboBox() : base(0.5f, 0.5f, 1.0f, 0f) { LeftPadding = 3; RightPadding = 3; combo = Gtk.ComboBox.NewText (); combo.Changed += new EventHandler (OnChanged); Add (combo); ShowAll (); onActiveConfigurationChanged = (ConfigurationEventHandler) Runtime.DispatchService.GuiDispatch (new ConfigurationEventHandler (OnActiveConfigurationChanged)); onConfigurationsChanged = (ConfigurationEventHandler) Runtime.DispatchService.GuiDispatch (new ConfigurationEventHandler (OnConfigurationsChanged)); Runtime.ProjectService.CombineOpened += (CombineEventHandler) Runtime.DispatchService.GuiDispatch (new CombineEventHandler (OpenCombine)); Runtime.ProjectService.CombineClosed += (CombineEventHandler) Runtime.DispatchService.GuiDispatch (new CombineEventHandler (CloseCombine)); Reset (); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget CBinding.CompilerPanel Stetic.BinContainer.Attach(this); this.Name = "CBinding.CompilerPanel"; // Container child CBinding.CompilerPanel.Gtk.Container+ContainerChild this.table2 = new Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.compilerComboBox = Gtk.ComboBox.NewText(); this.compilerComboBox.Name = "compilerComboBox"; this.table2.Add(this.compilerComboBox); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table2[this.compilerComboBox])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.useCcacheCheckBox = new Gtk.CheckButton(); this.useCcacheCheckBox.CanFocus = true; this.useCcacheCheckBox.Name = "useCcacheCheckBox"; this.useCcacheCheckBox.Label = Mono.Unix.Catalog.GetString("Use ccache"); this.useCcacheCheckBox.DrawIndicator = true; this.useCcacheCheckBox.UseUnderline = true; this.table2.Add(this.useCcacheCheckBox); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table2[this.useCcacheCheckBox])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); this.Add(this.table2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.compilerComboBox.Changed += new System.EventHandler(this.OnCompilerComboBoxChanged); }
public override Gtk.Widget CreatePanelWidget() { var vbox = new Gtk.VBox(); var hbox = new Gtk.HBox(); var label = new Gtk.Label(GettextCatalog.GetString("DNX Runtime Version:")); label.Xalign = 0; hbox.PackStart(label, false, false, 5); dnxRuntimeVersionComboBox = Gtk.ComboBox.NewText(); hbox.PackStart(dnxRuntimeVersionComboBox, true, true, 5); PopulateOptionsPanel(); vbox.PackStart(hbox); vbox.ShowAll(); return(vbox); }
void Initialize (ActionGroupDesignerFrontend frontend, Wrapper.ActionGroupCollection actionGroups, bool singleGroupMode) { this.frontend = frontend; this.singleGroupMode = singleGroupMode; IconSize = Gtk.IconSize.SmallToolbar; Orientation = Gtk.Orientation.Horizontal; ToolbarStyle = Gtk.ToolbarStyle.BothHoriz; combo = Gtk.ComboBox.NewText (); if (!singleGroupMode) { combo.Changed += OnActiveChanged; Gtk.ToolItem comboItem = new Gtk.ToolItem (); Gtk.HBox cbox = new Gtk.HBox (); cbox.PackStart (new Gtk.Label (Catalog.GetString ("Action Group:") + " "), false, false, 3); cbox.PackStart (combo, true, true, 3); comboItem.Add (cbox); comboItem.ShowAll (); Insert (comboItem, -1); internalButtons.Add (comboItem); addButton = new Gtk.ToolButton (Gtk.Stock.Add); addButton.Clicked += OnAddGroup; Insert (addButton, -1); internalButtons.Add (addButton); removeButton = new Gtk.ToolButton (Gtk.Stock.Remove); removeButton.Clicked += OnRemoveGroup; Insert (removeButton, -1); internalButtons.Add (removeButton); ActionGroups = actionGroups; if (actionGroups != null && actionGroups.Count > 0) combo.Active = 0; } else { UpdateActionCommands (null); } ShowAll (); }
public GalleryAddAlbum(GalleryExport export, Gallery gallery) { var builder = new GtkBeans.Builder (null, "gallery_add_album_dialog.ui", null); builder.Autoconnect (this); add_album_dialog = new Gtk.Dialog (builder.GetRawObject ("gallery_add_album_dialog")); add_album_dialog.Modal = true; album_optionmenu = new Gtk.ComboBox (); (name_entry.Parent as Gtk.Table).Attach (album_optionmenu, 1, 2, 1, 2); album_optionmenu.Show (); this.export = export; this.gallery = gallery; PopulateAlbums (); add_album_dialog.Response += HandleAddResponse; name_entry.Changed += HandleChanged; description_entry.Changed += HandleChanged; title_entry.Changed += HandleChanged; HandleChanged (null, null); }
Control IOptionsPanel.CreatePanelWidget () { Gtk.VBox cbox = new Gtk.VBox (false, 6); Gtk.HBox combosBox = new Gtk.HBox (false, 6); cbox.PackStart (combosBox, false, false, 0); combosBox.PackStart (new Gtk.Label (GettextCatalog.GetString ("Configuration:")), false, false, 0); configListStore = new Gtk.ListStore (typeof(string), typeof(string)); configCombo = new Gtk.ComboBox (configListStore); var cell = new Gtk.CellRendererText (); configCombo.PackStart (cell, true); configCombo.AddAttribute (cell, "text", 0); combosBox.PackStart (configCombo, false, false, 0); combosBox.PackStart (new Gtk.Label (GettextCatalog.GetString ("Platform:")), false, false, 0); platformCombo = Gtk.ComboBox.NewText (); combosBox.PackStart (platformCombo, false, false, 0); cbox.PackStart (new Gtk.HSeparator (), false, false, 0); cbox.ShowAll (); cbox.Hidden += OnPageHidden; cbox.Shown += OnPageShown; lastConfigSelection = -1; lastPlatformSelection = -1; FillConfigurations (); UpdateSelection (); configCombo.Changed += OnConfigChanged; platformCombo.Changed += OnConfigChanged; bool oldMixed = allowMixedConfigurations; Gtk.Widget child = CreatePanelWidget (); //HACK: work around bug 469427 - broken themes match on widget names if (child.Name.IndexOf ("Panel") > 0) child.Name = child.Name.Replace ("Panel", "_"); cbox.PackStart (child, true, true, 0); if (allowMixedConfigurations != oldMixed) { // If mixed mode has changed, update the configuration list FillConfigurations (); UpdateSelection (); } widgetCreated = true; panelWidget = child; if (currentConfigs.Count > 0) { panelWidget.Sensitive = true; LoadConfigData (); } else panelWidget.Sensitive = false; return cbox; }
private void BuildCategoriesFrame() { var vbBox = new Gtk.VBox( false, 5 ); var vbExpandedBox = new Gtk.VBox( false, 5 ); var hbAvailableCategories = new Gtk.HBox( false, 5 ); var hbCurrentCategories = new Gtk.HBox( false, 5 ); var exExpandCategories = new Gtk.Expander( "Categories" ); // The frame this.frmCategories = new Gtk.Frame( "Manage categories" ); this.frmCategories.Add( vbBox ); // The expander exExpandCategories.Expanded = false; exExpandCategories.Add( vbExpandedBox ); this.btAddCategory = new Gtk.Button( Gtk.Stock.Add ); this.btAddCategory.Clicked += (sender, e) => this.OnAddCategory(); this.btRemoveCategory = new Gtk.Button( Gtk.Stock.Add ); this.btRemoveCategory.Clicked += (sender, e) => this.OnRemoveCategory(); this.btRemoveCategory = new Gtk.Button( Gtk.Stock.Remove ); this.cbAvailableCategories = new Gtk.ComboBox( new string[] { "" } ); this.cbCurrentCategories = new Gtk.ComboBox( new string[] { "" } ); hbAvailableCategories.PackStart( new Gtk.Label( "Available:" ), false, false, 5 ); hbAvailableCategories.PackStart( this.cbAvailableCategories, true, true, 5 ); hbAvailableCategories.PackStart( this.btAddCategory, false, false, 5 ); hbCurrentCategories.PackStart( new Gtk.Label( "Current:" ), false, false, 5 ); hbCurrentCategories.PackStart( this.cbCurrentCategories, true, true, 5 ); hbCurrentCategories.PackStart( this.btRemoveCategory, false, false, 5 ); vbExpandedBox.PackStart( hbCurrentCategories, true, true, 5 ); vbExpandedBox.PackStart( hbAvailableCategories, true, true, 5 ); // Categories this.lblCategories = new Gtk.Label() { Markup = "<i>Current categories</i>:" }; vbBox.PackStart( this.lblCategories, true, true, 5 ); vbBox.PackStart( exExpandCategories, true, true, 5 ); this.vbPage1.PackStart( this.frmCategories, true, true, 5 ); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.RubyBinding.GeneralOptionsPanel Stetic.BinContainer.Attach(this); this.CanFocus = true; this.Name = "MonoDevelop.RubyBinding.GeneralOptionsPanel"; // Container child MonoDevelop.RubyBinding.GeneralOptionsPanel.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Startup File"); this.label2.Justify = ((Gtk.Justification)(1)); this.hbox3.Add(this.label2); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.projectFilesCB = Gtk.ComboBox.NewText(); this.projectFilesCB.Name = "projectFilesCB"; this.hbox3.Add(this.projectFilesCB); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox3[this.projectFilesCB])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox3); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table2 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(10)); this.table2.ColumnSpacing = ((uint)(10)); this.table2.BorderWidth = ((uint)(3)); // Container child table2.Gtk.Table+TableChild this.addLoadpathButton = new Gtk.Button(); this.addLoadpathButton.Sensitive = false; this.addLoadpathButton.CanFocus = true; this.addLoadpathButton.Name = "addLoadpathButton"; this.addLoadpathButton.UseStock = true; this.addLoadpathButton.UseUnderline = true; this.addLoadpathButton.Label = "gtk-add"; this.table2.Add(this.addLoadpathButton); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table2[this.addLoadpathButton])); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Load Path:"); this.table2.Add(this.label8); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table2[this.label8])); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.loadpathAddEntry = new Gtk.Entry(); this.loadpathAddEntry.CanFocus = true; this.loadpathAddEntry.Name = "loadpathAddEntry"; this.loadpathAddEntry.IsEditable = true; this.loadpathAddEntry.InvisibleChar = '*'; this.table2.Add(this.loadpathAddEntry); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table2[this.loadpathAddEntry])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.loadpathTreeView = new Gtk.TreeView(); this.loadpathTreeView.CanFocus = true; this.loadpathTreeView.Name = "loadpathTreeView"; this.scrolledwindow1.Add(this.loadpathTreeView); this.table2.Add(this.scrolledwindow1); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow1])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.browseButton = new Gtk.Button(); this.browseButton.CanFocus = true; this.browseButton.Name = "browseButton"; this.browseButton.UseStock = true; this.browseButton.UseUnderline = true; this.browseButton.Label = "gtk-open"; this.vbox4.Add(this.browseButton); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox4[this.browseButton])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.removeLoadpathButton = new Gtk.Button(); this.removeLoadpathButton.Sensitive = false; this.removeLoadpathButton.CanFocus = true; this.removeLoadpathButton.Name = "removeLoadpathButton"; this.removeLoadpathButton.UseStock = true; this.removeLoadpathButton.UseUnderline = true; this.removeLoadpathButton.Label = "gtk-remove"; this.vbox4.Add(this.removeLoadpathButton); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox4[this.removeLoadpathButton])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.table2.Add(this.vbox4); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table2[this.vbox4])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((Gtk.AttachOptions)(4)); this.vbox1.Add(this.table2); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox1[this.table2])); w12.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.browseButton.Clicked += new System.EventHandler(this.browseButtonClicked); this.removeLoadpathButton.Clicked += new System.EventHandler(this.removeLoadpathButtonClicked); this.loadpathTreeView.CursorChanged += new System.EventHandler(this.loadpathTreeViewCursorChanged); this.loadpathAddEntry.Changed += new System.EventHandler(this.loadpathAddEntryChanged); this.addLoadpathButton.Clicked += new System.EventHandler(this.loadpathAddButtonClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget CBinding.CodeGenerationPanel Stetic.BinContainer.Attach(this); this.Name = "CBinding.CodeGenerationPanel"; // Container child CBinding.CodeGenerationPanel.Gtk.Container+ContainerChild this.notebook1 = new Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 3; // Container child vbox6.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(5)); this.table1.ColumnSpacing = ((uint)(5)); this.table1.BorderWidth = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xpad = 10; this.label4.Xalign = 0F; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Warning Level:"); this.table1.Add(this.label4); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xpad = 10; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Optimization Level:"); this.table1.Add(this.label5); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label5])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.Xpad = 10; this.label6.Xalign = 0F; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Target:"); this.table1.Add(this.label6); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label6])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.optimizationSpinButton = new Gtk.SpinButton(0, 3, 1); this.optimizationSpinButton.CanFocus = true; this.optimizationSpinButton.Name = "optimizationSpinButton"; this.optimizationSpinButton.Adjustment.PageIncrement = 10; this.optimizationSpinButton.ClimbRate = 1; this.optimizationSpinButton.Numeric = true; this.table1.Add(this.optimizationSpinButton); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.optimizationSpinButton])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.targetComboBox = Gtk.ComboBox.NewText(); this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Executable")); this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Static Library")); this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Shared Object")); this.targetComboBox.Name = "targetComboBox"; this.table1.Add(this.targetComboBox); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.targetComboBox])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 1; // Container child vbox1.Gtk.Box+BoxChild this.noWarningRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("no warnings")); this.noWarningRadio.CanFocus = true; this.noWarningRadio.Name = "noWarningRadio"; this.noWarningRadio.Active = true; this.noWarningRadio.DrawIndicator = true; this.noWarningRadio.UseUnderline = true; this.noWarningRadio.Group = new GLib.SList(System.IntPtr.Zero); this.vbox1.Add(this.noWarningRadio); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.noWarningRadio])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.normalWarningRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("normal")); this.normalWarningRadio.CanFocus = true; this.normalWarningRadio.Name = "normalWarningRadio"; this.normalWarningRadio.DrawIndicator = true; this.normalWarningRadio.UseUnderline = true; this.normalWarningRadio.Group = this.noWarningRadio.Group; this.vbox1.Add(this.normalWarningRadio); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.normalWarningRadio])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.allWarningRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("all")); this.allWarningRadio.CanFocus = true; this.allWarningRadio.Name = "allWarningRadio"; this.allWarningRadio.DrawIndicator = true; this.allWarningRadio.UseUnderline = true; this.allWarningRadio.Group = this.noWarningRadio.Group; this.vbox1.Add(this.allWarningRadio); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox1[this.allWarningRadio])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.table1.Add(this.vbox1); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.vbox1])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); this.vbox6.Add(this.table1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox6[this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xpad = 13; this.label12.Xalign = 0F; this.label12.LabelProp = Mono.Unix.Catalog.GetString("Define Symbols:"); this.hbox1.Add(this.label12); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.label12])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.defineSymbolsTextEntry = new Gtk.Entry(); Gtk.Tooltips w12 = new Gtk.Tooltips(); w12.SetTip(this.defineSymbolsTextEntry, "A space seperated list of symbols to define.", "A space seperated list of symbols to define."); this.defineSymbolsTextEntry.CanFocus = true; this.defineSymbolsTextEntry.Name = "defineSymbolsTextEntry"; this.defineSymbolsTextEntry.IsEditable = true; this.defineSymbolsTextEntry.InvisibleChar = '●'; this.hbox1.Add(this.defineSymbolsTextEntry); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox1[this.defineSymbolsTextEntry])); w13.Position = 1; w13.Padding = ((uint)(14)); this.vbox6.Add(this.hbox1); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); this.frame2.LabelXalign = 0F; this.frame2.LabelYalign = 0F; // Container child frame2.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.table5 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(9)); this.table5.BorderWidth = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Extra Linker Options"); this.table5.Add(this.label11); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table5[this.label11])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Extra Compiler Options"); this.table5.Add(this.label7); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table5[this.label7])); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.scrolledwindow4 = new Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow4.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.extraCompilerTextView = new Gtk.TextView(); w12.SetTip(this.extraCompilerTextView, "A newline seperated list of extra options to send to the compiler.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--cflags\n\tcairo`", "A newline seperated list of extra options to send to the compiler.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--cflags\n\tcairo`"); this.extraCompilerTextView.CanFocus = true; this.extraCompilerTextView.Name = "extraCompilerTextView"; this.scrolledwindow4.Add(this.extraCompilerTextView); this.table5.Add(this.scrolledwindow4); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table5[this.scrolledwindow4])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); // Container child table5.Gtk.Table+TableChild this.scrolledwindow5 = new Gtk.ScrolledWindow(); this.scrolledwindow5.CanFocus = true; this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow5.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.extraLinkerTextView = new Gtk.TextView(); w12.SetTip(this.extraLinkerTextView, "A newline seperated list of extra options to send to the linker.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--libs\n\tcairo`", "A newline seperated list of extra options to send to the linker.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--libs\n\tcairo`"); this.extraLinkerTextView.CanFocus = true; this.extraLinkerTextView.Name = "extraLinkerTextView"; this.scrolledwindow5.Add(this.extraLinkerTextView); this.table5.Add(this.scrolledwindow5); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table5[this.scrolledwindow5])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); this.GtkAlignment.Add(this.table5); this.frame2.Add(this.GtkAlignment); this.GtkLabel12 = new Gtk.Label(); this.GtkLabel12.Name = "GtkLabel12"; this.GtkLabel12.LabelProp = Mono.Unix.Catalog.GetString("<b>Extra Options</b>"); this.GtkLabel12.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel12; this.vbox6.Add(this.frame2); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame2])); w23.Position = 2; this.notebook1.Add(this.vbox6); Gtk.Notebook.NotebookChild w24 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6])); w24.TabExpand = false; // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Code Generation"); this.notebook1.SetTabLabel(this.vbox6, this.label1); // Container child notebook1.Gtk.Notebook+NotebookChild this.table2 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(10)); this.table2.ColumnSpacing = ((uint)(10)); this.table2.BorderWidth = ((uint)(3)); // Container child table2.Gtk.Table+TableChild this.addLibButton = new Gtk.Button(); this.addLibButton.Sensitive = false; this.addLibButton.CanFocus = true; this.addLibButton.Name = "addLibButton"; this.addLibButton.UseUnderline = true; this.addLibButton.Label = Mono.Unix.Catalog.GetString("Add"); this.table2.Add(this.addLibButton); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table2[this.addLibButton])); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Library:"); this.table2.Add(this.label8); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table2[this.label8])); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.libAddEntry = new Gtk.Entry(); this.libAddEntry.CanFocus = true; this.libAddEntry.Name = "libAddEntry"; this.libAddEntry.IsEditable = true; this.libAddEntry.InvisibleChar = '●'; this.table2.Add(this.libAddEntry); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table2[this.libAddEntry])); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.libTreeView = new Gtk.TreeView(); this.libTreeView.CanFocus = true; this.libTreeView.Name = "libTreeView"; this.libTreeView.HeadersClickable = true; this.scrolledwindow1.Add(this.libTreeView); this.table2.Add(this.scrolledwindow1); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow1])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.browseButton = new Gtk.Button(); this.browseButton.CanFocus = true; this.browseButton.Name = "browseButton"; this.browseButton.UseUnderline = true; this.browseButton.Label = Mono.Unix.Catalog.GetString("Browse..."); this.vbox4.Add(this.browseButton); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox4[this.browseButton])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.removeLibButton = new Gtk.Button(); this.removeLibButton.Sensitive = false; this.removeLibButton.CanFocus = true; this.removeLibButton.Name = "removeLibButton"; this.removeLibButton.UseUnderline = true; this.removeLibButton.Label = Mono.Unix.Catalog.GetString("Remove"); this.vbox4.Add(this.removeLibButton); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox4[this.removeLibButton])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.table2.Add(this.vbox4); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table2[this.vbox4])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table2); Gtk.Notebook.NotebookChild w33 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table2])); w33.Position = 1; w33.TabExpand = false; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Libraries"); this.notebook1.SetTabLabel(this.table2, this.label2); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; this.vbox7.BorderWidth = ((uint)(3)); // Container child vbox7.Gtk.Box+BoxChild this.table4 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(10)); this.table4.ColumnSpacing = ((uint)(10)); // Container child table4.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Library:"); this.table4.Add(this.label10); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table4[this.label10])); w34.XOptions = ((Gtk.AttachOptions)(4)); w34.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.libPathAddButton = new Gtk.Button(); this.libPathAddButton.Sensitive = false; this.libPathAddButton.CanFocus = true; this.libPathAddButton.Name = "libPathAddButton"; this.libPathAddButton.UseUnderline = true; this.libPathAddButton.Label = Mono.Unix.Catalog.GetString("Add"); this.table4.Add(this.libPathAddButton); Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table4[this.libPathAddButton])); w35.LeftAttach = ((uint)(2)); w35.RightAttach = ((uint)(3)); w35.XOptions = ((Gtk.AttachOptions)(4)); w35.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.libPathEntry = new Gtk.Entry(); this.libPathEntry.CanFocus = true; this.libPathEntry.Name = "libPathEntry"; this.libPathEntry.IsEditable = true; this.libPathEntry.InvisibleChar = '●'; this.table4.Add(this.libPathEntry); Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table4[this.libPathEntry])); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.scrolledwindow3 = new Gtk.ScrolledWindow(); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow3.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow3.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.libPathTreeView = new Gtk.TreeView(); this.libPathTreeView.CanFocus = true; this.libPathTreeView.Name = "libPathTreeView"; this.libPathTreeView.HeadersClickable = true; this.scrolledwindow3.Add(this.libPathTreeView); this.table4.Add(this.scrolledwindow3); Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table4[this.scrolledwindow3])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); // Container child table4.Gtk.Table+TableChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.libPathBrowseButton = new Gtk.Button(); this.libPathBrowseButton.CanFocus = true; this.libPathBrowseButton.Name = "libPathBrowseButton"; this.libPathBrowseButton.UseUnderline = true; this.libPathBrowseButton.Label = Mono.Unix.Catalog.GetString("Browse..."); this.vbox3.Add(this.libPathBrowseButton); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox3[this.libPathBrowseButton])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.libPathRemoveButton = new Gtk.Button(); this.libPathRemoveButton.Sensitive = false; this.libPathRemoveButton.CanFocus = true; this.libPathRemoveButton.Name = "libPathRemoveButton"; this.libPathRemoveButton.UseUnderline = true; this.libPathRemoveButton.Label = Mono.Unix.Catalog.GetString("Remove"); this.vbox3.Add(this.libPathRemoveButton); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.vbox3[this.libPathRemoveButton])); w40.Position = 1; w40.Expand = false; w40.Fill = false; this.table4.Add(this.vbox3); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table4[this.vbox3])); w41.TopAttach = ((uint)(1)); w41.BottomAttach = ((uint)(2)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((Gtk.AttachOptions)(4)); this.vbox7.Add(this.table4); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox7[this.table4])); w42.Position = 0; // Container child vbox7.Gtk.Box+BoxChild this.table3 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(10)); this.table3.ColumnSpacing = ((uint)(10)); // Container child table3.Gtk.Table+TableChild this.includePathAddButton = new Gtk.Button(); this.includePathAddButton.Sensitive = false; this.includePathAddButton.CanFocus = true; this.includePathAddButton.Name = "includePathAddButton"; this.includePathAddButton.UseUnderline = true; this.includePathAddButton.Label = Mono.Unix.Catalog.GetString("Add"); this.table3.Add(this.includePathAddButton); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table3[this.includePathAddButton])); w43.LeftAttach = ((uint)(2)); w43.RightAttach = ((uint)(3)); w43.XOptions = ((Gtk.AttachOptions)(4)); w43.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.includePathEntry = new Gtk.Entry(); this.includePathEntry.CanFocus = true; this.includePathEntry.Name = "includePathEntry"; this.includePathEntry.IsEditable = true; this.includePathEntry.InvisibleChar = '●'; this.table3.Add(this.includePathEntry); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table3[this.includePathEntry])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Include:"); this.table3.Add(this.label9); Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table3[this.label9])); w45.XOptions = ((Gtk.AttachOptions)(4)); w45.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.includePathTreeView = new Gtk.TreeView(); this.includePathTreeView.CanFocus = true; this.includePathTreeView.Name = "includePathTreeView"; this.includePathTreeView.HeadersClickable = true; this.scrolledwindow2.Add(this.includePathTreeView); this.table3.Add(this.scrolledwindow2); Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table3[this.scrolledwindow2])); w47.TopAttach = ((uint)(1)); w47.BottomAttach = ((uint)(2)); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.includePathBrowseButton = new Gtk.Button(); this.includePathBrowseButton.CanFocus = true; this.includePathBrowseButton.Name = "includePathBrowseButton"; this.includePathBrowseButton.UseUnderline = true; this.includePathBrowseButton.Label = Mono.Unix.Catalog.GetString("Browse..."); this.vbox5.Add(this.includePathBrowseButton); Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox5[this.includePathBrowseButton])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.includePathRemoveButton = new Gtk.Button(); this.includePathRemoveButton.Sensitive = false; this.includePathRemoveButton.CanFocus = true; this.includePathRemoveButton.Name = "includePathRemoveButton"; this.includePathRemoveButton.UseUnderline = true; this.includePathRemoveButton.Label = Mono.Unix.Catalog.GetString("Remove"); this.vbox5.Add(this.includePathRemoveButton); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.vbox5[this.includePathRemoveButton])); w49.Position = 1; w49.Expand = false; w49.Fill = false; this.table3.Add(this.vbox5); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table3[this.vbox5])); w50.TopAttach = ((uint)(1)); w50.BottomAttach = ((uint)(2)); w50.LeftAttach = ((uint)(2)); w50.RightAttach = ((uint)(3)); w50.XOptions = ((Gtk.AttachOptions)(4)); this.vbox7.Add(this.table3); Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.vbox7[this.table3])); w51.Position = 1; this.notebook1.Add(this.vbox7); Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox7])); w52.Position = 2; w52.TabExpand = false; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Paths"); this.notebook1.SetTabLabel(this.vbox7, this.label3); this.Add(this.notebook1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.browseButton.Clicked += new System.EventHandler(this.OnBrowseButtonClick); this.removeLibButton.Clicked += new System.EventHandler(this.OnRemoveLibButtonClicked); this.removeLibButton.Clicked += new System.EventHandler(this.OnLibRemoved); this.libTreeView.CursorChanged += new System.EventHandler(this.OnLibTreeViewCursorChanged); this.libAddEntry.Changed += new System.EventHandler(this.OnLibAddEntryChanged); this.libAddEntry.Activated += new System.EventHandler(this.OnLibAddEntryActivated); this.addLibButton.Clicked += new System.EventHandler(this.OnLibAdded); this.libPathBrowseButton.Clicked += new System.EventHandler(this.OnLibPathBrowseButtonClick); this.libPathRemoveButton.Clicked += new System.EventHandler(this.OnLibPathRemoveButtonClicked); this.libPathRemoveButton.Clicked += new System.EventHandler(this.OnLibPathRemoved); this.libPathTreeView.CursorChanged += new System.EventHandler(this.OnLibPathTreeViewCursorChanged); this.libPathEntry.Changed += new System.EventHandler(this.OnLibPathEntryChanged); this.libPathEntry.Activated += new System.EventHandler(this.OnLibPathEntryActivated); this.libPathAddButton.Clicked += new System.EventHandler(this.OnLibPathAdded); this.includePathBrowseButton.Clicked += new System.EventHandler(this.OnIncludePathBrowseButtonClick); this.includePathRemoveButton.Clicked += new System.EventHandler(this.OnIncludePathRemoveButtonClicked); this.includePathRemoveButton.Clicked += new System.EventHandler(this.OnIncludePathRemoved); this.includePathTreeView.CursorChanged += new System.EventHandler(this.OnIncludePathTreeViewCursorChanged); this.includePathEntry.Changed += new System.EventHandler(this.OnIncludePathEntryChanged); this.includePathEntry.Activated += new System.EventHandler(this.OnIncludePathEntryActivated); this.includePathAddButton.Clicked += new System.EventHandler(this.OnIncludePathAdded); }
public EngineManagerDialog(EngineManager engineManager) { Trace.Call(engineManager); if (engineManager == null) { throw new ArgumentNullException("engineManager"); } _EngineManager = engineManager; Modal = true; Title = "Smuxi - " + _("Engine Manager"); SetPosition(Gtk.WindowPosition.CenterAlways); var connect_button = new Gtk.Button(Gtk.Stock.Connect); AddActionWidget(connect_button, 1); AddActionWidget(new Gtk.Button(Gtk.Stock.New), 3); Gtk.Button edit_button = new Gtk.Button(Gtk.Stock.Edit); _EditButton = edit_button; AddActionWidget(edit_button, 2); _DeleteButton = new Gtk.Button(Gtk.Stock.Delete); AddActionWidget(_DeleteButton, 4); AddActionWidget(new Gtk.Button(Gtk.Stock.Quit), 5); Response += new Gtk.ResponseHandler(_OnResponse); Gtk.VBox vbox = new Gtk.VBox(); Gtk.Label label = new Gtk.Label("<b>" + _("Select which Smuxi engine you want to connect to") + "</b>"); label.UseMarkup = true; vbox.PackStart(label, false, false, 5); Gtk.HBox hbox = new Gtk.HBox(); hbox.PackStart(new Gtk.Label(_("Engine:")), false, false, 5); _ListStore = new Gtk.ListStore(typeof(string)); _ComboBox = new Gtk.ComboBox(); Gtk.CellRendererText cell = new Gtk.CellRendererText(); _ComboBox.PackStart(cell, false); _ComboBox.AddAttribute(cell, "text", 0); _ComboBox.Changed += new EventHandler(_OnComboBoxChanged); _ComboBox.Model = _ListStore; _InitEngineList(); var lowBandWidthCheckBox = new Gtk.CheckButton(_("Use Low Bandwidth Mode")); lowBandWidthCheckBox.Active = (bool) Frontend.FrontendConfig["UseLowBandwidthMode"]; lowBandWidthCheckBox.Clicked += delegate { Frontend.FrontendConfig["UseLowBandwidthMode"] = lowBandWidthCheckBox.Active; Frontend.FrontendConfig.Save(); }; hbox.PackStart(_ComboBox, true, true, 10); vbox.PackStart(hbox, false, false, 10); vbox.PackStart(lowBandWidthCheckBox); VBox.Add(vbox); ShowAll(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget PropertyManager.LoginDlg this.Name = "PropertyManager.LoginDlg"; this.Title = Mono.Unix.Catalog.GetString("Logon to Property Manager"); this.WindowPosition = ((Gtk.WindowPosition)(3)); this.HasSeparator = false; // Internal child PropertyManager.LoginDlg.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(4)); this.table1.ColumnSpacing = ((uint)(4)); this.table1.BorderWidth = ((uint)(4)); // Container child table1.Gtk.Table+TableChild this.cbEnvironment = Gtk.ComboBox.NewText(); this.cbEnvironment.AppendText(Mono.Unix.Catalog.GetString("Local")); this.cbEnvironment.AppendText(Mono.Unix.Catalog.GetString("Development")); this.cbEnvironment.AppendText(Mono.Unix.Catalog.GetString("QA")); this.cbEnvironment.AppendText(Mono.Unix.Catalog.GetString("UAT")); this.cbEnvironment.AppendText(Mono.Unix.Catalog.GetString("Production")); this.cbEnvironment.Name = "cbEnvironment"; this.cbEnvironment.Active = 0; this.table1.Add(this.cbEnvironment); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.cbEnvironment])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblEnvironment = new Gtk.Label(); this.lblEnvironment.Name = "lblEnvironment"; this.lblEnvironment.Xalign = 0F; this.lblEnvironment.LabelProp = Mono.Unix.Catalog.GetString("Environment:"); this.table1.Add(this.lblEnvironment); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.lblEnvironment])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblPassword = new Gtk.Label(); this.lblPassword.Name = "lblPassword"; this.lblPassword.Xalign = 0F; this.lblPassword.LabelProp = Mono.Unix.Catalog.GetString("Password:"******"lblUserName"; this.lblUserName.Xalign = 0F; this.lblUserName.LabelProp = Mono.Unix.Catalog.GetString("User Name:"); this.table1.Add(this.lblUserName); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.lblUserName])); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.txtPassword = new Gtk.Entry(); this.txtPassword.CanFocus = true; this.txtPassword.Name = "txtPassword"; this.txtPassword.IsEditable = true; this.txtPassword.ActivatesDefault = true; this.txtPassword.Visibility = false; this.txtPassword.InvisibleChar = '●'; this.table1.Add(this.txtPassword); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.txtPassword])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.txtUserName = new Gtk.Entry(); this.txtUserName.CanFocus = true; this.txtUserName.Name = "txtUserName"; this.txtUserName.IsEditable = true; this.txtUserName.ActivatesDefault = true; this.txtUserName.InvisibleChar = '●'; this.table1.Add(this.txtUserName); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.txtUserName])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.table1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Internal child PropertyManager.LoginDlg.ActionArea Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "dialog1_ActionArea"; w9.Spacing = 6; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel])); w10.Expand = false; w10.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.Sensitive = false; this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk])); w11.Position = 1; w11.Expand = false; w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 270; this.DefaultHeight = 163; this.buttonOk.HasDefault = true; this.Show(); this.txtUserName.Changed += new System.EventHandler(this.UserNameChanged); this.txtPassword.Changed += new System.EventHandler(this.PasswordChanged); this.cbEnvironment.Changed += new System.EventHandler(this.EnvironmentChanged); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Mono.Addins.Gui.AddinInstallDialog this.Name = "Mono.Addins.Gui.AddinInstallDialog"; this.Title = Mono.Unix.Catalog.GetString("Extension Installation"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.DefaultWidth = 725; this.DefaultHeight = 550; // Internal child Mono.Addins.Gui.AddinInstallDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox9"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox9.Gtk.Box+BoxChild this.wizardNotebook = new Gtk.Notebook(); this.wizardNotebook.CanFocus = true; this.wizardNotebook.Name = "wizardNotebook"; this.wizardNotebook.CurrentPage = 3; this.wizardNotebook.ShowBorder = false; this.wizardNotebook.BorderWidth = ((uint)(6)); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.vbox82 = new Gtk.VBox(); this.vbox82.Name = "vbox82"; this.vbox82.Spacing = 12; // Container child vbox82.Gtk.Box+BoxChild this.label113 = new Gtk.Label(); this.label113.Name = "label113"; this.label113.Xalign = 0F; this.label113.LabelProp = Mono.Unix.Catalog.GetString("<b>Select the extensions to install and click on Next</b>"); this.label113.UseMarkup = true; this.vbox82.Add(this.label113); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox82[this.label113])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox82.Gtk.Box+BoxChild this.hbox66 = new Gtk.HBox(); this.hbox66.Name = "hbox66"; this.hbox66.Spacing = 6; // Container child hbox66.Gtk.Box+BoxChild this.label112 = new Gtk.Label(); this.label112.Name = "label112"; this.label112.LabelProp = Mono.Unix.Catalog.GetString("Install from:"); this.hbox66.Add(this.label112); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox66[this.label112])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox66.Gtk.Box+BoxChild this.repoCombo = new Gtk.ComboBox(); this.repoCombo.Name = "repoCombo"; this.hbox66.Add(this.repoCombo); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox66[this.repoCombo])); w4.Position = 1; // Container child hbox66.Gtk.Box+BoxChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseStock = true; this.button1.UseUnderline = true; this.button1.Label = "gtk-refresh"; this.hbox66.Add(this.button1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox66[this.button1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox66.Gtk.Box+BoxChild this.btnManageSites = new Gtk.Button(); this.btnManageSites.CanFocus = true; this.btnManageSites.Name = "btnManageSites"; this.btnManageSites.UseUnderline = true; this.btnManageSites.Label = Mono.Unix.Catalog.GetString("_Repositories..."); this.hbox66.Add(this.btnManageSites); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox66[this.btnManageSites])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vbox82.Add(this.hbox66); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox82[this.hbox66])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox82.Gtk.Box+BoxChild this.hbox70 = new Gtk.HBox(); this.hbox70.Name = "hbox70"; this.hbox70.Spacing = 12; // Container child hbox70.Gtk.Box+BoxChild this.vbox92 = new Gtk.VBox(); this.vbox92.Name = "vbox92"; this.vbox92.Spacing = 6; // Container child vbox92.Gtk.Box+BoxChild this.scrolledwindow18 = new Gtk.ScrolledWindow(); this.scrolledwindow18.CanFocus = true; this.scrolledwindow18.Name = "scrolledwindow18"; this.scrolledwindow18.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow18.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow18.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow18.Gtk.Container+ContainerChild this.addinTree = new Gtk.TreeView(); this.addinTree.CanFocus = true; this.addinTree.Name = "addinTree"; this.addinTree.HeadersClickable = true; this.scrolledwindow18.Add(this.addinTree); this.vbox92.Add(this.scrolledwindow18); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox92[this.scrolledwindow18])); w9.Position = 0; // Container child vbox92.Gtk.Box+BoxChild this.hbox83 = new Gtk.HBox(); this.hbox83.Name = "hbox83"; this.hbox83.Spacing = 6; // Container child hbox83.Gtk.Box+BoxChild this.filterComboBox = Gtk.ComboBox.NewText(); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show all packages")); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show new versions only")); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show updates only")); this.filterComboBox.Name = "filterComboBox"; this.hbox83.Add(this.filterComboBox); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox83[this.filterComboBox])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnInfo = new Gtk.Button(); this.btnInfo.CanFocus = true; this.btnInfo.Name = "btnInfo"; this.btnInfo.UseStock = true; this.btnInfo.UseUnderline = true; this.btnInfo.Label = "gtk-dialog-info"; this.hbox83.Add(this.btnInfo); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnInfo])); w11.PackType = ((Gtk.PackType)(1)); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnUnselectAll = new Gtk.Button(); this.btnUnselectAll.CanFocus = true; this.btnUnselectAll.Name = "btnUnselectAll"; this.btnUnselectAll.UseUnderline = true; this.btnUnselectAll.Label = Mono.Unix.Catalog.GetString("_Unselect All"); this.hbox83.Add(this.btnUnselectAll); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnUnselectAll])); w12.PackType = ((Gtk.PackType)(1)); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnSelectAll = new Gtk.Button(); this.btnSelectAll.CanFocus = true; this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.UseUnderline = true; this.btnSelectAll.Label = Mono.Unix.Catalog.GetString("Select _All"); this.hbox83.Add(this.btnSelectAll); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnSelectAll])); w13.PackType = ((Gtk.PackType)(1)); w13.Position = 3; w13.Expand = false; w13.Fill = false; this.vbox92.Add(this.hbox83); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox92[this.hbox83])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox70.Add(this.vbox92); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox70[this.vbox92])); w15.Position = 0; this.vbox82.Add(this.hbox70); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox82[this.hbox70])); w16.Position = 2; this.wizardNotebook.Add(this.vbox82); Gtk.Notebook.NotebookChild w17 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.vbox82])); w17.TabExpand = false; // Notebook tab this.label108 = new Gtk.Label(); this.label108.Name = "label108"; this.label108.LabelProp = "label108"; this.wizardNotebook.SetTabLabel(this.vbox82, this.label108); this.label108.ShowAll(); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.scrolledwindow19 = new Gtk.ScrolledWindow(); this.scrolledwindow19.CanFocus = true; this.scrolledwindow19.Name = "scrolledwindow19"; this.scrolledwindow19.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow19.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow19.Gtk.Container+ContainerChild Gtk.Viewport w18 = new Gtk.Viewport(); // Container child viewport1.Gtk.Container+ContainerChild this.hbox82 = new Gtk.HBox(); this.hbox82.Name = "hbox82"; this.hbox82.Spacing = 12; this.hbox82.BorderWidth = ((uint)(12)); // Container child hbox82.Gtk.Box+BoxChild this.imageInstall = new Gtk.Image(); this.imageInstall.Name = "imageInstall"; this.imageInstall.Xalign = 0F; this.imageInstall.Yalign = 0F; this.imageInstall.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", Gtk.IconSize.Dialog, 48); this.hbox82.Add(this.imageInstall); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox82[this.imageInstall])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox82.Gtk.Box+BoxChild this.labelSummary = new Gtk.Label(); this.labelSummary.Name = "labelSummary"; this.labelSummary.Xpad = 6; this.labelSummary.Ypad = 6; this.labelSummary.Xalign = 0F; this.labelSummary.Yalign = 0F; this.labelSummary.LabelProp = "<b>The following extensions will be installed:</b>\n\nC# language binding\nC# language IDE extension\n\n<b>The following extensions are required by the selected extensions</b>\n\nNUnit extension\nNAnt extension\n\nasd\nasd\na\nsd\nasd\nasd\na\nsda\nsd\nas\nda\nsd\nasd\n"; this.labelSummary.UseMarkup = true; this.labelSummary.Wrap = true; this.hbox82.Add(this.labelSummary); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox82[this.labelSummary])); w20.Position = 1; w20.Expand = false; w20.Fill = false; w18.Add(this.hbox82); this.scrolledwindow19.Add(w18); this.wizardNotebook.Add(this.scrolledwindow19); Gtk.Notebook.NotebookChild w23 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.scrolledwindow19])); w23.Position = 1; w23.TabExpand = false; // Notebook tab this.label124 = new Gtk.Label(); this.label124.Name = "label124"; this.label124.LabelProp = Mono.Unix.Catalog.GetString("label124"); this.wizardNotebook.SetTabLabel(this.scrolledwindow19, this.label124); this.label124.ShowAll(); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.vbox86 = new Gtk.VBox(); this.vbox86.Name = "vbox86"; this.vbox86.Spacing = 6; this.vbox86.BorderWidth = ((uint)(116)); // Container child vbox86.Gtk.Box+BoxChild this.label126 = new Gtk.Label(); this.label126.Name = "label126"; this.label126.Xalign = 0F; this.label126.LabelProp = Mono.Unix.Catalog.GetString("Overall Progress:"); this.vbox86.Add(this.label126); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox86[this.label126])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.mainProgressBar = new Gtk.ProgressBar(); this.mainProgressBar.Name = "mainProgressBar"; this.mainProgressBar.PulseStep = 10000000149; this.vbox86.Add(this.mainProgressBar); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox86[this.mainProgressBar])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.label129 = new Gtk.Label(); this.label129.Name = "label129"; this.label129.LabelProp = ""; this.vbox86.Add(this.label129); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox86[this.label129])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.progressLabel = new Gtk.Label(); this.progressLabel.Name = "progressLabel"; this.progressLabel.Xalign = 0F; this.progressLabel.LabelProp = Mono.Unix.Catalog.GetString("Downloading extensions..."); this.vbox86.Add(this.progressLabel); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox86[this.progressLabel])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.progressBar = new Gtk.ProgressBar(); this.progressBar.Name = "progressBar"; this.progressBar.PulseStep = 10000000149; this.vbox86.Add(this.progressBar); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox86[this.progressBar])); w28.Position = 4; w28.Expand = false; w28.Fill = false; this.wizardNotebook.Add(this.vbox86); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.vbox86])); w29.Position = 2; w29.TabExpand = false; // Notebook tab this.label110 = new Gtk.Label(); this.label110.Name = "label110"; this.label110.LabelProp = "label110"; this.wizardNotebook.SetTabLabel(this.vbox86, this.label110); this.label110.ShowAll(); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.scrolledwindow20 = new Gtk.ScrolledWindow(); this.scrolledwindow20.CanFocus = true; this.scrolledwindow20.Name = "scrolledwindow20"; this.scrolledwindow20.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow20.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow20.Gtk.Container+ContainerChild Gtk.Viewport w30 = new Gtk.Viewport(); // Container child viewport3.Gtk.Container+ContainerChild this.vbox91 = new Gtk.VBox(); this.vbox91.Name = "vbox91"; // Container child vbox91.Gtk.Box+BoxChild this.label130 = new Gtk.Label(); this.label130.Name = "label130"; this.label130.LabelProp = ""; this.vbox91.Add(this.label130); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox91[this.label130])); w31.Position = 0; // Container child vbox91.Gtk.Box+BoxChild this.imageError = new Gtk.Image(); this.imageError.Name = "imageError"; this.imageError.Yalign = 1F; this.imageError.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", Gtk.IconSize.Dialog, 48); this.vbox91.Add(this.imageError); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageError])); w32.Position = 1; w32.Expand = false; w32.Fill = false; w32.Padding = ((uint)(5)); // Container child vbox91.Gtk.Box+BoxChild this.imageWarn = new Gtk.Image(); this.imageWarn.Name = "imageWarn"; this.imageWarn.Yalign = 1F; this.imageWarn.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", Gtk.IconSize.Dialog, 48); this.vbox91.Add(this.imageWarn); Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageWarn])); w33.Position = 2; w33.Expand = false; w33.Fill = false; // Container child vbox91.Gtk.Box+BoxChild this.imageInfo = new Gtk.Image(); this.imageInfo.Name = "imageInfo"; this.imageInfo.Yalign = 1F; this.imageInfo.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Dialog, 48); this.vbox91.Add(this.imageInfo); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageInfo])); w34.Position = 3; w34.Expand = false; w34.Fill = false; // Container child vbox91.Gtk.Box+BoxChild this.hbox71 = new Gtk.HBox(); this.hbox71.Name = "hbox71"; // Container child hbox71.Gtk.Box+BoxChild this.labelResult = new Gtk.Label(); this.labelResult.WidthRequest = 450; this.labelResult.Name = "labelResult"; this.labelResult.Ypad = 9; this.labelResult.Yalign = 0F; this.labelResult.LabelProp = "Done"; this.labelResult.UseMarkup = true; this.labelResult.Wrap = true; this.labelResult.Justify = ((Gtk.Justification)(2)); this.hbox71.Add(this.labelResult); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox71[this.labelResult])); w35.PackType = ((Gtk.PackType)(1)); w35.Position = 0; this.vbox91.Add(this.hbox71); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox91[this.hbox71])); w36.Position = 4; w36.Expand = false; w36.Fill = false; // Container child vbox91.Gtk.Box+BoxChild this.label131 = new Gtk.Label(); this.label131.Name = "label131"; this.label131.LabelProp = ""; this.vbox91.Add(this.label131); Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.vbox91[this.label131])); w37.Position = 5; w30.Add(this.vbox91); this.scrolledwindow20.Add(w30); this.wizardNotebook.Add(this.scrolledwindow20); Gtk.Notebook.NotebookChild w40 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.scrolledwindow20])); w40.Position = 3; w40.TabExpand = false; // Notebook tab this.label111 = new Gtk.Label(); this.label111.Name = "label111"; this.label111.LabelProp = "label111"; this.wizardNotebook.SetTabLabel(this.scrolledwindow20, this.label111); this.label111.ShowAll(); w1.Add(this.wizardNotebook); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(w1[this.wizardNotebook])); w41.Position = 0; // Container child dialog-vbox9.Gtk.Box+BoxChild this.dialog_action_area9 = new Gtk.HButtonBox(); this.dialog_action_area9.Name = "dialog_action_area9"; this.dialog_action_area9.Spacing = 9; this.dialog_action_area9.BorderWidth = ((uint)(6)); this.dialog_action_area9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnCancel = new Gtk.Button(); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.dialog_action_area9.Add(this.btnCancel); // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnPrev = new Gtk.Button(); this.btnPrev.CanDefault = true; this.btnPrev.CanFocus = true; this.btnPrev.Name = "btnPrev"; this.btnPrev.UseStock = true; this.btnPrev.UseUnderline = true; this.btnPrev.Label = "gtk-go-back"; this.dialog_action_area9.Add(this.btnPrev); Gtk.ButtonBox.ButtonBoxChild w43 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnPrev])); w43.Position = 1; // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnNext = new Gtk.Button(); this.btnNext.CanDefault = true; this.btnNext.CanFocus = true; this.btnNext.Name = "btnNext"; this.btnNext.UseStock = true; this.btnNext.UseUnderline = true; this.btnNext.Label = "gtk-go-forward"; this.dialog_action_area9.Add(this.btnNext); Gtk.ButtonBox.ButtonBoxChild w44 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnNext])); w44.Position = 2; // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnOk = new Gtk.Button(); this.btnOk.CanDefault = true; this.btnOk.CanFocus = true; this.btnOk.Name = "btnOk"; this.btnOk.UseStock = true; this.btnOk.UseUnderline = true; this.btnOk.Label = "gtk-ok"; this.dialog_action_area9.Add(this.btnOk); Gtk.ButtonBox.ButtonBoxChild w45 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnOk])); w45.Position = 3; w1.Add(this.dialog_action_area9); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(w1[this.dialog_action_area9])); w46.PackType = ((Gtk.PackType)(1)); w46.Position = 2; w46.Expand = false; w46.Fill = false; // Internal child Mono.Addins.Gui.AddinInstallDialog.ActionArea Gtk.HButtonBox w47 = this.ActionArea; w47.Name = "hbuttonbox1"; w47.Spacing = 10; w47.BorderWidth = ((uint)(5)); w47.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); if ((this.Child != null)) { this.Child.ShowAll(); } this.btnOk.Hide(); w47.Hide(); this.Show(); this.repoCombo.Changed += new System.EventHandler(this.OnRepoChanged); this.button1.Clicked += new System.EventHandler(this.OnUpdateRepo); this.btnManageSites.Clicked += new System.EventHandler(this.OnManageSites); this.addinTree.CursorChanged += new System.EventHandler(this.OnActiveAddinChanged); this.filterComboBox.Changed += new System.EventHandler(this.OnFilterChanged); this.btnSelectAll.Clicked += new System.EventHandler(this.OnSelectAll); this.btnUnselectAll.Clicked += new System.EventHandler(this.OnUnselectAll); this.btnInfo.Clicked += new System.EventHandler(this.OnShowInfo); this.btnCancel.Clicked += new System.EventHandler(this.OnCancel); this.btnPrev.Clicked += new System.EventHandler(this.OnPrevPage); this.btnNext.Clicked += new System.EventHandler(this.OnNextPage); this.btnOk.Clicked += new System.EventHandler(this.OnOk); }
public void Run(IBrowsableCollection selection) { builder = new GtkBeans.Builder (null, "smugmug_export_dialog.ui", null); builder.Autoconnect (this); gallery_optionmenu = Gtk.ComboBox.NewText(); album_optionmenu = Gtk.ComboBox.NewText(); (edit_button.Parent as Gtk.HBox).PackStart (gallery_optionmenu); (album_button.Parent as Gtk.HBox).PackStart (album_optionmenu); (edit_button.Parent as Gtk.HBox).ReorderChild (gallery_optionmenu, 1); (album_button.Parent as Gtk.HBox).ReorderChild (album_optionmenu, 1); gallery_optionmenu.Show (); album_optionmenu.Show (); this.items = selection.Items; album_button.Sensitive = false; var view = new TrayView (selection); view.DisplayDates = false; view.DisplayTags = false; Dialog.Modal = false; Dialog.TransientFor = null; Dialog.Close += HandleCloseEvent; thumb_scrolledwindow.Add (view); view.Show (); Dialog.Show (); SmugMugAccountManager manager = SmugMugAccountManager.GetInstance (); manager.AccountListChanged += PopulateSmugMugOptionMenu; PopulateSmugMugOptionMenu (manager, null); if (edit_button != null) edit_button.Clicked += HandleEditGallery; Dialog.Response += HandleResponse; connect = true; HandleSizeActive (null, null); Connect (); LoadPreference (SCALE_KEY); LoadPreference (SIZE_KEY); LoadPreference (BROWSER_KEY); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ExportPOIDialog this.WidthRequest = 600; this.Name = "ocmgtk.ExportPOIDialog"; this.Title = Mono.Unix.Catalog.GetString("Export Garmin POI"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.Resizable = false; this.AllowGrow = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.ExportPOIDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("File:"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fileEntry = new Gtk.Entry(); this.fileEntry.CanFocus = true; this.fileEntry.Name = "fileEntry"; this.fileEntry.IsEditable = true; this.fileEntry.InvisibleChar = '●'; this.hbox1.Add(this.fileEntry); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.fileEntry])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.fileButton = new Gtk.Button(); this.fileButton.CanFocus = true; this.fileButton.Name = "fileButton"; // Container child fileButton.Gtk.Container+ContainerChild this.image3 = new Gtk.Image(); this.image3.Name = "image3"; this.image3.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-open", Gtk.IconSize.Menu, 16); this.fileButton.Add(this.image3); this.fileButton.Label = null; this.hbox1.Add(this.fileButton); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.fileButton])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.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.table1 = new Gtk.Table(((uint)(9)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.catagoryEntry = new Gtk.Entry(); this.catagoryEntry.CanFocus = true; this.catagoryEntry.Name = "catagoryEntry"; this.catagoryEntry.Text = Mono.Unix.Catalog.GetString("Geocaches"); this.catagoryEntry.IsEditable = true; this.catagoryEntry.InvisibleChar = '●'; this.table1.Add(this.catagoryEntry); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.catagoryEntry])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.descCombo = Gtk.ComboBox.NewText(); this.descCombo.AppendText(Mono.Unix.Catalog.GetString("Cache Name")); this.descCombo.AppendText(Mono.Unix.Catalog.GetString("Cache Code/Size/Hint")); this.descCombo.AppendText(Mono.Unix.Catalog.GetString("Cache Code/Size/Type")); this.descCombo.AppendText(Mono.Unix.Catalog.GetString("Full Paperless")); this.descCombo.Name = "descCombo"; this.descCombo.Active = 0; this.table1.Add(this.descCombo); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.descCombo])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.includeBMPCheck = new Gtk.CheckButton(); this.includeBMPCheck.CanFocus = true; this.includeBMPCheck.Name = "includeBMPCheck"; this.includeBMPCheck.Label = Mono.Unix.Catalog.GetString("BMP Icon:"); this.includeBMPCheck.DrawIndicator = true; this.includeBMPCheck.UseUnderline = true; this.hbox2.Add(this.includeBMPCheck); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox2[this.includeBMPCheck])); w9.Position = 0; w9.Expand = false; // Container child hbox2.Gtk.Box+BoxChild this.bmpFile = new Gtk.Entry(); this.bmpFile.Sensitive = false; this.bmpFile.CanFocus = true; this.bmpFile.Name = "bmpFile"; this.bmpFile.IsEditable = true; this.bmpFile.InvisibleChar = '●'; this.hbox2.Add(this.bmpFile); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox2[this.bmpFile])); w10.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.bmpButton = new Gtk.Button(); this.bmpButton.Sensitive = false; this.bmpButton.CanFocus = true; this.bmpButton.Name = "bmpButton"; // Container child bmpButton.Gtk.Container+ContainerChild this.image4 = new Gtk.Image(); this.image4.Name = "image4"; this.image4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-open", Gtk.IconSize.Menu, 16); this.bmpButton.Add(this.image4); this.bmpButton.Label = null; this.hbox2.Add(this.bmpButton); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox2[this.bmpButton])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hbox2); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.hbox2])); w13.TopAttach = ((uint)(8)); w13.BottomAttach = ((uint)(9)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.proxEntry = new Gtk.Entry(); this.proxEntry.Sensitive = false; this.proxEntry.CanFocus = true; this.proxEntry.Name = "proxEntry"; this.proxEntry.Text = Mono.Unix.Catalog.GetString("1"); this.proxEntry.IsEditable = true; this.proxEntry.InvisibleChar = '●'; this.hbox3.Add(this.proxEntry); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox3[this.proxEntry])); w14.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.proxCombo = Gtk.ComboBox.NewText(); this.proxCombo.AppendText(Mono.Unix.Catalog.GetString("kilometers")); this.proxCombo.AppendText(Mono.Unix.Catalog.GetString("miles")); this.proxCombo.Sensitive = false; this.proxCombo.Name = "proxCombo"; this.proxCombo.Active = 0; this.hbox3.Add(this.proxCombo); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox3[this.proxCombo])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.hbox3); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.hbox3])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.includeChildrenCheck = new Gtk.CheckButton(); this.includeChildrenCheck.CanFocus = true; this.includeChildrenCheck.Name = "includeChildrenCheck"; this.includeChildrenCheck.Label = Mono.Unix.Catalog.GetString("Include Child Waypoints"); this.includeChildrenCheck.DrawIndicator = true; this.includeChildrenCheck.UseUnderline = true; this.table1.Add(this.includeChildrenCheck); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.includeChildrenCheck])); w17.TopAttach = ((uint)(6)); w17.BottomAttach = ((uint)(7)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Name:"); this.table1.Add(this.label2); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Description:"); this.table1.Add(this.label3); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Category:"); this.table1.Add(this.label4); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.XOptions = ((Gtk.AttachOptions)(4)); w20.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.limitCaches = new Gtk.CheckButton(); this.limitCaches.CanFocus = true; this.limitCaches.Name = "limitCaches"; this.limitCaches.Label = Mono.Unix.Catalog.GetString("Limit Number of Geocaches"); this.limitCaches.DrawIndicator = true; this.limitCaches.UseUnderline = true; this.table1.Add(this.limitCaches); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.limitCaches])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.limitEntry = new Gtk.Entry(); this.limitEntry.Sensitive = false; this.limitEntry.CanFocus = true; this.limitEntry.Name = "limitEntry"; this.limitEntry.Text = Mono.Unix.Catalog.GetString("1000"); this.limitEntry.IsEditable = true; this.limitEntry.InvisibleChar = '●'; this.table1.Add(this.limitEntry); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.limitEntry])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.logCheck = new Gtk.CheckButton(); this.logCheck.CanFocus = true; this.logCheck.Name = "logCheck"; this.logCheck.Label = Mono.Unix.Catalog.GetString("Limit Number of Logs"); this.logCheck.DrawIndicator = true; this.logCheck.UseUnderline = true; this.table1.Add(this.logCheck); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.logCheck])); w23.TopAttach = ((uint)(5)); w23.BottomAttach = ((uint)(6)); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.logEntry = new Gtk.Entry(); this.logEntry.Sensitive = false; this.logEntry.CanFocus = true; this.logEntry.Name = "logEntry"; this.logEntry.Text = Mono.Unix.Catalog.GetString("5"); this.logEntry.IsEditable = true; this.logEntry.InvisibleChar = '●'; this.table1.Add(this.logEntry); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.logEntry])); w24.TopAttach = ((uint)(5)); w24.BottomAttach = ((uint)(6)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.nameCombo = Gtk.ComboBox.NewText(); this.nameCombo.AppendText(Mono.Unix.Catalog.GetString("Cache Code")); this.nameCombo.AppendText(Mono.Unix.Catalog.GetString("Cache Name")); this.nameCombo.Name = "nameCombo"; this.nameCombo.Active = 0; this.table1.Add(this.nameCombo); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.nameCombo])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.proximityAlertCheck = new Gtk.CheckButton(); this.proximityAlertCheck.CanFocus = true; this.proximityAlertCheck.Name = "proximityAlertCheck"; this.proximityAlertCheck.Label = Mono.Unix.Catalog.GetString("Proximity Alert:"); this.proximityAlertCheck.DrawIndicator = true; this.proximityAlertCheck.UseUnderline = true; this.table1.Add(this.proximityAlertCheck); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.proximityAlertCheck])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.useHTMLCheck = new Gtk.CheckButton(); this.useHTMLCheck.CanFocus = true; this.useHTMLCheck.Name = "useHTMLCheck"; this.useHTMLCheck.Label = Mono.Unix.Catalog.GetString("Convert HTML to Plain Text"); this.useHTMLCheck.DrawIndicator = true; this.useHTMLCheck.UseUnderline = true; this.table1.Add(this.useHTMLCheck); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.useHTMLCheck])); w27.TopAttach = ((uint)(7)); w27.BottomAttach = ((uint)(8)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment2.Add(this.table1); this.frame1.Add(this.GtkAlignment2); this.GtkLabel4 = new Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>POI Options</b>"); this.GtkLabel4.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel4; this.vbox2.Add(this.frame1); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1])); w30.Position = 1; w30.Expand = false; w30.Fill = false; w1.Add(this.vbox2); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Internal child ocmgtk.ExportPOIDialog.ActionArea Gtk.HButtonBox w32 = this.ActionArea; w32.Name = "dialog1_ActionArea"; w32.Spacing = 10; w32.BorderWidth = ((uint)(5)); w32.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w33 = ((Gtk.ButtonBox.ButtonBoxChild)(w32[this.buttonCancel])); w33.Expand = false; w33.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w34 = ((Gtk.ButtonBox.ButtonBoxChild)(w32[this.buttonOk])); w34.Position = 1; w34.Expand = false; w34.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 612; this.DefaultHeight = 415; this.Show(); this.fileButton.Clicked += new System.EventHandler(this.OnFileClick); this.proximityAlertCheck.Toggled += new System.EventHandler(this.OnProxToggle); this.logCheck.Toggled += new System.EventHandler(this.OnLogToggle); this.limitCaches.Toggled += new System.EventHandler(this.OnCacheToggle); this.includeBMPCheck.Toggled += new System.EventHandler(this.OnBMPToggle); this.bmpButton.Clicked += new System.EventHandler(this.OnBMPClick); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClick); this.buttonOk.Clicked += new System.EventHandler(this.OnOKClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.SourceView Stetic.BinContainer.Attach(this); this.Events = ((Gdk.EventMask)(256)); this.Name = "Gedcom.UI.GTK.Widgets.SourceView"; // Container child Gedcom.UI.GTK.Widgets.SourceView.Gtk.Container+ContainerChild this.Notebook = new Gtk.Notebook(); this.Notebook.CanFocus = true; this.Notebook.Name = "Notebook"; this.Notebook.CurrentPage = 2; // Container child Notebook.Gtk.Notebook+NotebookChild this.table1 = new Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(12)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.FiledByEntry = new Gtk.Entry(); this.FiledByEntry.CanFocus = true; this.FiledByEntry.Name = "FiledByEntry"; this.FiledByEntry.IsEditable = true; this.FiledByEntry.InvisibleChar = '●'; this.table1.Add(this.FiledByEntry); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.FiledByEntry])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.ScrapBookButton = new Gtk.Button(); this.ScrapBookButton.CanFocus = true; this.ScrapBookButton.Name = "ScrapBookButton"; // Container child ScrapBookButton.Gtk.Container+ContainerChild Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 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 = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20); w3.Add(w4); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w6 = new Gtk.Label(); w6.LabelProp = "Scrapbook"; w3.Add(w6); w2.Add(w3); this.ScrapBookButton.Add(w2); this.hbox4.Add(this.ScrapBookButton); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox4[this.ScrapBookButton])); w10.PackType = ((Gtk.PackType)(1)); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.table1.Add(this.hbox4); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.hbox4])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = "Publication Facts:"; this.table1.Add(this.label10); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.label10])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 0F; this.label18.LabelProp = "Author:"; this.table1.Add(this.label18); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.label18])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = "Title:"; this.table1.Add(this.label4); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = "Filed By:"; this.table1.Add(this.label8); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.label8])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.OriginatorEntry = new Gtk.Entry(); this.OriginatorEntry.CanFocus = true; this.OriginatorEntry.Name = "OriginatorEntry"; this.OriginatorEntry.IsEditable = true; this.OriginatorEntry.InvisibleChar = '●'; this.table1.Add(this.OriginatorEntry); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.OriginatorEntry])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.scrolledwindow5 = new Gtk.ScrolledWindow(); this.scrolledwindow5.CanFocus = true; this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.PublicationFactsTextView = new Gtk.TextView(); this.PublicationFactsTextView.CanFocus = true; this.PublicationFactsTextView.Name = "PublicationFactsTextView"; this.scrolledwindow5.Add(this.PublicationFactsTextView); this.table1.Add(this.scrolledwindow5); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.scrolledwindow5])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.TitleEntry = new Gtk.Entry(); this.TitleEntry.CanFocus = true; this.TitleEntry.Name = "TitleEntry"; this.TitleEntry.IsEditable = true; this.TitleEntry.InvisibleChar = '●'; this.table1.Add(this.TitleEntry); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.TitleEntry])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); this.Notebook.Add(this.table1); // Notebook tab this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = "Details"; this.Notebook.SetTabLabel(this.table1, this.label5); this.label5.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.table2 = new Gtk.Table(((uint)(6)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(12)); this.table2.BorderWidth = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.DateRecordedEntry = new Gtk.Entry(); this.DateRecordedEntry.CanFocus = true; this.DateRecordedEntry.Name = "DateRecordedEntry"; this.DateRecordedEntry.IsEditable = true; this.DateRecordedEntry.InvisibleChar = '●'; this.table2.Add(this.DateRecordedEntry); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.DateRecordedEntry])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.scrolledwindow6 = new Gtk.ScrolledWindow(); this.scrolledwindow6.CanFocus = true; this.scrolledwindow6.Name = "scrolledwindow6"; this.scrolledwindow6.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow6.Gtk.Container+ContainerChild Gtk.Viewport w22 = new Gtk.Viewport(); w22.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.EventGroupTreeView = new Gtk.TreeView(); this.EventGroupTreeView.CanFocus = true; this.EventGroupTreeView.Name = "EventGroupTreeView"; w22.Add(this.EventGroupTreeView); this.scrolledwindow6.Add(w22); this.hbox3.Add(this.scrolledwindow6); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.scrolledwindow6])); w25.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.vbuttonbox1 = new Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.Spacing = 6; this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.NewEventGroupButton = new Gtk.Button(); this.NewEventGroupButton.CanFocus = true; this.NewEventGroupButton.Name = "NewEventGroupButton"; this.NewEventGroupButton.UseStock = true; this.NewEventGroupButton.UseUnderline = true; this.NewEventGroupButton.Label = "gtk-new"; this.vbuttonbox1.Add(this.NewEventGroupButton); Gtk.ButtonBox.ButtonBoxChild w26 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.NewEventGroupButton])); w26.Expand = false; w26.Fill = false; this.hbox3.Add(this.vbuttonbox1); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox3[this.vbuttonbox1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.table2.Add(this.hbox3); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table2[this.hbox3])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.RightAttach = ((uint)(4)); // Container child table2.Gtk.Table+TableChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table2.Add(this.hseparator1); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table2[this.hseparator1])); w29.TopAttach = ((uint)(3)); w29.BottomAttach = ((uint)(4)); w29.RightAttach = ((uint)(4)); w29.XOptions = ((Gtk.AttachOptions)(4)); w29.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = "Event Groups:"; this.table2.Add(this.label1); Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table2[this.label1])); w30.TopAttach = ((uint)(4)); w30.BottomAttach = ((uint)(5)); w30.XOptions = ((Gtk.AttachOptions)(4)); w30.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label16 = new Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = "Date Recorded:"; this.table2.Add(this.label16); Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table2[this.label16])); w31.TopAttach = ((uint)(2)); w31.BottomAttach = ((uint)(3)); w31.XOptions = ((Gtk.AttachOptions)(4)); w31.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label17 = new Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 0F; this.label17.LabelProp = "Events in selected group:"; this.table2.Add(this.label17); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table2[this.label17])); w32.RightAttach = ((uint)(4)); w32.XOptions = ((Gtk.AttachOptions)(4)); w32.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "in"; this.table2.Add(this.label2); Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table2[this.label2])); w33.TopAttach = ((uint)(2)); w33.BottomAttach = ((uint)(3)); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((Gtk.AttachOptions)(4)); w33.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.PlaceRecordedEntry = new Gtk.Entry(); this.PlaceRecordedEntry.CanFocus = true; this.PlaceRecordedEntry.Name = "PlaceRecordedEntry"; this.PlaceRecordedEntry.IsEditable = true; this.PlaceRecordedEntry.InvisibleChar = '●'; this.table2.Add(this.PlaceRecordedEntry); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table2[this.PlaceRecordedEntry])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.LeftAttach = ((uint)(3)); w34.RightAttach = ((uint)(4)); w34.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.scrolledwindow9 = new Gtk.ScrolledWindow(); this.scrolledwindow9.CanFocus = true; this.scrolledwindow9.Name = "scrolledwindow9"; this.scrolledwindow9.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow9.Gtk.Container+ContainerChild Gtk.Viewport w35 = new Gtk.Viewport(); w35.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.EventTypeTreeView = new Gtk.TreeView(); this.EventTypeTreeView.CanFocus = true; this.EventTypeTreeView.Name = "EventTypeTreeView"; this.EventTypeTreeView.RulesHint = true; w35.Add(this.EventTypeTreeView); this.scrolledwindow9.Add(w35); this.table2.Add(this.scrolledwindow9); Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow9])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.RightAttach = ((uint)(4)); w38.XOptions = ((Gtk.AttachOptions)(4)); this.Notebook.Add(this.table2); Gtk.Notebook.NotebookChild w39 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table2])); w39.Position = 1; // Notebook tab this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = "Events Recorded"; this.Notebook.SetTabLabel(this.table2, this.label6); this.label6.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.table3 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(12)); this.table3.BorderWidth = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.AgencyTextBox = new Gtk.Entry(); this.AgencyTextBox.CanFocus = true; this.AgencyTextBox.Name = "AgencyTextBox"; this.AgencyTextBox.IsEditable = true; this.AgencyTextBox.InvisibleChar = '●'; this.table3.Add(this.AgencyTextBox); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table3[this.AgencyTextBox])); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.DataNotesView = new Gedcom.UI.GTK.Widgets.NotesView(); this.DataNotesView.Events = ((Gdk.EventMask)(256)); this.DataNotesView.Name = "DataNotesView"; this.DataNotesView.DataNotes = true; this.DataNotesView.ListOnly = false; this.DataNotesView.NoteOnly = false; this.table3.Add(this.DataNotesView); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table3[this.DataNotesView])); w41.TopAttach = ((uint)(1)); w41.BottomAttach = ((uint)(2)); w41.RightAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = "Agency:"; this.table3.Add(this.label3); Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table3[this.label3])); w42.XOptions = ((Gtk.AttachOptions)(4)); w42.YOptions = ((Gtk.AttachOptions)(4)); this.Notebook.Add(this.table3); Gtk.Notebook.NotebookChild w43 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table3])); w43.Position = 2; // Notebook tab this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = "Data Information"; this.Notebook.SetTabLabel(this.table3, this.label7); this.label7.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); this.scrolledwindow2.BorderWidth = ((uint)(6)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.TextTextView = new Gtk.TextView(); this.TextTextView.CanFocus = true; this.TextTextView.Name = "TextTextView"; this.scrolledwindow2.Add(this.TextTextView); this.Notebook.Add(this.scrolledwindow2); Gtk.Notebook.NotebookChild w45 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.scrolledwindow2])); w45.Position = 3; // Notebook tab this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = "Text"; this.Notebook.SetTabLabel(this.scrolledwindow2, this.label15); this.label15.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView(); this.NotesView.Events = ((Gdk.EventMask)(256)); this.NotesView.Name = "NotesView"; this.NotesView.DataNotes = false; this.NotesView.ListOnly = false; this.NotesView.NoteOnly = false; this.Notebook.Add(this.NotesView); Gtk.Notebook.NotebookChild w46 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView])); w46.Position = 4; // Notebook tab this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = "Notes"; this.Notebook.SetTabLabel(this.NotesView, this.label9); this.label9.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.table4 = new Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(12)); this.table4.BorderWidth = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.CallNumberEntry = new Gtk.Entry(); this.CallNumberEntry.CanFocus = true; this.CallNumberEntry.Name = "CallNumberEntry"; this.CallNumberEntry.IsEditable = true; this.CallNumberEntry.InvisibleChar = '●'; this.table4.Add(this.CallNumberEntry); Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table4[this.CallNumberEntry])); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(2)); w47.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = "Call Number:"; this.table4.Add(this.label12); Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table4[this.label12])); w48.XOptions = ((Gtk.AttachOptions)(4)); w48.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = "Media Type:"; this.table4.Add(this.label13); Gtk.Table.TableChild w49 = ((Gtk.Table.TableChild)(this.table4[this.label13])); w49.LeftAttach = ((uint)(2)); w49.RightAttach = ((uint)(3)); w49.XOptions = ((Gtk.AttachOptions)(4)); w49.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 0F; this.label14.LabelProp = "Notes:"; this.table4.Add(this.label14); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table4[this.label14])); w50.TopAttach = ((uint)(2)); w50.BottomAttach = ((uint)(3)); w50.XOptions = ((Gtk.AttachOptions)(4)); w50.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.MediaTypeCombo = new Gtk.ComboBox(); this.MediaTypeCombo.Name = "MediaTypeCombo"; this.table4.Add(this.MediaTypeCombo); Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table4[this.MediaTypeCombo])); w51.LeftAttach = ((uint)(3)); w51.RightAttach = ((uint)(4)); w51.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.RepoNotesView = new Gedcom.UI.GTK.Widgets.NotesView(); this.RepoNotesView.Events = ((Gdk.EventMask)(256)); this.RepoNotesView.Name = "RepoNotesView"; this.RepoNotesView.DataNotes = false; this.RepoNotesView.ListOnly = false; this.RepoNotesView.NoteOnly = false; this.table4.Add(this.RepoNotesView); Gtk.Table.TableChild w52 = ((Gtk.Table.TableChild)(this.table4[this.RepoNotesView])); w52.TopAttach = ((uint)(3)); w52.BottomAttach = ((uint)(4)); w52.RightAttach = ((uint)(4)); w52.XOptions = ((Gtk.AttachOptions)(4)); w52.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.scrolledwindow4 = new Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.CallNumberTreeView = new Gtk.TreeView(); this.CallNumberTreeView.CanFocus = true; this.CallNumberTreeView.Name = "CallNumberTreeView"; this.scrolledwindow4.Add(this.CallNumberTreeView); this.table4.Add(this.scrolledwindow4); Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table4[this.scrolledwindow4])); w54.TopAttach = ((uint)(1)); w54.BottomAttach = ((uint)(2)); w54.RightAttach = ((uint)(4)); this.Notebook.Add(this.table4); Gtk.Notebook.NotebookChild w55 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table4])); w55.Position = 5; // Notebook tab this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = "Repositories"; this.Notebook.SetTabLabel(this.table4, this.label11); this.label11.ShowAll(); this.Add(this.Notebook); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.Notebook.SwitchPage += new Gtk.SwitchPageHandler(this.OnNotebook_SwitchPage); this.ScrapBookButton.Clicked += new System.EventHandler(this.OnScrapbookButton_Clicked); this.EventGroupTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnEventGroupTreeView_ButtonPressEvent); this.NewEventGroupButton.Clicked += new System.EventHandler(this.OnNewEventGroupButton_Clicked); this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation); this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog this.Name = "MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog"; this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(1)); this.SkipTaskbarHint = true; this.HasSeparator = false; // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook = new Gtk.Notebook(); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; // Container child notebook.Gtk.Notebook+NotebookChild this.tableGeneral = new Gtk.Table(((uint)(7)), ((uint)(2)), false); this.tableGeneral.Name = "tableGeneral"; this.tableGeneral.RowSpacing = ((uint)(6)); this.tableGeneral.ColumnSpacing = ((uint)(6)); this.tableGeneral.BorderWidth = ((uint)(6)); // Container child tableGeneral.Gtk.Table+TableChild this.comboProvider = new Gtk.ComboBox(); this.comboProvider.Name = "comboProvider"; this.tableGeneral.Add(this.comboProvider); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.tableGeneral[this.comboProvider])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.entryName = new Gtk.Entry(); this.entryName.CanDefault = true; this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.ActivatesDefault = true; this.entryName.InvisibleChar = '●'; this.tableGeneral.Add(this.entryName); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryName])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.entryServer = new Gtk.Entry(); this.entryServer.CanFocus = true; this.entryServer.Name = "entryServer"; this.entryServer.IsEditable = true; this.entryServer.InvisibleChar = '●'; this.tableGeneral.Add(this.entryServer); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryServer])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.entryUsername = new Gtk.Entry(); this.entryUsername.CanFocus = true; this.entryUsername.Name = "entryUsername"; this.entryUsername.IsEditable = true; this.entryUsername.InvisibleChar = '●'; this.tableGeneral.Add(this.entryUsername); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryUsername])); w5.TopAttach = ((uint)(4)); w5.BottomAttach = ((uint)(5)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.hboxDatabase = new Gtk.HBox(); this.hboxDatabase.Name = "hboxDatabase"; this.hboxDatabase.Spacing = 6; // Container child hboxDatabase.Gtk.Box+BoxChild this.comboDatabase = Gtk.ComboBoxEntry.NewText(); this.comboDatabase.Name = "comboDatabase"; this.hboxDatabase.Add(this.comboDatabase); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.comboDatabase])); w6.Position = 0; // Container child hboxDatabase.Gtk.Box+BoxChild this.buttonRefresh = new Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseStock = true; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = "gtk-refresh"; this.hboxDatabase.Add(this.buttonRefresh); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonRefresh])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hboxDatabase.Gtk.Box+BoxChild this.buttonOpen = new Gtk.Button(); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseStock = true; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = "gtk-open"; this.hboxDatabase.Add(this.buttonOpen); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonOpen])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.tableGeneral.Add(this.hboxDatabase); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.tableGeneral[this.hboxDatabase])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.hboxPassword = new Gtk.HBox(); this.hboxPassword.Name = "hboxPassword"; this.hboxPassword.Spacing = 6; // Container child hboxPassword.Gtk.Box+BoxChild this.entryPassword = new Gtk.Entry(); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.Visibility = false; this.entryPassword.InvisibleChar = '●'; this.hboxPassword.Add(this.entryPassword); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hboxPassword[this.entryPassword])); w10.Position = 0; // Container child hboxPassword.Gtk.Box+BoxChild this.checkSavePassword = new Gtk.CheckButton(); this.checkSavePassword.CanFocus = true; this.checkSavePassword.Name = "checkSavePassword"; this.checkSavePassword.Label = Mono.Unix.Catalog.GetString("Save Password"); this.checkSavePassword.Active = true; this.checkSavePassword.DrawIndicator = true; this.checkSavePassword.UseUnderline = true; this.hboxPassword.Add(this.checkSavePassword); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hboxPassword[this.checkSavePassword])); w11.Position = 1; w11.Expand = false; this.tableGeneral.Add(this.hboxPassword); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.tableGeneral[this.hboxPassword])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Type"); this.tableGeneral.Add(this.label3); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label3])); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Name"); this.tableGeneral.Add(this.label4); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label4])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Server"); this.tableGeneral.Add(this.label5); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label5])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Port"); this.tableGeneral.Add(this.label6); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label6])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Username"); this.tableGeneral.Add(this.label7); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label7])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Password"); this.tableGeneral.Add(this.label8); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label8])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Database"); this.tableGeneral.Add(this.label9); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label9])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.spinPort = new Gtk.SpinButton(1, 65535, 1); this.spinPort.CanFocus = true; this.spinPort.Name = "spinPort"; this.spinPort.Adjustment.PageIncrement = 10; this.spinPort.ClimbRate = 1; this.spinPort.Numeric = true; this.spinPort.Value = 1; this.tableGeneral.Add(this.spinPort); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.tableGeneral[this.spinPort])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((Gtk.AttachOptions)(4)); w20.YOptions = ((Gtk.AttachOptions)(4)); this.notebook.Add(this.tableGeneral); Gtk.Notebook.NotebookChild w21 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.tableGeneral])); w21.TabExpand = false; // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("General"); this.notebook.SetTabLabel(this.tableGeneral, this.label1); this.label1.ShowAll(); // Container child notebook.Gtk.Notebook+NotebookChild this.tableAdvanced = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.tableAdvanced.Name = "tableAdvanced"; this.tableAdvanced.RowSpacing = ((uint)(6)); this.tableAdvanced.ColumnSpacing = ((uint)(6)); this.tableAdvanced.BorderWidth = ((uint)(6)); // Container child tableAdvanced.Gtk.Table+TableChild this.checkCustom = new Gtk.CheckButton(); this.checkCustom.CanFocus = true; this.checkCustom.Name = "checkCustom"; this.checkCustom.Label = Mono.Unix.Catalog.GetString("Use custom connection string"); this.checkCustom.DrawIndicator = true; this.checkCustom.UseUnderline = true; this.tableAdvanced.Add(this.checkCustom); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.checkCustom])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Min Pool Size"); this.tableAdvanced.Add(this.label10); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.label10])); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Max Pool Size"); this.tableAdvanced.Add(this.label11); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.label11])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.scrolledwindow = new Gtk.ScrolledWindow(); this.scrolledwindow.Sensitive = false; this.scrolledwindow.CanFocus = true; this.scrolledwindow.Name = "scrolledwindow"; this.scrolledwindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow.Gtk.Container+ContainerChild this.textConnectionString = new Gtk.TextView(); this.textConnectionString.CanFocus = true; this.textConnectionString.Name = "textConnectionString"; this.scrolledwindow.Add(this.textConnectionString); this.tableAdvanced.Add(this.scrolledwindow); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.scrolledwindow])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.RightAttach = ((uint)(2)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.spinMaxPoolSize = new Gtk.SpinButton(1, 100, 1); this.spinMaxPoolSize.CanFocus = true; this.spinMaxPoolSize.Name = "spinMaxPoolSize"; this.spinMaxPoolSize.Adjustment.PageIncrement = 10; this.spinMaxPoolSize.ClimbRate = 1; this.spinMaxPoolSize.Numeric = true; this.spinMaxPoolSize.Value = 5; this.tableAdvanced.Add(this.spinMaxPoolSize); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.spinMaxPoolSize])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.spinMinPoolSize = new Gtk.SpinButton(1, 100, 1); this.spinMinPoolSize.CanFocus = true; this.spinMinPoolSize.Name = "spinMinPoolSize"; this.spinMinPoolSize.Adjustment.PageIncrement = 10; this.spinMinPoolSize.ClimbRate = 1; this.spinMinPoolSize.Numeric = true; this.spinMinPoolSize.Value = 1; this.tableAdvanced.Add(this.spinMinPoolSize); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.spinMinPoolSize])); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); this.notebook.Add(this.tableAdvanced); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.tableAdvanced])); w29.Position = 1; w29.TabExpand = false; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Advanced"); this.notebook.SetTabLabel(this.tableAdvanced, this.label2); this.label2.ShowAll(); w1.Add(this.notebook); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(w1[this.notebook])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.ActionArea Gtk.HButtonBox w31 = this.ActionArea; w31.Name = "dialog1_ActionArea"; w31.Spacing = 6; w31.BorderWidth = ((uint)(5)); w31.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w32 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonCancel])); w32.Expand = false; w32.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w33 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonOk])); w33.Position = 1; w33.Expand = false; w33.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 606; this.DefaultHeight = 351; this.entryName.HasDefault = true; this.Show(); this.spinPort.Changed += new System.EventHandler(this.PortChanged); this.entryPassword.Changed += new System.EventHandler(this.PasswordChanged); this.buttonRefresh.Clicked += new System.EventHandler(this.RefreshClicked); this.buttonOpen.Clicked += new System.EventHandler(this.OpenClicked); this.entryUsername.Changed += new System.EventHandler(this.UsernameChanged); this.entryServer.Changed += new System.EventHandler(this.ServerChanged); this.entryName.Changed += new System.EventHandler(this.NameChanged); this.comboProvider.Changed += new System.EventHandler(this.ProviderChanged); this.spinMinPoolSize.Changed += new System.EventHandler(this.MinPoolSizeChanged); this.spinMaxPoolSize.Changed += new System.EventHandler(this.MaxPoolSizeChanged); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOkClicked); }
public void Run(IBrowsableCollection selection) { var builder = new GtkBeans.Builder (null, "gallery_export_dialog.ui", null); builder.Autoconnect (this); export_dialog = new Gtk.Dialog (builder.GetRawObject ("gallery_export_dialog")); album_optionmenu = new Gtk.ComboBox (); (album_button.Parent as Gtk.HBox).PackStart (album_optionmenu); (album_button.Parent as Gtk.HBox).ReorderChild (album_optionmenu, 1); album_optionmenu.Show (); gallery_optionmenu = new Gtk.ComboBox (); (edit_button.Parent as Gtk.HBox).PackStart (gallery_optionmenu); (edit_button.Parent as Gtk.HBox).ReorderChild (gallery_optionmenu, 1); gallery_optionmenu.Show (); this.items = selection.Items; Array.Sort<IPhoto> (this.items, new IPhotoComparer.CompareDateName ()); album_button.Sensitive = false; var view = new TrayView (selection); view.DisplayDates = false; view.DisplayTags = false; export_dialog.Modal = false; export_dialog.TransientFor = null; thumb_scrolledwindow.Add (view); view.Show (); export_dialog.Show (); GalleryAccountManager manager = GalleryAccountManager.GetInstance (); manager.AccountListChanged += PopulateGalleryOptionMenu; PopulateGalleryOptionMenu (manager, null); if (edit_button != null) edit_button.Clicked += HandleEditGallery; export_dialog.Response += HandleResponse; connect = true; HandleSizeActive (null, null); Connect (); LoadPreference (SCALE_KEY); LoadPreference (SIZE_KEY); LoadPreference (BROWSER_KEY); LoadPreference (META_KEY); }
public override void Initialize() { Widget = (Gtk.ComboBox) CreateWidget (); var cr = new Gtk.CellRendererText (); Widget.PackStart (cr, false); Widget.AddAttribute (cr, "text", 0); Widget.Show (); Widget.RowSeparatorFunc = IsRowSeparator; }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.IndividualView Stetic.BinContainer.Attach(this); this.Events = ((Gdk.EventMask)(256)); this.Name = "Gedcom.UI.GTK.Widgets.IndividualView"; // Container child Gedcom.UI.GTK.Widgets.IndividualView.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.Notebook = new Gtk.Notebook(); this.Notebook.CanFocus = true; this.Notebook.Name = "Notebook"; this.Notebook.CurrentPage = 3; // Container child Notebook.Gtk.Notebook+NotebookChild this.table1 = new Gtk.Table(((uint)(5)), ((uint)(7)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(12)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.BornInEntry = new Gtk.Entry(); this.BornInEntry.CanFocus = true; this.BornInEntry.Name = "BornInEntry"; this.BornInEntry.IsEditable = true; this.BornInEntry.InvisibleChar = '●'; this.table1.Add(this.BornInEntry); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.BornInEntry])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(4)); w1.RightAttach = ((uint)(7)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.DateBornEntry = new Gtk.Entry(); this.DateBornEntry.CanFocus = true; this.DateBornEntry.Name = "DateBornEntry"; this.DateBornEntry.IsEditable = true; this.DateBornEntry.InvisibleChar = '●'; this.table1.Add(this.DateBornEntry); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.DateBornEntry])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.DateBornSourceButton = new Gtk.Button(); this.DateBornSourceButton.CanFocus = true; this.DateBornSourceButton.Name = "DateBornSourceButton"; // Container child DateBornSourceButton.Gtk.Container+ContainerChild this.image440 = new Gtk.Image(); this.image440.Name = "image440"; this.image440.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20); this.DateBornSourceButton.Add(this.image440); this.DateBornSourceButton.Label = null; this.table1.Add(this.DateBornSourceButton); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.DateBornSourceButton])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.DateDiedEntry = new Gtk.Entry(); this.DateDiedEntry.CanFocus = true; this.DateDiedEntry.Name = "DateDiedEntry"; this.DateDiedEntry.IsEditable = true; this.DateDiedEntry.InvisibleChar = '●'; this.table1.Add(this.DateDiedEntry); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.DateDiedEntry])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.DateDiedSourceButton = new Gtk.Button(); this.DateDiedSourceButton.CanFocus = true; this.DateDiedSourceButton.Name = "DateDiedSourceButton"; // Container child DateDiedSourceButton.Gtk.Container+ContainerChild this.image438 = new Gtk.Image(); this.image438.Name = "image438"; this.image438.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20); this.DateDiedSourceButton.Add(this.image438); this.DateDiedSourceButton.Label = null; this.table1.Add(this.DateDiedSourceButton); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.DateDiedSourceButton])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.DeleteButton = new Gtk.Button(); this.DeleteButton.CanFocus = true; this.DeleteButton.Name = "DeleteButton"; // Container child DeleteButton.Gtk.Container+ContainerChild this.image415 = new Gtk.Image(); this.image415.Name = "image415"; this.image415.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16); this.DeleteButton.Add(this.image415); this.DeleteButton.Label = null; this.table1.Add(this.DeleteButton); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.DeleteButton])); w9.LeftAttach = ((uint)(6)); w9.RightAttach = ((uint)(7)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.DiedInEntry = new Gtk.Entry(); this.DiedInEntry.CanFocus = true; this.DiedInEntry.Name = "DiedInEntry"; this.DiedInEntry.IsEditable = true; this.DiedInEntry.InvisibleChar = '●'; this.table1.Add(this.DiedInEntry); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.DiedInEntry])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(4)); w10.RightAttach = ((uint)(7)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.FactView = new Gedcom.UI.GTK.Widgets.FactView(); this.FactView.Events = ((Gdk.EventMask)(256)); this.FactView.Name = "FactView"; this.table1.Add(this.FactView); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.FactView])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.RightAttach = ((uint)(7)); w11.YOptions = ((Gtk.AttachOptions)(7)); // Container child table1.Gtk.Table+TableChild this.hseparator3 = new Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.table1.Add(this.hseparator3); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.hseparator3])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.RightAttach = ((uint)(7)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.IndiScrapbookButton = new Gtk.Button(); this.IndiScrapbookButton.CanFocus = true; this.IndiScrapbookButton.Name = "IndiScrapbookButton"; // Container child IndiScrapbookButton.Gtk.Container+ContainerChild Gtk.Alignment w13 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w14 = new Gtk.HBox(); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w15 = new Gtk.Image(); w15.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20); w14.Add(w15); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w17 = new Gtk.Label(); w17.LabelProp = "Scrapbook"; w14.Add(w17); w13.Add(w14); this.IndiScrapbookButton.Add(w13); this.table1.Add(this.IndiScrapbookButton); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.IndiScrapbookButton])); w21.LeftAttach = ((uint)(5)); w21.RightAttach = ((uint)(6)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = "in:"; this.table1.Add(this.label10); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.label10])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = "in:"; this.table1.Add(this.label11); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label11])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.LeftAttach = ((uint)(3)); w23.RightAttach = ((uint)(4)); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 0F; this.label18.LabelProp = "Date Born:"; this.table1.Add(this.label18); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label18])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 0F; this.label19.LabelProp = "Date Died:"; this.table1.Add(this.label19); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.label19])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = "Sex:"; this.table1.Add(this.label9); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.label9])); w26.LeftAttach = ((uint)(3)); w26.RightAttach = ((uint)(4)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NameButton = new Gtk.Button(); this.NameButton.CanFocus = true; this.NameButton.Name = "NameButton"; // Container child NameButton.Gtk.Container+ContainerChild this.SpouseNameLabel = new Gtk.Label(); this.SpouseNameLabel.Name = "SpouseNameLabel"; this.SpouseNameLabel.Xalign = 1F; this.SpouseNameLabel.LabelProp = "Name:"; this.NameButton.Add(this.SpouseNameLabel); this.NameButton.Label = null; this.table1.Add(this.NameButton); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.NameButton])); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NameEntry = new Gtk.Entry(); this.NameEntry.CanFocus = true; this.NameEntry.Name = "NameEntry"; this.NameEntry.IsEditable = true; this.NameEntry.InvisibleChar = '●'; this.table1.Add(this.NameEntry); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table1[this.NameEntry])); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NameSourceButton = new Gtk.Button(); this.NameSourceButton.CanFocus = true; this.NameSourceButton.Name = "NameSourceButton"; // Container child NameSourceButton.Gtk.Container+ContainerChild this.image439 = new Gtk.Image(); this.image439.Name = "image439"; this.image439.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20); this.NameSourceButton.Add(this.image439); this.NameSourceButton.Label = null; this.table1.Add(this.NameSourceButton); Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table1[this.NameSourceButton])); w31.LeftAttach = ((uint)(2)); w31.RightAttach = ((uint)(3)); w31.XOptions = ((Gtk.AttachOptions)(4)); w31.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SexComboBox = Gtk.ComboBox.NewText(); this.SexComboBox.AppendText("Undetermined"); this.SexComboBox.AppendText("Male"); this.SexComboBox.AppendText("Female"); this.SexComboBox.AppendText("Both"); this.SexComboBox.AppendText("Neuter"); this.SexComboBox.Name = "SexComboBox"; this.SexComboBox.Active = 0; this.table1.Add(this.SexComboBox); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table1[this.SexComboBox])); w32.LeftAttach = ((uint)(4)); w32.RightAttach = ((uint)(5)); w32.XOptions = ((Gtk.AttachOptions)(4)); w32.YOptions = ((Gtk.AttachOptions)(4)); this.Notebook.Add(this.table1); // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "Facts"; this.Notebook.SetTabLabel(this.table1, this.label2); this.label2.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.table3 = new Gtk.Table(((uint)(3)), ((uint)(5)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(12)); this.table3.BorderWidth = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.hseparator4 = new Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.table3.Add(this.hseparator4); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table3[this.hseparator4])); w34.TopAttach = ((uint)(1)); w34.BottomAttach = ((uint)(2)); w34.RightAttach = ((uint)(5)); w34.XOptions = ((Gtk.AttachOptions)(4)); w34.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.MarriageView = new Gedcom.UI.GTK.Widgets.MarriageView(); this.MarriageView.Events = ((Gdk.EventMask)(256)); this.MarriageView.Name = "MarriageView"; this.table3.Add(this.MarriageView); Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table3[this.MarriageView])); w35.RightAttach = ((uint)(5)); w35.XOptions = ((Gtk.AttachOptions)(4)); w35.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.scrolledwindow8 = new Gtk.ScrolledWindow(); this.scrolledwindow8.CanFocus = true; this.scrolledwindow8.Name = "scrolledwindow8"; this.scrolledwindow8.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow8.Gtk.Container+ContainerChild Gtk.Viewport w36 = new Gtk.Viewport(); w36.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.MarriageTreeView = new Gtk.TreeView(); this.MarriageTreeView.CanFocus = true; this.MarriageTreeView.Name = "MarriageTreeView"; w36.Add(this.MarriageTreeView); this.scrolledwindow8.Add(w36); this.table3.Add(this.scrolledwindow8); Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table3[this.scrolledwindow8])); w39.TopAttach = ((uint)(2)); w39.BottomAttach = ((uint)(3)); w39.RightAttach = ((uint)(5)); w39.XOptions = ((Gtk.AttachOptions)(7)); w39.YOptions = ((Gtk.AttachOptions)(7)); this.Notebook.Add(this.table3); Gtk.Notebook.NotebookChild w40 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table3])); w40.Position = 1; // Notebook tab this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = "Marriage"; this.Notebook.SetTabLabel(this.table3, this.label6); this.label6.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.AddressView = new Gedcom.UI.GTK.Widgets.AddressView(); this.AddressView.Events = ((Gdk.EventMask)(256)); this.AddressView.Name = "AddressView"; this.Notebook.Add(this.AddressView); Gtk.Notebook.NotebookChild w41 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.AddressView])); w41.Position = 2; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = "Addresses"; this.Notebook.SetTabLabel(this.AddressView, this.label3); this.label3.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.table6 = new Gtk.Table(((uint)(4)), ((uint)(5)), false); this.table6.Name = "table6"; this.table6.RowSpacing = ((uint)(6)); this.table6.ColumnSpacing = ((uint)(12)); this.table6.BorderWidth = ((uint)(6)); // Container child table6.Gtk.Table+TableChild this.HeightEntry = new Gtk.Entry(); this.HeightEntry.CanFocus = true; this.HeightEntry.Name = "HeightEntry"; this.HeightEntry.IsEditable = true; this.HeightEntry.InvisibleChar = '●'; this.table6.Add(this.HeightEntry); Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table6[this.HeightEntry])); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((Gtk.AttachOptions)(4)); w42.YOptions = ((Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label30 = new Gtk.Label(); this.label30.Name = "label30"; this.label30.Xalign = 0F; this.label30.LabelProp = "Height:"; this.table6.Add(this.label30); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table6[this.label30])); w43.XOptions = ((Gtk.AttachOptions)(4)); w43.YOptions = ((Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label33 = new Gtk.Label(); this.label33.Name = "label33"; this.label33.Xalign = 0F; this.label33.LabelProp = "Weight:"; this.table6.Add(this.label33); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table6[this.label33])); w44.TopAttach = ((uint)(1)); w44.BottomAttach = ((uint)(2)); w44.XOptions = ((Gtk.AttachOptions)(4)); w44.YOptions = ((Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label34 = new Gtk.Label(); this.label34.Name = "label34"; this.label34.Xalign = 0F; this.label34.Yalign = 0F; this.label34.LabelProp = "Cause of Death:"; this.table6.Add(this.label34); Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table6[this.label34])); w45.TopAttach = ((uint)(2)); w45.BottomAttach = ((uint)(3)); w45.XOptions = ((Gtk.AttachOptions)(4)); w45.YOptions = ((Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.label35 = new Gtk.Label(); this.label35.Name = "label35"; this.label35.Xalign = 0F; this.label35.Yalign = 0F; this.label35.LabelProp = "Medical Information:"; this.table6.Add(this.label35); Gtk.Table.TableChild w46 = ((Gtk.Table.TableChild)(this.table6[this.label35])); w46.TopAttach = ((uint)(3)); w46.BottomAttach = ((uint)(4)); w46.XOptions = ((Gtk.AttachOptions)(4)); w46.YOptions = ((Gtk.AttachOptions)(4)); // Container child table6.Gtk.Table+TableChild this.scrolledwindow5 = new Gtk.ScrolledWindow(); this.scrolledwindow5.CanFocus = true; this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.MedicalInformationTextView = new Gtk.TextView(); this.MedicalInformationTextView.CanFocus = true; this.MedicalInformationTextView.Name = "MedicalInformationTextView"; this.scrolledwindow5.Add(this.MedicalInformationTextView); this.table6.Add(this.scrolledwindow5); Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table6[this.scrolledwindow5])); w48.TopAttach = ((uint)(3)); w48.BottomAttach = ((uint)(4)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(5)); // Container child table6.Gtk.Table+TableChild this.scrolledwindow6 = new Gtk.ScrolledWindow(); this.scrolledwindow6.CanFocus = true; this.scrolledwindow6.Name = "scrolledwindow6"; this.scrolledwindow6.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow6.Gtk.Container+ContainerChild this.CauseOfDeathTextView = new Gtk.TextView(); this.CauseOfDeathTextView.CanFocus = true; this.CauseOfDeathTextView.Name = "CauseOfDeathTextView"; this.scrolledwindow6.Add(this.CauseOfDeathTextView); this.table6.Add(this.scrolledwindow6); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table6[this.scrolledwindow6])); w50.TopAttach = ((uint)(2)); w50.BottomAttach = ((uint)(3)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(5)); // Container child table6.Gtk.Table+TableChild this.WeightEntry = new Gtk.Entry(); this.WeightEntry.CanFocus = true; this.WeightEntry.Name = "WeightEntry"; this.WeightEntry.IsEditable = true; this.WeightEntry.InvisibleChar = '●'; this.table6.Add(this.WeightEntry); Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table6[this.WeightEntry])); w51.TopAttach = ((uint)(1)); w51.BottomAttach = ((uint)(2)); w51.LeftAttach = ((uint)(1)); w51.RightAttach = ((uint)(2)); w51.XOptions = ((Gtk.AttachOptions)(4)); w51.YOptions = ((Gtk.AttachOptions)(4)); this.Notebook.Add(this.table6); Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table6])); w52.Position = 3; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = "Medical"; this.Notebook.SetTabLabel(this.table6, this.label4); this.label4.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = "label5"; this.Notebook.Add(this.label5); Gtk.Notebook.NotebookChild w53 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.label5])); w53.Position = 4; // Notebook tab this.label40 = new Gtk.Label(); this.label40.Name = "label40"; this.label40.LabelProp = "Lineage"; this.Notebook.SetTabLabel(this.label5, this.label40); this.label40.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView(); this.NotesView.Events = ((Gdk.EventMask)(256)); this.NotesView.Name = "NotesView"; this.NotesView.DataNotes = false; this.NotesView.ListOnly = false; this.NotesView.NoteOnly = false; this.Notebook.Add(this.NotesView); Gtk.Notebook.NotebookChild w54 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView])); w54.Position = 5; // Notebook tab this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = "Notes"; this.Notebook.SetTabLabel(this.NotesView, this.label7); this.label7.ShowAll(); this.vbox1.Add(this.Notebook); Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(this.vbox1[this.Notebook])); w55.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; // Container child vbox5.Gtk.Box+BoxChild this.SwitchBox = new Gtk.VBox(); this.SwitchBox.Name = "SwitchBox"; this.SwitchBox.Spacing = 6; // Container child SwitchBox.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = "Switch to this individual's:"; this.SwitchBox.Add(this.label1); Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild)(this.SwitchBox[this.label1])); w56.Position = 0; w56.Expand = false; w56.Fill = false; // Container child SwitchBox.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.ParentsCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox(); this.ParentsCombo.Name = "ParentsCombo"; this.ParentsCombo.Active = 0; this.ParentsCombo.NoIndividualText = "Parents"; this.hbox3.Add(this.ParentsCombo); Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.hbox3[this.ParentsCombo])); w57.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.ChildrenCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox(); this.ChildrenCombo.Name = "ChildrenCombo"; this.ChildrenCombo.Active = 0; this.ChildrenCombo.NoIndividualText = "Children"; this.hbox3.Add(this.ChildrenCombo); Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild)(this.hbox3[this.ChildrenCombo])); w58.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.SpousesCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox(); this.SpousesCombo.Name = "SpousesCombo"; this.SpousesCombo.Active = 0; this.SpousesCombo.NoIndividualText = "Spouses"; this.hbox3.Add(this.SpousesCombo); Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.hbox3[this.SpousesCombo])); w59.Position = 2; // Container child hbox3.Gtk.Box+BoxChild this.SiblingsCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox(); this.SiblingsCombo.Name = "SiblingsCombo"; this.SiblingsCombo.Active = 0; this.SiblingsCombo.NoIndividualText = "Siblings"; this.hbox3.Add(this.SiblingsCombo); Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox3[this.SiblingsCombo])); w60.Position = 3; this.SwitchBox.Add(this.hbox3); Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(this.SwitchBox[this.hbox3])); w61.Position = 1; w61.Expand = false; w61.Fill = false; this.vbox5.Add(this.SwitchBox); Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.vbox5[this.SwitchBox])); w62.Position = 0; w62.Expand = false; w62.Fill = false; this.vbox1.Add(this.vbox5); Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox5])); w63.Position = 1; w63.Expand = false; w63.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.NameSourceButton.Clicked += new System.EventHandler(this.OnNameSourceButton_Clicked); this.NameButton.Clicked += new System.EventHandler(this.OnNameButton_Clicked); this.IndiScrapbookButton.Clicked += new System.EventHandler(this.OnIndiScrapbookButton_Clicked); this.FactView.MoreInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnFactView_MoreInformation); this.DiedInEntry.Changed += new System.EventHandler(this.Died_Changed); this.DeleteButton.Clicked += new System.EventHandler(this.OnDeleteButton_Clicked); this.DateDiedSourceButton.Clicked += new System.EventHandler(this.OnDateDiedSourceButton_Clicked); this.DateDiedEntry.Changed += new System.EventHandler(this.Died_Changed); this.DateBornSourceButton.Clicked += new System.EventHandler(this.OnDateBornSourceButton_Clicked); this.DateBornEntry.Changed += new System.EventHandler(this.Born_Changed); this.BornInEntry.Changed += new System.EventHandler(this.Born_Changed); this.AddressView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnAddressView_ShowSourceCitation); this.AddressView.ShowScrapBook += new System.EventHandler<Gedcom.UI.Common.ScrapBookArgs>(this.OnAddressView_ShowScrapBook); this.AddressView.MoreFactInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnAddressView_MoreFactInformation); this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation); this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote); this.ParentsCombo.Changed += new System.EventHandler(this.OnParentsCombo_Changed); this.ChildrenCombo.Changed += new System.EventHandler(this.OnChildrenCombo_Changed); this.SpousesCombo.Changed += new System.EventHandler(this.OnSpousesCombo_Changed); this.SiblingsCombo.Changed += new System.EventHandler(this.OnSiblingsCombo_Changed); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.CurvesDialog this.Name = "Pinta.CurvesDialog"; this.Title = Mono.Unix.Catalog.GetString("Curves"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.SkipTaskbarHint = true; // Internal child Pinta.CurvesDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labelMap = new Gtk.Label(); this.labelMap.Name = "labelMap"; this.labelMap.LabelProp = Mono.Unix.Catalog.GetString("Transfer Map"); this.hbox1.Add(this.labelMap); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.labelMap])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hseparatorMap = new Gtk.HSeparator(); this.hseparatorMap.Name = "hseparatorMap"; this.hbox1.Add(this.hseparatorMap); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparatorMap])); w3.Position = 1; w1.Add(this.hbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.comboMap = Gtk.ComboBox.NewText(); this.comboMap.AppendText(Mono.Unix.Catalog.GetString("RGB")); this.comboMap.AppendText(Mono.Unix.Catalog.GetString("Luminosity")); this.comboMap.Name = "comboMap"; this.comboMap.Active = 1; this.hbox2.Add(this.comboMap); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.comboMap])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.alignment3 = new Gtk.Alignment(1F, 0.5F, 0F, 0F); this.alignment3.Name = "alignment3"; // Container child alignment3.Gtk.Container+ContainerChild this.labelPoint = new Gtk.Label(); this.labelPoint.Name = "labelPoint"; this.labelPoint.LabelProp = Mono.Unix.Catalog.GetString("(256, 256)"); this.alignment3.Add(this.labelPoint); this.hbox2.Add(this.alignment3); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment3])); w7.PackType = ((Gtk.PackType)(1)); w7.Position = 2; w7.Expand = false; w7.Fill = false; w1.Add(this.hbox2); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.drawing = new Gtk.DrawingArea(); this.drawing.WidthRequest = 256; this.drawing.HeightRequest = 256; this.drawing.CanFocus = true; this.drawing.Events = ((Gdk.EventMask)(795646)); this.drawing.Name = "drawing"; w1.Add(this.drawing); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.drawing])); w9.Position = 2; w9.Padding = ((uint)(8)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild this.checkRed = new Gtk.CheckButton(); this.checkRed.CanFocus = true; this.checkRed.Name = "checkRed"; this.checkRed.Label = Mono.Unix.Catalog.GetString("Red "); this.checkRed.Active = true; this.checkRed.DrawIndicator = true; this.checkRed.UseUnderline = true; this.hbox3.Add(this.checkRed); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox3[this.checkRed])); w10.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.checkGreen = new Gtk.CheckButton(); this.checkGreen.CanFocus = true; this.checkGreen.Name = "checkGreen"; this.checkGreen.Label = Mono.Unix.Catalog.GetString("Green"); this.checkGreen.Active = true; this.checkGreen.DrawIndicator = true; this.checkGreen.UseUnderline = true; this.hbox3.Add(this.checkGreen); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox3[this.checkGreen])); w11.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.checkBlue = new Gtk.CheckButton(); this.checkBlue.CanFocus = true; this.checkBlue.Name = "checkBlue"; this.checkBlue.Label = Mono.Unix.Catalog.GetString("Blue "); this.checkBlue.Active = true; this.checkBlue.DrawIndicator = true; this.checkBlue.UseUnderline = true; this.hbox3.Add(this.checkBlue); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox3[this.checkBlue])); w12.Position = 2; // Container child hbox3.Gtk.Box+BoxChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.hbox3.Add(this.alignment1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox3[this.alignment1])); w13.Position = 3; // Container child hbox3.Gtk.Box+BoxChild this.buttonReset = new Gtk.Button(); this.buttonReset.WidthRequest = 81; this.buttonReset.HeightRequest = 30; this.buttonReset.CanFocus = true; this.buttonReset.Name = "buttonReset"; this.buttonReset.UseUnderline = true; this.buttonReset.Label = Mono.Unix.Catalog.GetString("Reset"); this.hbox3.Add(this.buttonReset); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox3[this.buttonReset])); w14.Position = 4; w14.Expand = false; w14.Fill = false; w1.Add(this.hbox3); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.hbox3])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.labelTip = new Gtk.Label(); this.labelTip.Name = "labelTip"; this.labelTip.LabelProp = Mono.Unix.Catalog.GetString("Tip : Right-click to remove control points."); w1.Add(this.labelTip); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(w1[this.labelTip])); w16.Position = 4; w16.Expand = false; w16.Fill = false; // Internal child Pinta.CurvesDialog.ActionArea Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonCancel])); w18.Expand = false; w18.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonOk])); w19.Position = 1; w19.Expand = false; w19.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 269; this.DefaultHeight = 418; this.checkRed.Hide(); this.checkGreen.Hide(); this.checkBlue.Hide(); this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.OffLineLogViewer this.WidthRequest = 600; this.HeightRequest = 400; this.Name = "ocmgtk.OffLineLogViewer"; this.Title = Mono.Unix.Catalog.GetString("View Field Notes..."); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.AllowShrink = true; this.Gravity = ((Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.OffLineLogViewer.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vpaned1 = new Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 250; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.image11 = new Gtk.Image(); this.image11.Name = "image11"; this.image11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.LargeToolbar, 24); this.hbox1.Add(this.image11); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image11])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fnFieldNotesLabel = new Gtk.Label(); this.fnFieldNotesLabel.Name = "fnFieldNotesLabel"; this.fnFieldNotesLabel.LabelProp = Mono.Unix.Catalog.GetString("Please wait..."); this.hbox1.Add(this.fnFieldNotesLabel); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.fnFieldNotesLabel])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox3.Add(this.hbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox3.Add(this.hseparator1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.hseparator1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.logView = new Gtk.TreeView(); this.logView.CanFocus = true; this.logView.Name = "logView"; this.logView.EnableSearch = false; this.scrolledwindow1.Add(this.logView); this.hbox2.Add(this.scrolledwindow1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox2[this.scrolledwindow1])); w7.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbuttonbox1 = new Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.Spacing = 6; this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.viewCacheButton = new Gtk.Button(); this.viewCacheButton.Sensitive = false; this.viewCacheButton.CanFocus = true; this.viewCacheButton.Name = "viewCacheButton"; this.viewCacheButton.UseUnderline = true; this.viewCacheButton.Label = Mono.Unix.Catalog.GetString("View Cache"); this.vbuttonbox1.Add(this.viewCacheButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.viewCacheButton])); w8.Expand = false; w8.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.deleteButton = new Gtk.Button(); this.deleteButton.Sensitive = false; this.deleteButton.CanFocus = true; this.deleteButton.Name = "deleteButton"; this.deleteButton.UseStock = true; this.deleteButton.UseUnderline = true; this.deleteButton.Label = "gtk-delete"; this.vbuttonbox1.Add(this.deleteButton); Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.deleteButton])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.delAllButton = new Gtk.Button(); this.delAllButton.CanFocus = true; this.delAllButton.Name = "delAllButton"; this.delAllButton.UseUnderline = true; this.delAllButton.Label = Mono.Unix.Catalog.GetString("Delete All"); this.vbuttonbox1.Add(this.delAllButton); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.delAllButton])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.hbox2.Add(this.vbuttonbox1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox2[this.vbuttonbox1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; w11.Padding = ((uint)(6)); this.vbox3.Add(this.hbox2); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w12.Position = 2; this.vpaned1.Add(this.vbox3); Gtk.Paned.PanedChild w13 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.vbox3])); w13.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.fieldNotesDescPane = new Gtk.Notebook(); this.fieldNotesDescPane.Sensitive = false; this.fieldNotesDescPane.CanFocus = true; this.fieldNotesDescPane.Name = "fieldNotesDescPane"; this.fieldNotesDescPane.CurrentPage = 0; this.fieldNotesDescPane.TabPos = ((Gtk.PositionType)(0)); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.logPane = new Gtk.VBox(); this.logPane.Name = "logPane"; this.logPane.Spacing = 6; this.logPane.BorderWidth = ((uint)(6)); // Container child logPane.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Log Type:"); this.hbox5.Add(this.label1); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox5[this.label1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.logChoice = Gtk.ComboBox.NewText(); this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Found it")); this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Didn't Find it")); this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Write Note")); this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Needs Maintenance")); this.logChoice.Name = "logChoice"; this.logChoice.Active = 0; this.hbox5.Add(this.logChoice); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox5[this.logChoice])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.logPane.Add(this.hbox5); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.logPane[this.hbox5])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child logPane.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.firstToFindCheck = new Gtk.CheckButton(); this.firstToFindCheck.CanFocus = true; this.firstToFindCheck.Name = "firstToFindCheck"; this.firstToFindCheck.Label = Mono.Unix.Catalog.GetString("First To Find"); this.firstToFindCheck.DrawIndicator = true; this.firstToFindCheck.UseUnderline = true; this.hbox4.Add(this.firstToFindCheck); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox4[this.firstToFindCheck])); w17.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.saveButton = new Gtk.Button(); this.saveButton.CanFocus = true; this.saveButton.Name = "saveButton"; this.saveButton.UseStock = true; this.saveButton.UseUnderline = true; this.saveButton.Label = "gtk-save"; this.hbox4.Add(this.saveButton); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox4[this.saveButton])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.logPane.Add(this.hbox4); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.logPane[this.hbox4])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child logPane.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.logEntry = new Gtk.TextView(); this.logEntry.CanFocus = true; this.logEntry.Name = "logEntry"; this.logEntry.WrapMode = ((Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.logEntry); this.logPane.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.logPane[this.GtkScrolledWindow])); w21.Position = 2; this.fieldNotesDescPane.Add(this.logPane); // Notebook tab this.logPage = new Gtk.Label(); this.logPage.Name = "logPage"; this.logPage.LabelProp = Mono.Unix.Catalog.GetString("Field Log"); this.fieldNotesDescPane.SetTabLabel(this.logPane, this.logPage); this.logPage.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.wptCombo = new Gtk.Label(); this.wptCombo.Name = "wptCombo"; this.wptCombo.LabelProp = Mono.Unix.Catalog.GetString("Waypoint:"); this.hbox3.Add(this.wptCombo); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox3[this.wptCombo])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.waypointCombo = Gtk.ComboBox.NewText(); this.waypointCombo.Name = "waypointCombo"; this.hbox3.Add(this.waypointCombo); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox3[this.waypointCombo])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.vbox2.Add(this.hbox3); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.mapView = new ocmgtk.MapWidget(); this.mapView.Events = ((Gdk.EventMask)(256)); this.mapView.Name = "mapView"; this.mapView.ShowNearby = false; this.mapView.ShowAllChildren = false; this.vbox2.Add(this.mapView); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox2[this.mapView])); w26.Position = 1; this.fieldNotesDescPane.Add(this.vbox2); Gtk.Notebook.NotebookChild w27 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.vbox2])); w27.Position = 1; // Notebook tab this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Map"); this.fieldNotesDescPane.SetTabLabel(this.vbox2, this.label7); this.label7.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheDesc = new ocmgtk.HTMLWidget(); this.cacheDesc.Events = ((Gdk.EventMask)(256)); this.cacheDesc.Name = "cacheDesc"; this.fieldNotesDescPane.Add(this.cacheDesc); Gtk.Notebook.NotebookChild w28 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheDesc])); w28.Position = 2; // Notebook tab this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Cache Description"); this.fieldNotesDescPane.SetTabLabel(this.cacheDesc, this.label5); this.label5.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheLog = new ocmgtk.HTMLWidget(); this.cacheLog.Events = ((Gdk.EventMask)(256)); this.cacheLog.Name = "cacheLog"; this.fieldNotesDescPane.Add(this.cacheLog); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheLog])); w29.Position = 3; // Notebook tab this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Cache Logs"); this.fieldNotesDescPane.SetTabLabel(this.cacheLog, this.label8); this.label8.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheNotes = new ocmgtk.NotesWidget(); this.cacheNotes.Events = ((Gdk.EventMask)(256)); this.cacheNotes.Name = "cacheNotes"; this.fieldNotesDescPane.Add(this.cacheNotes); Gtk.Notebook.NotebookChild w30 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheNotes])); w30.Position = 4; // Notebook tab this.notesLabel = new Gtk.Label(); this.notesLabel.Name = "notesLabel"; this.notesLabel.LabelProp = Mono.Unix.Catalog.GetString("Notes"); this.fieldNotesDescPane.SetTabLabel(this.cacheNotes, this.notesLabel); this.notesLabel.ShowAll(); this.vpaned1.Add(this.fieldNotesDescPane); w1.Add(this.vpaned1); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(w1[this.vpaned1])); w32.Position = 0; // Internal child ocmgtk.OffLineLogViewer.ActionArea Gtk.HButtonBox w33 = this.ActionArea; w33.Name = "dialog1_ActionArea"; w33.Spacing = 10; w33.BorderWidth = ((uint)(5)); w33.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.closeButton = new Gtk.Button(); this.closeButton.CanDefault = true; this.closeButton.CanFocus = true; this.closeButton.Name = "closeButton"; this.closeButton.UseStock = true; this.closeButton.UseUnderline = true; this.closeButton.Label = "gtk-close"; this.AddActionWidget(this.closeButton, -7); Gtk.ButtonBox.ButtonBoxChild w34 = ((Gtk.ButtonBox.ButtonBoxChild)(w33[this.closeButton])); w34.Expand = false; w34.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 839; this.DefaultHeight = 566; this.closeButton.HasDefault = true; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnCloseClick); this.viewCacheButton.Clicked += new System.EventHandler(this.OnViewCache); this.deleteButton.Clicked += new System.EventHandler(this.OnDeleteClick); this.delAllButton.Clicked += new System.EventHandler(this.OnDeleteAllClick); this.logChoice.Changed += new System.EventHandler(this.OnLogTypeChange); this.firstToFindCheck.Toggled += new System.EventHandler(this.OnFTFCheck); this.saveButton.Clicked += new System.EventHandler(this.OnSaveClick); this.closeButton.Clicked += new System.EventHandler(this.OnCloseClick); }