コード例 #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget UI.ToolBarView
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
     this.tool2 = new global::Gtk.RadioAction ("tool2", global::Mono.Unix.Catalog.GetString ("tool2"), null, "gtk-yes", 0);
     this.tool2.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.tool2.ShortLabel = global::Mono.Unix.Catalog.GetString ("tool2");
     w2.Add (this.tool2, null);
     this.tool1 = new global::Gtk.RadioAction ("tool1", global::Mono.Unix.Catalog.GetString ("tool1"), null, "gtk-cancel", 0);
     this.tool1.Group = this.tool2.Group;
     this.tool1.ShortLabel = global::Mono.Unix.Catalog.GetString ("tool1");
     w2.Add (this.tool1, null);
     this.connectedTool = new global::Gtk.RadioAction ("connectedTool", global::Mono.Unix.Catalog.GetString ("_Connected"), null, "gtk-yes", 0);
     this.connectedTool.Group = this.tool1.Group;
     this.connectedTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Connected");
     w2.Add (this.connectedTool, null);
     this.unconnectedTool = new global::Gtk.RadioAction ("unconnectedTool", global::Mono.Unix.Catalog.GetString ("_Unconencted"), null, "gtk-cancel", 0);
     this.unconnectedTool.Group = this.connectedTool.Group;
     this.unconnectedTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Unconencted");
     w2.Add (this.unconnectedTool, null);
     this.momentTool = new global::Gtk.RadioAction ("momentTool", global::Mono.Unix.Catalog.GetString ("_Moment"), null, "gtk-refresh", 0);
     this.momentTool.Group = this.unconnectedTool.Group;
     this.momentTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Moment");
     w2.Add (this.momentTool, null);
     this.forceTool = new global::Gtk.RadioAction ("forceTool", global::Mono.Unix.Catalog.GetString ("_Force"), null, "gtk-redo", 0);
     this.forceTool.Group = this.unconnectedTool.Group;
     this.forceTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Force");
     w2.Add (this.forceTool, null);
     this.selectionTool = new global::Gtk.RadioAction ("selectionTool", global::Mono.Unix.Catalog.GetString ("_Selection"), null, "gtk-add", 0);
     this.selectionTool.Group = this.unconnectedTool.Group;
     this.selectionTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Selection");
     w2.Add (this.selectionTool, null);
     this.jointTool = new global::Gtk.RadioAction ("jointTool", null, null, "gtk-home", 0);
     this.jointTool.Group = this.unconnectedTool.Group;
     w2.Add (this.jointTool, null);
     this.UIManager.InsertActionGroup (w2, 0);
     this.Name = "UI.ToolBarView";
     // Container child UI.ToolBarView.Gtk.Container+ContainerChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar4'><toolitem name='connectedTool' action='connectedTool'/><toolitem name='unconnectedTool' action='unconnectedTool'/><toolitem name='momentTool' action='momentTool'/><toolitem name='forceTool' action='forceTool'/><toolitem name='selectionTool' action='selectionTool'/><toolitem name='jointTool' action='jointTool'/></toolbar></ui>");
     this.toolbar4 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar4")));
     this.toolbar4.Name = "toolbar4";
     this.toolbar4.ShowArrow = false;
     this.Add (this.toolbar4);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
 }
コード例 #2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget FontTool.FontStyleWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, null);
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save");
     w1.Add (this.SaveAction, null);
     this.CloseAction = new global::Gtk.Action ("CloseAction", global::Mono.Unix.Catalog.GetString ("Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close");
     w1.Add (this.CloseAction, null);
     this.SettingsAction = new global::Gtk.Action ("SettingsAction", global::Mono.Unix.Catalog.GetString ("Settings"), null, null);
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings");
     w1.Add (this.SettingsAction, null);
     this.FontAction = new global::Gtk.Action ("FontAction", global::Mono.Unix.Catalog.GetString ("Font"), null, null);
     this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Font");
     w1.Add (this.FontAction, null);
     this.WindowStyleAction = new global::Gtk.Action ("WindowStyleAction", global::Mono.Unix.Catalog.GetString ("Window style"), null, null);
     this.WindowStyleAction.Sensitive = false;
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Window style");
     this.WindowStyleAction.Visible = false;
     w1.Add (this.WindowStyleAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction, null);
     this.CustomStyleAction = new global::Gtk.RadioAction ("CustomStyleAction", global::Mono.Unix.Catalog.GetString ("DGLE2"), null, null, 0);
     this.CustomStyleAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.CustomStyleAction.Sensitive = false;
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DGLE2");
     this.CustomStyleAction.Visible = false;
     w1.Add (this.CustomStyleAction, null);
     this.PlatformStyleAction = new global::Gtk.RadioAction ("PlatformStyleAction", global::Mono.Unix.Catalog.GetString ("Platform"), null, null, 0);
     this.PlatformStyleAction.Group = this.CustomStyleAction.Group;
     this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Platform");
     w1.Add (this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction = new global::Gtk.RadioAction ("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString ("Decorated DGLE2"), null, null, 0);
     this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group;
     this.DecoratedCustomStyleAction.Sensitive = false;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Decorated DGLE2");
     this.DecoratedCustomStyleAction.Visible = false;
     w1.Add (this.DecoratedCustomStyleAction, null);
     this.OnlyEnglishAction = new global::Gtk.ToggleAction ("OnlyEnglishAction", global::Mono.Unix.Catalog.GetString ("Only English"), null, null);
     this.OnlyEnglishAction.Active = true;
     this.OnlyEnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Only English");
     w1.Add (this.OnlyEnglishAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.WidthRequest = 536;
     this.HeightRequest = 536;
     this.CanDefault = true;
     this.Name = "FontTool.FontStyleWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("FontTool");
     this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Resizable = false;
     this.Decorated = false;
     // Container child FontTool.FontStyleWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString (@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='SaveAction' action='SaveAction'/><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='OnlyEnglishAction' action='OnlyEnglishAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookFont = new global::Gtk.Notebook ();
     this.notebookFont.CanFocus = true;
     this.notebookFont.Name = "notebookFont";
     this.notebookFont.CurrentPage = 0;
     this.notebookFont.ShowTabs = false;
     // Container child notebookFont.Gtk.Notebook+NotebookChild
     this.vboxFontSettings = new global::Gtk.VBox ();
     this.vboxFontSettings.Name = "vboxFontSettings";
     this.vboxFontSettings.Spacing = 6;
     this.vboxFontSettings.BorderWidth = ((uint)(6));
     // Container child vboxFontSettings.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeFont = new global::Gtk.TreeView ();
     this.treeFont.CanFocus = true;
     this.treeFont.Name = "treeFont";
     this.GtkScrolledWindow.Add (this.treeFont);
     this.vboxFontSettings.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.GtkScrolledWindow]));
     w4.Position = 0;
     // Container child vboxFontSettings.Gtk.Box+BoxChild
     this.vboxSamplePreview = new global::Gtk.VBox ();
     this.vboxSamplePreview.Name = "vboxSamplePreview";
     this.vboxSamplePreview.Spacing = 6;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.lPreview = new global::Gtk.Label ();
     this.lPreview.Name = "lPreview";
     this.lPreview.Xalign = 0F;
     this.lPreview.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview");
     this.vboxSamplePreview.Add (this.lPreview);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.lPreview]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.preview = new global::Gtk.DrawingArea ();
     this.preview.HeightRequest = 90;
     this.preview.Name = "preview";
     this.vboxSamplePreview.Add (this.preview);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.preview]));
     w6.Position = 1;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.ePreviewSample = new global::Gtk.Entry ();
     this.ePreviewSample.CanFocus = true;
     this.ePreviewSample.Name = "ePreviewSample";
     this.ePreviewSample.Text = global::Mono.Unix.Catalog.GetString ("DGLE2 is here!");
     this.ePreviewSample.IsEditable = true;
     this.ePreviewSample.InvisibleChar = '●';
     this.vboxSamplePreview.Add (this.ePreviewSample);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.ePreviewSample]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.vboxFontSettings.Add (this.vboxSamplePreview);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.vboxSamplePreview]));
     w8.Position = 1;
     w8.Expand = false;
     // Container child vboxFontSettings.Gtk.Box+BoxChild
     this.hboxSettings = new global::Gtk.HBox ();
     this.hboxSettings.Name = "hboxSettings";
     this.hboxSettings.Spacing = 6;
     // Container child hboxSettings.Gtk.Box+BoxChild
     this.tableSettings = new global::Gtk.Table (((uint)(2)), ((uint)(4)), true);
     this.tableSettings.Name = "tableSettings";
     this.tableSettings.RowSpacing = ((uint)(12));
     this.tableSettings.ColumnSpacing = ((uint)(12));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbBold = new global::Gtk.CheckButton ();
     this.cbBold.CanFocus = true;
     this.cbBold.Name = "cbBold";
     this.cbBold.Label = global::Mono.Unix.Catalog.GetString ("Bold");
     this.cbBold.DrawIndicator = true;
     this.cbBold.UseUnderline = true;
     this.tableSettings.Add (this.cbBold);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbBold]));
     w9.LeftAttach = ((uint)(3));
     w9.RightAttach = ((uint)(4));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbItalic = new global::Gtk.CheckButton ();
     this.cbItalic.CanFocus = true;
     this.cbItalic.Name = "cbItalic";
     this.cbItalic.Label = global::Mono.Unix.Catalog.GetString ("Italic");
     this.cbItalic.DrawIndicator = true;
     this.cbItalic.UseUnderline = true;
     this.tableSettings.Add (this.cbItalic);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbItalic]));
     w10.LeftAttach = ((uint)(2));
     w10.RightAttach = ((uint)(3));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbStrikeout = new global::Gtk.CheckButton ();
     this.cbStrikeout.CanFocus = true;
     this.cbStrikeout.Name = "cbStrikeout";
     this.cbStrikeout.Label = global::Mono.Unix.Catalog.GetString ("Strikeout");
     this.cbStrikeout.DrawIndicator = true;
     this.cbStrikeout.UseUnderline = true;
     this.tableSettings.Add (this.cbStrikeout);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbStrikeout]));
     w11.TopAttach = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach = ((uint)(3));
     w11.RightAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbUnderline = new global::Gtk.CheckButton ();
     this.cbUnderline.CanFocus = true;
     this.cbUnderline.Name = "cbUnderline";
     this.cbUnderline.Label = global::Mono.Unix.Catalog.GetString ("Underline");
     this.cbUnderline.DrawIndicator = true;
     this.cbUnderline.UseUnderline = true;
     this.tableSettings.Add (this.cbUnderline);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbUnderline]));
     w12.TopAttach = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach = ((uint)(2));
     w12.RightAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.lSize = new global::Gtk.Label ();
     this.lSize.Name = "lSize";
     this.lSize.Xalign = 0F;
     this.lSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Size");
     this.tableSettings.Add (this.lSize);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lSize]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.lStretch = new global::Gtk.Label ();
     this.lStretch.Name = "lStretch";
     this.lStretch.Xalign = 0F;
     this.lStretch.LabelProp = global::Mono.Unix.Catalog.GetString ("Stretch");
     this.tableSettings.Add (this.lStretch);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lStretch]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.sbSize = new global::Gtk.SpinButton (4D, 72D, 1D);
     this.sbSize.WidthRequest = 80;
     this.sbSize.CanFocus = true;
     this.sbSize.Name = "sbSize";
     this.sbSize.Adjustment.PageIncrement = 10D;
     this.sbSize.ClimbRate = 1D;
     this.sbSize.Numeric = true;
     this.sbSize.Value = 12D;
     this.tableSettings.Add (this.sbSize);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbSize]));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.sbStretch = new global::Gtk.SpinButton (0D, 72D, 1D);
     this.sbStretch.WidthRequest = 80;
     this.sbStretch.CanFocus = true;
     this.sbStretch.Name = "sbStretch";
     this.sbStretch.Adjustment.PageIncrement = 10D;
     this.sbStretch.ClimbRate = 1D;
     this.sbStretch.Numeric = true;
     this.tableSettings.Add (this.sbStretch);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbStretch]));
     w16.TopAttach = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hboxSettings.Add (this.tableSettings);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.tableSettings]));
     w17.Position = 0;
     w17.Expand = false;
     w17.Fill = false;
     // Container child hboxSettings.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.btnNextPreview = new global::Gtk.Button ();
     this.btnNextPreview.CanFocus = true;
     this.btnNextPreview.Name = "btnNextPreview";
     this.btnNextPreview.UseUnderline = true;
     // Container child btnNextPreview.Gtk.Container+ContainerChild
     global::Gtk.Alignment w18 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w19 = new global::Gtk.HBox ();
     w19.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w20 = new global::Gtk.Image ();
     w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu);
     w19.Add (w20);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w22 = new global::Gtk.Label ();
     w22.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview");
     w22.UseUnderline = true;
     w19.Add (w22);
     w18.Add (w19);
     this.btnNextPreview.Add (w18);
     this.vbox2.Add (this.btnNextPreview);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnNextPreview]));
     w26.PackType = ((global::Gtk.PackType)(1));
     w26.Position = 0;
     w26.Expand = false;
     w26.Fill = false;
     this.hboxSettings.Add (this.vbox2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.vbox2]));
     w27.PackType = ((global::Gtk.PackType)(1));
     w27.Position = 1;
     w27.Expand = false;
     w27.Fill = false;
     this.vboxFontSettings.Add (this.hboxSettings);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.hboxSettings]));
     w28.Position = 2;
     w28.Expand = false;
     w28.Fill = false;
     w28.Padding = ((uint)(6));
     this.notebookFont.Add (this.vboxFontSettings);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Settings");
     this.notebookFont.SetTabLabel (this.vboxFontSettings, this.label1);
     this.label1.ShowAll ();
     // Container child notebookFont.Gtk.Notebook+NotebookChild
     this.vboxBuildPreview = new global::Gtk.VBox ();
     this.vboxBuildPreview.Name = "vboxBuildPreview";
     this.vboxBuildPreview.Spacing = 6;
     this.vboxBuildPreview.BorderWidth = ((uint)(6));
     // Container child vboxBuildPreview.Gtk.Box+BoxChild
     this.scrolledwindowPreview = new global::Gtk.ScrolledWindow ();
     this.scrolledwindowPreview.CanFocus = true;
     this.scrolledwindowPreview.Name = "scrolledwindowPreview";
     this.scrolledwindowPreview.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindowPreview.Gtk.Container+ContainerChild
     global::Gtk.Viewport w30 = new global::Gtk.Viewport ();
     w30.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.fontPreviewImage = new global::FontTool.FontPreviewWidget ();
     this.fontPreviewImage.Name = "fontPreviewImage";
     w30.Add (this.fontPreviewImage);
     this.scrolledwindowPreview.Add (w30);
     this.vboxBuildPreview.Add (this.scrolledwindowPreview);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.scrolledwindowPreview]));
     w33.Position = 0;
     // Container child vboxBuildPreview.Gtk.Box+BoxChild
     this.hboxPreview = new global::Gtk.HBox ();
     this.hboxPreview.Name = "hboxPreview";
     this.hboxPreview.Spacing = 6;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.lImageSize = new global::Gtk.Label ();
     this.lImageSize.Name = "lImageSize";
     this.lImageSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Image 0 X 0");
     this.hboxPreview.Add (this.lImageSize);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lImageSize]));
     w34.Position = 0;
     w34.Expand = false;
     w34.Fill = false;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.lFileSize = new global::Gtk.Label ();
     this.lFileSize.Name = "lFileSize";
     this.lFileSize.LabelProp = global::Mono.Unix.Catalog.GetString ("0 KB");
     this.hboxPreview.Add (this.lFileSize);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lFileSize]));
     w35.Position = 1;
     w35.Expand = false;
     w35.Fill = false;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.btnPrevSettings = new global::Gtk.Button ();
     this.btnPrevSettings.CanFocus = true;
     this.btnPrevSettings.Name = "btnPrevSettings";
     this.btnPrevSettings.UseUnderline = true;
     // Container child btnPrevSettings.Gtk.Container+ContainerChild
     global::Gtk.Alignment w36 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w37 = new global::Gtk.HBox ();
     w37.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w38 = new global::Gtk.Image ();
     w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Menu);
     w37.Add (w38);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w40 = new global::Gtk.Label ();
     w40.LabelProp = global::Mono.Unix.Catalog.GetString ("Settings");
     w40.UseUnderline = true;
     w37.Add (w40);
     w36.Add (w37);
     this.btnPrevSettings.Add (w36);
     this.hboxPreview.Add (this.btnPrevSettings);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.btnPrevSettings]));
     w44.PackType = ((global::Gtk.PackType)(1));
     w44.Position = 2;
     w44.Expand = false;
     w44.Fill = false;
     this.vboxBuildPreview.Add (this.hboxPreview);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.hboxPreview]));
     w45.Position = 1;
     w45.Expand = false;
     w45.Fill = false;
     w45.Padding = ((uint)(6));
     this.notebookFont.Add (this.vboxBuildPreview);
     global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookFont [this.vboxBuildPreview]));
     w46.Position = 1;
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview");
     this.notebookFont.SetTabLabel (this.vboxBuildPreview, this.label2);
     this.label2.ShowAll ();
     this.vbox1.Add (this.notebookFont);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookFont]));
     w47.Position = 1;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 536;
     this.DefaultHeight = 536;
     this.HasDefault = true;
     this.Show ();
 }
コード例 #3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget EliAssaltoAnfibio.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.SImulazioneAction            = new global::Gtk.Action("SImulazioneAction", "SImulazione", null, null);
     this.SImulazioneAction.ShortLabel = "SImulazione";
     w1.Add(this.SImulazioneAction, null);
     this.StartAction            = new global::Gtk.Action("StartAction", "Start", null, null);
     this.StartAction.ShortLabel = "Start";
     w1.Add(this.StartAction, null);
     this.ResetAction            = new global::Gtk.Action("ResetAction", "Reset", null, null);
     this.ResetAction.ShortLabel = "Reset";
     w1.Add(this.ResetAction, null);
     this.QuitAction            = new global::Gtk.Action("QuitAction", "Quit", null, null);
     this.QuitAction.ShortLabel = "Quit";
     w1.Add(this.QuitAction, null);
     this.MenuSimulazioneAction            = new global::Gtk.Action("MenuSimulazioneAction", "Menu Simulazione", null, null);
     this.MenuSimulazioneAction.ShortLabel = "Simulazione";
     w1.Add(this.MenuSimulazioneAction, null);
     this.StartAction1            = new global::Gtk.Action("StartAction1", "Start", null, null);
     this.StartAction1.ShortLabel = "Start";
     w1.Add(this.StartAction1, null);
     this.ResetAction1            = new global::Gtk.Action("ResetAction1", "Reset", null, null);
     this.ResetAction1.ShortLabel = "Reset";
     w1.Add(this.ResetAction1, null);
     this.QuitAction1            = new global::Gtk.Action("QuitAction1", "Quit", null, null);
     this.QuitAction1.ShortLabel = "Quit";
     w1.Add(this.QuitAction1, null);
     this.VisualizzaAction            = new global::Gtk.Action("VisualizzaAction", "Visualizza", null, null);
     this.VisualizzaAction.ShortLabel = "Visualizza";
     w1.Add(this.VisualizzaAction, null);
     this.informationWindowAction            = new global::Gtk.Action("informationWindowAction", "information window ", null, null);
     this.informationWindowAction.ShortLabel = "information window ";
     w1.Add(this.informationWindowAction, null);
     this.onAction            = new global::Gtk.RadioAction("onAction", "on", null, null, 0);
     this.onAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.onAction.ShortLabel = "on";
     w1.Add(this.onAction, null);
     this.offAction            = new global::Gtk.RadioAction("offAction", "off", null, null, 0);
     this.offAction.Group      = this.onAction.Group;
     this.offAction.ShortLabel = "off";
     w1.Add(this.offAction, null);
     this.OpzioniSimulazioneAction            = new global::Gtk.Action("OpzioniSimulazioneAction", "Opzioni simulazione", null, null);
     this.OpzioniSimulazioneAction.ShortLabel = "Opzioni simulazione";
     w1.Add(this.OpzioniSimulazioneAction, null);
     this.giornoNotteAction            = new global::Gtk.Action("giornoNotteAction", "giorno/notte", null, null);
     this.giornoNotteAction.ShortLabel = "giorno/notte";
     w1.Add(this.giornoNotteAction, null);
     this.giornoAction            = new global::Gtk.RadioAction("giornoAction", "giorno", null, null, 0);
     this.giornoAction.Group      = this.offAction.Group;
     this.giornoAction.ShortLabel = "giorno";
     w1.Add(this.giornoAction, null);
     this.giornoAction2            = new global::Gtk.RadioAction("giornoAction2", "giorno", null, null, 0);
     this.giornoAction2.Group      = this.offAction.Group;
     this.giornoAction2.ShortLabel = "notte";
     w1.Add(this.giornoAction2, null);
     this.notteAction            = new global::Gtk.RadioAction("notteAction", "notte", null, null, 0);
     this.notteAction.Group      = this.giornoAction2.Group;
     this.notteAction.ShortLabel = "notte";
     w1.Add(this.notteAction, null);
     this.giornoNotteAction1            = new global::Gtk.Action("giornoNotteAction1", "giorno/notte", null, null);
     this.giornoNotteAction1.ShortLabel = "giorno/notte";
     w1.Add(this.giornoNotteAction1, null);
     this.giornoAction3            = new global::Gtk.RadioAction("giornoAction3", "giorno", null, null, 0);
     this.giornoAction3.Group      = this.giornoAction2.Group;
     this.giornoAction3.ShortLabel = "giorno";
     w1.Add(this.giornoAction3, null);
     this.notteAction1            = new global::Gtk.RadioAction("notteAction1", "notte", null, null, 0);
     this.notteAction1.Group      = this.giornoAction2.Group;
     this.notteAction1.ShortLabel = "notte";
     w1.Add(this.notteAction1, null);
     this.KKAction            = new global::Gtk.RadioAction("KKAction", "KK", null, null, 0);
     this.KKAction.Group      = this.giornoAction2.Group;
     this.KKAction.ShortLabel = "KK";
     w1.Add(this.KKAction, null);
     this.giornoNotteAction2            = new global::Gtk.Action("giornoNotteAction2", "giorno/notte", null, null);
     this.giornoNotteAction2.ShortLabel = "GIORNO/NOTTE";
     w1.Add(this.giornoNotteAction2, null);
     this.giornoAction4            = new global::Gtk.RadioAction("giornoAction4", "giorno", null, null, 0);
     this.giornoAction4.Group      = this.giornoAction2.Group;
     this.giornoAction4.ShortLabel = "giorno";
     w1.Add(this.giornoAction4, null);
     this.notteAction2            = new global::Gtk.RadioAction("notteAction2", "notte", null, null, 0);
     this.notteAction2.Group      = this.giornoAction2.Group;
     this.notteAction2.ShortLabel = "notte";
     w1.Add(this.notteAction2, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "EliAssaltoAnfibio.MainWindow";
     this.Title          = "INITIAL SETUP";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child EliAssaltoAnfibio.MainWindow.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 6;
     this.vbox1.BorderWidth = ((uint)(3));
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator11      = new global::Gtk.HSeparator();
     this.hseparator11.Name = "hseparator11";
     this.vbox1.Add(this.hseparator11);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator11]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar3'><menu name='MenuSimulazioneAction' action='MenuSimulazioneAction'><menuitem name='StartAction1' action='StartAction1'/><menuitem name='ResetAction1' action='ResetAction1'/><menuitem name='QuitAction1' action='QuitAction1'/></menu><menu name='VisualizzaAction' action='VisualizzaAction'><menu name='informationWindowAction' action='informationWindowAction'><menuitem name='onAction' action='onAction'/><menuitem name='offAction' action='offAction'/></menu></menu><menu name='OpzioniSimulazioneAction' action='OpzioniSimulazioneAction'><menu name='giornoNotteAction2' action='giornoNotteAction2'><menuitem name='giornoAction4' action='giornoAction4'/><menuitem name='notteAction2' action='notteAction2'/></menu></menu></menubar></ui>");
     this.menubar3      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3")));
     this.menubar3.Name = "menubar3";
     this.vbox3.Add(this.menubar3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.menubar3]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hseparator12      = new global::Gtk.HSeparator();
     this.hseparator12.Name = "hseparator12";
     this.vbox3.Add(this.hseparator12);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator12]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox2             = new global::Gtk.HBox();
     this.hbox2.Name        = "hbox2";
     this.hbox2.Homogeneous = true;
     this.hbox2.Spacing     = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label();
     this.label1.WidthRequest = 100;
     this.label1.Name         = "label1";
     this.label1.LabelProp    = "ELICOTTERI";
     this.label1.Wrap         = true;
     this.hbox2.Add(this.label1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1]));
     w5.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hscale1 = new global::Gtk.HScale(null);
     this.hscale1.TooltipMarkup = "INSERISCI IL NUMERO DI ELICOTTERI CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETT" +
                                  "ATO IL NUMERO NON PUO\' ESSERE CAMBIATO";
     this.hscale1.CanFocus                 = true;
     this.hscale1.Name                     = "hscale1";
     this.hscale1.Adjustment.Lower         = 1D;
     this.hscale1.Adjustment.Upper         = 10D;
     this.hscale1.Adjustment.PageIncrement = 10D;
     this.hscale1.Adjustment.PageSize      = 1D;
     this.hscale1.Adjustment.StepIncrement = 1D;
     this.hscale1.Adjustment.Value         = 1D;
     this.hscale1.DrawValue                = true;
     this.hscale1.Digits                   = 0;
     this.hscale1.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.hbox2.Add(this.hscale1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hscale1]));
     w6.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.button1 = new global::Gtk.Button();
     this.button1.WidthRequest = 100;
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = "CONFERMA";
     this.hbox6.Add(this.button1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button1]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.button5 = new global::Gtk.Button();
     this.button5.WidthRequest = 90;
     this.button5.CanFocus     = true;
     this.button5.Name         = "button5";
     this.button5.UseUnderline = true;
     this.button5.Label        = "OPZIONI";
     this.hbox6.Add(this.button5);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button5]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.button10              = new global::Gtk.Button();
     this.button10.CanFocus     = true;
     this.button10.Name         = "button10";
     this.button10.UseUnderline = true;
     this.button10.Label        = "VISUALIZZA ELENCO";
     this.hbox6.Add(this.button10);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button10]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     this.hbox2.Add(this.hbox6);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbox6]));
     w10.Position = 2;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox6.Add(this.hbox2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox2]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hseparator6      = new global::Gtk.HSeparator();
     this.hseparator6.Name = "hseparator6";
     this.vbox6.Add(this.hseparator6);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hseparator6]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Homogeneous = true;
     this.hbox1.Spacing     = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label();
     this.label2.WidthRequest = 100;
     this.label2.Name         = "label2";
     this.label2.LabelProp    = "TRUPPE";
     this.label2.Wrap         = true;
     this.hbox1.Add(this.label2);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2]));
     w13.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hscale2 = new global::Gtk.HScale(null);
     this.hscale2.TooltipMarkup = "INSERISCI IL NUMERO DI TRUPPE CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETTATO " +
                                  "IL NUMERO NON PUO\' ESSERE CAMBIATO";
     this.hscale2.CanFocus                 = true;
     this.hscale2.Name                     = "hscale2";
     this.hscale2.Adjustment.Lower         = 1D;
     this.hscale2.Adjustment.Upper         = 500D;
     this.hscale2.Adjustment.PageIncrement = 10D;
     this.hscale2.Adjustment.StepIncrement = 1D;
     this.hscale2.Adjustment.Value         = 1D;
     this.hscale2.DrawValue                = true;
     this.hscale2.Digits                   = 0;
     this.hscale2.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.hbox1.Add(this.hscale2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hscale2]));
     w14.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.button2 = new global::Gtk.Button();
     this.button2.WidthRequest = 100;
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     this.button2.Label        = "CONFERMA";
     this.hbox7.Add(this.button2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button2]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.button6 = new global::Gtk.Button();
     this.button6.WidthRequest = 90;
     this.button6.CanFocus     = true;
     this.button6.Name         = "button6";
     this.button6.UseUnderline = true;
     this.button6.Label        = "OPZIONI";
     this.hbox7.Add(this.button6);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button6]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     this.hbox1.Add(this.hbox7);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox7]));
     w17.Position = 2;
     w17.Expand   = false;
     w17.Fill     = false;
     this.vbox6.Add(this.hbox1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox1]));
     w18.Position = 2;
     w18.Expand   = false;
     w18.Fill     = false;
     this.vbox5.Add(this.vbox6);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox6]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hseparator5      = new global::Gtk.HSeparator();
     this.hseparator5.Name = "hseparator5";
     this.vbox5.Add(this.hseparator5);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hseparator5]));
     w20.Position = 1;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox3             = new global::Gtk.HBox();
     this.hbox3.Name        = "hbox3";
     this.hbox3.Homogeneous = true;
     this.hbox3.Spacing     = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label3 = new global::Gtk.Label();
     this.label3.WidthRequest = 100;
     this.label3.Name         = "label3";
     this.label3.LabelProp    = "ALTRO CARGO";
     this.label3.Wrap         = true;
     this.hbox3.Add(this.label3);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3]));
     w21.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hscale3 = new global::Gtk.HScale(null);
     this.hscale3.TooltipMarkup = "INSERISCI IL NUMERO DI ELEMENTI CARGO CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA C" +
                                  "CETTATO IL NUMERO NON PUO\' ESSERE CAMBIATO";
     this.hscale3.CanFocus                 = true;
     this.hscale3.Name                     = "hscale3";
     this.hscale3.Adjustment.Upper         = 10D;
     this.hscale3.Adjustment.PageIncrement = 10D;
     this.hscale3.Adjustment.StepIncrement = 1D;
     this.hscale3.DrawValue                = true;
     this.hscale3.Digits                   = 0;
     this.hscale3.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.hbox3.Add(this.hscale3);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hscale3]));
     w22.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.button3 = new global::Gtk.Button();
     this.button3.WidthRequest = 100;
     this.button3.CanFocus     = true;
     this.button3.Name         = "button3";
     this.button3.UseUnderline = true;
     this.button3.Label        = "CONFERMA";
     this.hbox8.Add(this.button3);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button3]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.button7 = new global::Gtk.Button();
     this.button7.WidthRequest = 90;
     this.button7.CanFocus     = true;
     this.button7.Name         = "button7";
     this.button7.UseUnderline = true;
     this.button7.Label        = "OPZIONI";
     this.hbox8.Add(this.button7);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button7]));
     w24.Position = 1;
     // Container child hbox8.Gtk.Box+BoxChild
     this.button14              = new global::Gtk.Button();
     this.button14.CanFocus     = true;
     this.button14.Name         = "button14";
     this.button14.UseUnderline = true;
     this.button14.Label        = "VISUALIZZA ELENCO";
     this.hbox8.Add(this.button14);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button14]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.Fill     = false;
     this.hbox3.Add(this.hbox8);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox8]));
     w26.Position = 2;
     w26.Expand   = false;
     w26.Fill     = false;
     this.vbox5.Add(this.hbox3);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3]));
     w27.Position = 2;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vbox3.Add(this.vbox5);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5]));
     w28.Position = 2;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hseparator3      = new global::Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.vbox3.Add(this.hseparator3);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator3]));
     w29.Position = 3;
     w29.Expand   = false;
     w29.Fill     = false;
     this.vbox1.Add(this.vbox3);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox4             = new global::Gtk.HBox();
     this.hbox4.Name        = "hbox4";
     this.hbox4.Homogeneous = true;
     this.hbox4.Spacing     = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label4 = new global::Gtk.Label();
     this.label4.WidthRequest  = 100;
     this.label4.HeightRequest = 0;
     this.label4.Name          = "label4";
     this.label4.LabelProp     = "DISTANZA LANDING ZONE";
     this.label4.Wrap          = true;
     this.hbox4.Add(this.label4);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label4]));
     w31.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.hscale4 = new global::Gtk.HScale(null);
     this.hscale4.TooltipMarkup            = "INSERIRE LA DISTANZA DALLA LZ IN LINEA D\'ARIA";
     this.hscale4.CanFocus                 = true;
     this.hscale4.Name                     = "hscale4";
     this.hscale4.Adjustment.Lower         = 15D;
     this.hscale4.Adjustment.Upper         = 100D;
     this.hscale4.Adjustment.PageIncrement = 10D;
     this.hscale4.Adjustment.StepIncrement = 1D;
     this.hscale4.Adjustment.Value         = 50D;
     this.hscale4.DrawValue                = true;
     this.hscale4.Digits                   = 0;
     this.hscale4.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.hbox4.Add(this.hscale4);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hscale4]));
     w32.Position = 1;
     // Container child hbox4.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.button4 = new global::Gtk.Button();
     this.button4.WidthRequest = 100;
     this.button4.CanFocus     = true;
     this.button4.Name         = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label        = "CONFERMA";
     this.hbox9.Add(this.button4);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.button4]));
     w33.Position = 0;
     w33.Expand   = false;
     w33.Fill     = false;
     this.hbox4.Add(this.hbox9);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hbox9]));
     w34.Position = 2;
     w34.Expand   = false;
     w34.Fill     = false;
     this.vbox4.Add(this.hbox4);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4]));
     w35.Position = 0;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hseparator10      = new global::Gtk.HSeparator();
     this.hseparator10.Name = "hseparator10";
     this.vbox4.Add(this.hseparator10);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator10]));
     w36.Position = 1;
     w36.Expand   = false;
     w36.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox10             = new global::Gtk.HBox();
     this.hbox10.Name        = "hbox10";
     this.hbox10.Homogeneous = true;
     this.hbox10.Spacing     = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.label11 = new global::Gtk.Label();
     this.label11.WidthRequest = 100;
     this.label11.Name         = "label11";
     this.label11.LabelProp    = "SPOT DISPONIBILI";
     this.label11.Wrap         = true;
     this.label11.Justify      = ((global::Gtk.Justification)(2));
     this.label11.Ellipsize    = ((global::Pango.EllipsizeMode)(2));
     this.hbox10.Add(this.label11);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label11]));
     w37.Position = 0;
     // Container child hbox10.Gtk.Box+BoxChild
     this.hscale5 = new global::Gtk.HScale(null);
     this.hscale5.TooltipMarkup = "INSERISCI GLI SPOT CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETTATO IL NUMERO N" +
                                  "ON PUO\' ESSERE CAMBIATO";
     this.hscale5.CanFocus                 = true;
     this.hscale5.Name                     = "hscale5";
     this.hscale5.Adjustment.Lower         = 1D;
     this.hscale5.Adjustment.Upper         = 8D;
     this.hscale5.Adjustment.PageIncrement = 10D;
     this.hscale5.Adjustment.StepIncrement = 1D;
     this.hscale5.Adjustment.Value         = 1D;
     this.hscale5.DrawValue                = true;
     this.hscale5.Digits                   = 0;
     this.hscale5.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.hbox10.Add(this.hscale5);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.hscale5]));
     w38.Position = 1;
     // Container child hbox10.Gtk.Box+BoxChild
     this.hbox11         = new global::Gtk.HBox();
     this.hbox11.Name    = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.button12 = new global::Gtk.Button();
     this.button12.WidthRequest = 100;
     this.button12.CanFocus     = true;
     this.button12.Name         = "button12";
     this.button12.UseUnderline = true;
     this.button12.Label        = "CONFERMA";
     this.hbox11.Add(this.button12);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button12]));
     w39.Position = 0;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.button11 = new global::Gtk.Button();
     this.button11.WidthRequest = 90;
     this.button11.CanFocus     = true;
     this.button11.Name         = "button11";
     this.button11.UseUnderline = true;
     this.button11.Label        = "OPZIONI";
     this.hbox11.Add(this.button11);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button11]));
     w40.Position = 1;
     // Container child hbox11.Gtk.Box+BoxChild
     this.button16              = new global::Gtk.Button();
     this.button16.CanFocus     = true;
     this.button16.Name         = "button16";
     this.button16.UseUnderline = true;
     this.button16.Label        = "VISUALIZZA ELENCO";
     this.hbox11.Add(this.button16);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button16]));
     w41.Position = 2;
     w41.Expand   = false;
     w41.Fill     = false;
     this.hbox10.Add(this.hbox11);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.hbox11]));
     w42.Position = 2;
     w42.Expand   = false;
     w42.Fill     = false;
     this.vbox4.Add(this.hbox10);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox10]));
     w43.Position = 2;
     w43.Expand   = false;
     w43.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hseparator4      = new global::Gtk.HSeparator();
     this.hseparator4.Name = "hseparator4";
     this.vbox4.Add(this.hseparator4);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator4]));
     w44.Position = 3;
     w44.Expand   = false;
     w44.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.vbox7 = new global::Gtk.VBox();
     this.vbox7.HeightRequest = 60;
     this.vbox7.Name          = "vbox7";
     this.vbox7.Spacing       = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox13 = new global::Gtk.HBox();
     this.hbox13.HeightRequest = 50;
     this.hbox13.Name          = "hbox13";
     // Container child hbox13.Gtk.Box+BoxChild
     this.button9 = new global::Gtk.Button();
     this.button9.TooltipMarkup = "INIZIA LA SIMULAZIONE";
     this.button9.WidthRequest  = 150;
     this.button9.CanFocus      = true;
     this.button9.Name          = "button9";
     this.button9.UseUnderline  = true;
     this.button9.Label         = "START";
     this.hbox13.Add(this.button9);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.button9]));
     w45.Position = 0;
     w45.Expand   = false;
     w45.Fill     = false;
     // Container child hbox13.Gtk.Box+BoxChild
     this.hbox14      = new global::Gtk.HBox();
     this.hbox14.Name = "hbox14";
     // Container child hbox14.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label();
     this.label5.WidthRequest = 170;
     this.label5.Name         = "label5";
     this.label5.LabelProp    = "ELI";
     this.label5.Wrap         = true;
     this.label5.Justify      = ((global::Gtk.Justification)(2));
     this.label5.Ellipsize    = ((global::Pango.EllipsizeMode)(2));
     this.hbox14.Add(this.label5);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label5]));
     w46.Position = 0;
     // Container child hbox14.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label();
     this.label6.WidthRequest = 170;
     this.label6.Name         = "label6";
     this.label6.LabelProp    = "TRUPPE";
     this.label6.Wrap         = true;
     this.label6.Justify      = ((global::Gtk.Justification)(3));
     this.label6.Ellipsize    = ((global::Pango.EllipsizeMode)(3));
     this.hbox14.Add(this.label6);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label6]));
     w47.Position = 1;
     w47.Expand   = false;
     w47.Fill     = false;
     // Container child hbox14.Gtk.Box+BoxChild
     this.label7 = new global::Gtk.Label();
     this.label7.WidthRequest = 170;
     this.label7.Name         = "label7";
     this.label7.LabelProp    = "ALTRO CARGO";
     this.label7.Wrap         = true;
     this.label7.Ellipsize    = ((global::Pango.EllipsizeMode)(2));
     this.hbox14.Add(this.label7);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label7]));
     w48.Position = 2;
     w48.Expand   = false;
     w48.Fill     = false;
     // Container child hbox14.Gtk.Box+BoxChild
     this.label8 = new global::Gtk.Label();
     this.label8.WidthRequest = 170;
     this.label8.Name         = "label8";
     this.label8.LabelProp    = "DISTANZA";
     this.label8.Wrap         = true;
     this.label8.Justify      = ((global::Gtk.Justification)(2));
     this.label8.Ellipsize    = ((global::Pango.EllipsizeMode)(2));
     this.hbox14.Add(this.label8);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label8]));
     w49.Position = 3;
     w49.Expand   = false;
     w49.Fill     = false;
     // Container child hbox14.Gtk.Box+BoxChild
     this.label12 = new global::Gtk.Label();
     this.label12.WidthRequest = 170;
     this.label12.Name         = "label12";
     this.label12.LabelProp    = "SPOT";
     this.label12.Wrap         = true;
     this.label12.Justify      = ((global::Gtk.Justification)(2));
     this.label12.Ellipsize    = ((global::Pango.EllipsizeMode)(2));
     this.hbox14.Add(this.label12);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label12]));
     w50.Position = 4;
     w50.Expand   = false;
     w50.Fill     = false;
     this.hbox13.Add(this.hbox14);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.hbox14]));
     w51.Position = 1;
     w51.Fill     = false;
     this.vbox7.Add(this.hbox13);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox13]));
     w52.Position = 0;
     w52.Expand   = false;
     w52.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hseparator7      = new global::Gtk.HSeparator();
     this.hseparator7.Name = "hseparator7";
     this.vbox7.Add(this.hseparator7);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hseparator7]));
     w53.Position = 1;
     w53.Expand   = false;
     w53.Fill     = false;
     this.vbox4.Add(this.vbox7);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vbox7]));
     w54.PackType = ((global::Gtk.PackType)(1));
     w54.Position = 4;
     w54.Expand   = false;
     w54.Fill     = false;
     this.vbox1.Add(this.vbox4);
     global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4]));
     w55.Position = 2;
     w55.Expand   = false;
     w55.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth           = 1203;
     this.DefaultHeight          = 418;
     this.label11.MnemonicWidget = this.button10;
     this.Show();
     this.DeleteEvent             += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.StartAction1.Activated  += new global::System.EventHandler(this.OnStartAction1Activated);
     this.ResetAction1.Activated  += new global::System.EventHandler(this.OnResetAction1Activated);
     this.QuitAction1.Activated   += new global::System.EventHandler(this.OnQuitAction1Activated);
     this.onAction.Toggled        += new global::System.EventHandler(this.OnOnActionToggled);
     this.offAction.Toggled       += new global::System.EventHandler(this.OnOffActionToggled);
     this.giornoAction2.Activated += new global::System.EventHandler(this.OnGiornoAction2Activated);
     this.notteAction.Activated   += new global::System.EventHandler(this.OnNotteActionActivated);
     this.giornoAction4.Activated += new global::System.EventHandler(this.OnGiornoAction2Activated);
     this.notteAction2.Activated  += new global::System.EventHandler(this.OnNotteActionActivated);
     this.button1.Released        += new global::System.EventHandler(this.OnButton1Released);
     this.button5.Released        += new global::System.EventHandler(this.OnButton5Released);
     this.button10.Released       += new global::System.EventHandler(this.OnButton10Released);
     this.button2.Released        += new global::System.EventHandler(this.OnButton2Released);
     this.button6.Released        += new global::System.EventHandler(this.OnButton6Released);
     this.button3.Released        += new global::System.EventHandler(this.OnButton3Released);
     this.button7.Released        += new global::System.EventHandler(this.OnButton7Released);
     this.button14.Released       += new global::System.EventHandler(this.OnButton14Released);
     this.button4.Released        += new global::System.EventHandler(this.OnButton4Released);
     this.button12.Released       += new global::System.EventHandler(this.OnButton12Released);
     this.button11.Released       += new global::System.EventHandler(this.OnButton11Released);
     this.button16.Released       += new global::System.EventHandler(this.OnButton16Released);
     this.button9.Released        += new global::System.EventHandler(this.OnButton9Released);
 }
コード例 #4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LongoMatch.Gui.MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File");
     w1.Add (this.FileAction, null);
     this.NewPojectAction = new global::Gtk.Action ("NewPojectAction", global::Mono.Unix.Catalog.GetString ("_New Project"), null, "gtk-new");
     this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_New Project");
     w1.Add (this.NewPojectAction, null);
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open Project"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open Project");
     w1.Add (this.openAction, null);
     this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit");
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.QuitAction, null);
     this.CloseProjectAction = new global::Gtk.Action ("CloseProjectAction", global::Mono.Unix.Catalog.GetString ("_Close Project"), null, "gtk-close");
     this.CloseProjectAction.Sensitive = false;
     this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Close Project");
     w1.Add (this.CloseProjectAction, null);
     this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::Mono.Unix.Catalog.GetString ("_Tools"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Tools");
     w1.Add (this.ToolsAction, null);
     this.ProjectsManagerAction = new global::Gtk.Action ("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString ("Projects Manager"), null, null);
     this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Database Manager");
     w1.Add (this.ProjectsManagerAction, null);
     this.CategoriesTemplatesManagerAction = new global::Gtk.Action ("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString ("Categories Templates Manager"), null, null);
     this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Templates Manager");
     w1.Add (this.CategoriesTemplatesManagerAction, null);
     this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View");
     w1.Add (this.ViewAction, "<Control>t");
     this.FullScreenAction = new global::Gtk.ToggleAction ("FullScreenAction", global::Mono.Unix.Catalog.GetString ("Full Screen"), null, "gtk-fullscreen");
     this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Full Screen");
     w1.Add (this.FullScreenAction, "<Control><Alt>f");
     this.PlaylistAction = new global::Gtk.ToggleAction ("PlaylistAction", global::Mono.Unix.Catalog.GetString ("Playlist"), null, null);
     this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Playlist");
     w1.Add (this.PlaylistAction, "<Control>p");
     this.TaggingViewAction = new global::Gtk.RadioAction ("TaggingViewAction", global::Mono.Unix.Catalog.GetString ("Tagging view"), null, null, 0);
     this.TaggingViewAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.TaggingViewAction.Sensitive = false;
     this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Capture Mode");
     w1.Add (this.TaggingViewAction, "<Control>c");
     this.TimelineViewAction = new global::Gtk.RadioAction ("TimelineViewAction", global::Mono.Unix.Catalog.GetString ("Timeline view"), null, null, 0);
     this.TimelineViewAction.Group = this.TaggingViewAction.Group;
     this.TimelineViewAction.Sensitive = false;
     this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Analyze Mode");
     w1.Add (this.TimelineViewAction, "<Control>a");
     this.SaveProjectAction = new global::Gtk.Action ("SaveProjectAction", global::Mono.Unix.Catalog.GetString ("_Save Project"), null, "gtk-save");
     this.SaveProjectAction.Sensitive = false;
     this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save Project");
     w1.Add (this.SaveProjectAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.HelpAction, null);
     this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about");
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About");
     w1.Add (this.AboutAction, null);
     this.ExportProjectToCSVFileAction = new global::Gtk.Action ("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString ("Export Project To CSV File"), null, null);
     this.ExportProjectToCSVFileAction.Sensitive = false;
     this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project To CSV File");
     this.ExportProjectToCSVFileAction.Visible = false;
     w1.Add (this.ExportProjectToCSVFileAction, null);
     this.TeamsTemplatesManagerAction = new global::Gtk.Action ("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString ("Teams Templates Manager"), null, null);
     this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Teams Templates Manager");
     w1.Add (this.TeamsTemplatesManagerAction, null);
     this.HideAllWidgetsAction = new global::Gtk.ToggleAction ("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString ("Hide All Widgets"), null, null);
     this.HideAllWidgetsAction.Sensitive = false;
     this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hide All Widgets");
     w1.Add (this.HideAllWidgetsAction, null);
     this.HelpAction1 = new global::Gtk.Action ("HelpAction1", global::Mono.Unix.Catalog.GetString ("_Help"), null, "gtk-help");
     this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.HelpAction1, null);
     this.DrawingToolAction = new global::Gtk.ToggleAction ("DrawingToolAction", global::Mono.Unix.Catalog.GetString ("_Drawing Tool"), null, null);
     this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Drawing Tool");
     w1.Add (this.DrawingToolAction, "<Control>d");
     this.ImportProjectAction = new global::Gtk.Action ("ImportProjectAction", global::Mono.Unix.Catalog.GetString ("_Import Project"), null, "stock-import");
     this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Import Project");
     w1.Add (this.ImportProjectAction, "<Control>i");
     this.ManualTaggingViewAction = new global::Gtk.RadioAction ("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString ("Manual tagging view"), null, null, 0);
     this.ManualTaggingViewAction.Group = this.TimelineViewAction.Group;
     this.ManualTaggingViewAction.Sensitive = false;
     this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Free Capture Mode");
     w1.Add (this.ManualTaggingViewAction, "<Control>f");
     this.GameUnitsViewAction = new global::Gtk.RadioAction ("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString ("Game units view"), null, null, 0);
     this.GameUnitsViewAction.Group = this.TimelineViewAction.Group;
     this.GameUnitsViewAction.Sensitive = false;
     this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Game units view");
     w1.Add (this.GameUnitsViewAction, null);
     this.ExportProjectAction = new global::Gtk.Action ("ExportProjectAction", global::Mono.Unix.Catalog.GetString ("Export Project"), null, null);
     this.ExportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project");
     w1.Add (this.ExportProjectAction, null);
     this.ExportProjectAction1 = new global::Gtk.Action ("ExportProjectAction1", global::Mono.Unix.Catalog.GetString ("Export Project"), null, null);
     this.ExportProjectAction1.Sensitive = false;
     this.ExportProjectAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project");
     w1.Add (this.ExportProjectAction1, null);
     this.Action = new global::Gtk.Action ("Action", null, null, null);
     w1.Add (this.Action, null);
     this.ExportToProjectFileAction = new global::Gtk.Action ("ExportToProjectFileAction", global::Mono.Unix.Catalog.GetString ("Export to project file"), null, null);
     this.ExportToProjectFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export to project file");
     w1.Add (this.ExportToProjectFileAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "LongoMatch.Gui.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("LongoMatch");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", global::Gtk.IconSize.Dialog);
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Gravity = ((global::Gdk.Gravity)(5));
     // Container child LongoMatch.Gui.MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.menubox = new global::Gtk.VBox ();
     this.menubox.Name = "menubox";
     this.menubox.Spacing = 6;
     // Container child menubox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menu name='ExportProjectAction1' action='ExportProjectAction1'><menuitem name='ExportToProjectFileAction' action='ExportToProjectFileAction'/></menu></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.menubox.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     this.vbox1.Add (this.menubox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned = new global::Gtk.HPaned ();
     this.hpaned.CanFocus = true;
     this.hpaned.Name = "hpaned";
     this.hpaned.Position = 161;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.leftbox = new global::Gtk.VBox ();
     this.leftbox.Name = "leftbox";
     this.leftbox.Spacing = 6;
     // Container child leftbox.Gtk.Box+BoxChild
     this.notebook1 = new global::Gtk.Notebook ();
     this.notebook1.CanFocus = true;
     this.notebook1.Name = "notebook1";
     this.notebook1.CurrentPage = 3;
     this.notebook1.TabPos = ((global::Gtk.PositionType)(3));
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.playsList = new global::LongoMatch.Gui.Component.PlaysListTreeWidget ();
     this.playsList.Events = ((global::Gdk.EventMask)(256));
     this.playsList.Name = "playsList";
     this.notebook1.Add (this.playsList);
     // Notebook tab
     this.playslabel = new global::Gtk.Label ();
     this.playslabel.Name = "playslabel";
     this.playslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Plays");
     this.notebook1.SetTabLabel (this.playsList, this.playslabel);
     this.playslabel.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.localPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget ();
     this.localPlayersList.Events = ((global::Gdk.EventMask)(256));
     this.localPlayersList.Name = "localPlayersList";
     this.notebook1.Add (this.localPlayersList);
     global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.localPlayersList]));
     w5.Position = 1;
     // Notebook tab
     this.localteamlabel = new global::Gtk.Label ();
     this.localteamlabel.Name = "localteamlabel";
     this.localteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Local Team");
     this.notebook1.SetTabLabel (this.localPlayersList, this.localteamlabel);
     this.localteamlabel.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.visitorPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget ();
     this.visitorPlayersList.Events = ((global::Gdk.EventMask)(256));
     this.visitorPlayersList.Name = "visitorPlayersList";
     this.notebook1.Add (this.visitorPlayersList);
     global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.visitorPlayersList]));
     w6.Position = 2;
     // Notebook tab
     this.visitorteamlabel = new global::Gtk.Label ();
     this.visitorteamlabel.Name = "visitorteamlabel";
     this.visitorteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Visitor Team");
     this.notebook1.SetTabLabel (this.visitorPlayersList, this.visitorteamlabel);
     this.visitorteamlabel.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.tagsList = new global::LongoMatch.Gui.Component.TagsTreeWidget ();
     this.tagsList.Sensitive = false;
     this.tagsList.Events = ((global::Gdk.EventMask)(256));
     this.tagsList.Name = "tagsList";
     this.notebook1.Add (this.tagsList);
     global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.tagsList]));
     w7.Position = 3;
     // Notebook tab
     this.tagslabel = new global::Gtk.Label ();
     this.tagslabel.Name = "tagslabel";
     this.tagslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Tags");
     this.notebook1.SetTabLabel (this.tagsList, this.tagslabel);
     this.tagslabel.ShowAll ();
     this.leftbox.Add (this.notebook1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.notebook1]));
     w8.Position = 0;
     this.hpaned.Add (this.leftbox);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox]));
     w9.Resize = false;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.hpaned1 = new global::Gtk.HPaned ();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name = "hpaned1";
     this.hpaned1.Position = 952;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.downbox = new global::Gtk.VBox ();
     this.downbox.Name = "downbox";
     this.downbox.Spacing = 6;
     // Container child downbox.Gtk.Box+BoxChild
     this.videowidgetsbox = new global::Gtk.HBox ();
     this.videowidgetsbox.Name = "videowidgetsbox";
     this.videowidgetsbox.Spacing = 6;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.drawingtoolbox1 = new global::LongoMatch.Gui.Component.DrawingToolBox ();
     this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256));
     this.drawingtoolbox1.Name = "drawingtoolbox1";
     this.videowidgetsbox.Add (this.drawingtoolbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.player = new global::LongoMatch.Gui.PlayerBin ();
     this.player.Events = ((global::Gdk.EventMask)(256));
     this.player.Name = "player";
     this.player.Rate = 1F;
     this.player.ExpandLogo = true;
     this.videowidgetsbox.Add (this.player);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.player]));
     w11.Position = 1;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.capturer = new global::LongoMatch.Gui.CapturerBin ();
     this.capturer.Events = ((global::Gdk.EventMask)(256));
     this.capturer.Name = "capturer";
     this.videowidgetsbox.Add (this.capturer);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.capturer]));
     w12.Position = 2;
     this.downbox.Add (this.videowidgetsbox);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox]));
     w13.Position = 0;
     // Container child downbox.Gtk.Box+BoxChild
     this.buttonswidget = new global::LongoMatch.Gui.Component.ButtonsWidget ();
     this.buttonswidget.Events = ((global::Gdk.EventMask)(256));
     this.buttonswidget.Name = "buttonswidget";
     this.downbox.Add (this.buttonswidget);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget]));
     w14.Position = 1;
     w14.Expand = false;
     // Container child downbox.Gtk.Box+BoxChild
     this.gameunitstaggerwidget1 = new global::LongoMatch.Gui.Component.GameUnitsTagger ();
     this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256));
     this.gameunitstaggerwidget1.Name = "gameunitstaggerwidget1";
     this.downbox.Add (this.gameunitstaggerwidget1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1]));
     w15.Position = 2;
     w15.Expand = false;
     this.hpaned1.Add (this.downbox);
     global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox]));
     w16.Resize = false;
     w16.Shrink = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.rightvbox = new global::Gtk.VBox ();
     this.rightvbox.WidthRequest = 100;
     this.rightvbox.Name = "rightvbox";
     this.rightvbox.Spacing = 6;
     // Container child rightvbox.Gtk.Box+BoxChild
     this.notes = new global::LongoMatch.Gui.Component.NotesWidget ();
     this.notes.Events = ((global::Gdk.EventMask)(256));
     this.notes.Name = "notes";
     this.rightvbox.Add (this.notes);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.notes]));
     w17.Position = 0;
     // Container child rightvbox.Gtk.Box+BoxChild
     this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget ();
     this.playlist.WidthRequest = 100;
     this.playlist.Events = ((global::Gdk.EventMask)(256));
     this.playlist.Name = "playlist";
     this.rightvbox.Add (this.playlist);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.playlist]));
     w18.Position = 1;
     this.hpaned1.Add (this.rightvbox);
     global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.rightvbox]));
     w19.Resize = false;
     w19.Shrink = false;
     this.hpaned.Add (this.hpaned1);
     global::Gtk.Paned.PanedChild w20 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1]));
     w20.Resize = false;
     w20.Shrink = false;
     this.vbox1.Add (this.hpaned);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned]));
     w21.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.renderingstatebar1 = new global::LongoMatch.Gui.Component.RenderingStateBar ();
     this.renderingstatebar1.Events = ((global::Gdk.EventMask)(256));
     this.renderingstatebar1.Name = "renderingstatebar1";
     this.renderingstatebar1.Fraction = 0;
     this.statusbar1.Add (this.renderingstatebar1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1]));
     w22.Position = 2;
     w22.Expand = false;
     w22.Fill = false;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w23.Position = 2;
     w23.Expand = false;
     w23.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1342;
     this.DefaultHeight = 686;
     this.leftbox.Hide ();
     this.drawingtoolbox1.Hide ();
     this.buttonswidget.Hide ();
     this.notes.Hide ();
     this.playlist.Hide ();
     this.rightvbox.Hide ();
     this.renderingstatebar1.Hide ();
     this.Show ();
     this.NewPojectAction.Activated += new global::System.EventHandler (this.OnNewActivated);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActivated);
     this.FullScreenAction.Toggled += new global::System.EventHandler (this.OnFullScreenActionToggled);
     this.PlaylistAction.Toggled += new global::System.EventHandler (this.OnPlaylistActionToggled);
     this.TaggingViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled);
     this.TimelineViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled);
     this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated);
     this.HideAllWidgetsAction.Toggled += new global::System.EventHandler (this.OnHideAllWidgetsActionToggled);
     this.HelpAction1.Activated += new global::System.EventHandler (this.OnHelpAction1Activated);
     this.DrawingToolAction.Toggled += new global::System.EventHandler (this.OnDrawingToolActionToggled);
     this.ManualTaggingViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled);
     this.GameUnitsViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled);
     this.playsList.TimeNodeSelected += new global::LongoMatch.Handlers.PlaySelectedHandler (this.OnTimeNodeSelected);
     this.player.Error += new global::LongoMatch.Handlers.ErrorHandler (this.OnPlayerbin1Error);
     this.player.SegmentClosedEvent += new global::LongoMatch.Handlers.SegmentClosedHandler (this.OnSegmentClosedEvent);
     this.capturer.Error += new global::LongoMatch.Handlers.ErrorHandler (this.OnCapturerBinError);
 }
コード例 #5
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Moscrif.IDE.Controls.CreateThemeDialog
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.aaaaaAction = new global::Gtk.Action ("aaaaaAction", global::Mono.Unix.Catalog.GetString ("aaaaa"), null, null);
     this.aaaaaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("aaaaa");
     w1.Add (this.aaaaaAction, null);
     this.sssssAction = new global::Gtk.RadioAction ("sssssAction", global::Mono.Unix.Catalog.GetString ("sssss"), null, null, 0);
     this.sssssAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.sssssAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("sssss");
     w1.Add (this.sssssAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "Moscrif.IDE.Controls.CreateThemeDialog";
     this.Title = global::Mono.Unix.Catalog.GetString ("New Theme");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child Moscrif.IDE.Controls.CreateThemeDialog.VBox
     global::Gtk.VBox w2 = this.VBox;
     w2.Name = "dialog1_VBox";
     w2.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.cbSkin = global::Gtk.ComboBox.NewText ();
     this.cbSkin.Name = "cbSkin";
     this.table1.Add (this.cbSkin);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbSkin]));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XPadding = ((uint)(5));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entrThemeName = new global::Gtk.Entry ();
     this.entrThemeName.CanFocus = true;
     this.entrThemeName.Name = "entrThemeName";
     this.entrThemeName.IsEditable = true;
     this.entrThemeName.InvisibleChar = '●';
     this.table1.Add (this.entrThemeName);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entrThemeName]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XPadding = ((uint)(5));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Select Skin :");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w5.XPadding = ((uint)(5));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Theme Name :");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XPadding = ((uint)(5));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     w2.Add (this.table1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w2 [this.table1]));
     w7.Position = 0;
     w7.Padding = ((uint)(5));
     // Internal child Moscrif.IDE.Controls.CreateThemeDialog.ActionArea
     global::Gtk.HButtonBox w8 = this.ActionArea;
     w8.Name = "dialog1_ActionArea";
     w8.Spacing = 10;
     w8.BorderWidth = ((uint)(5));
     w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel]));
     w9.Expand = false;
     w9.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK");
     w8.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 407;
     this.DefaultHeight = 200;
     this.Show ();
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
コード例 #6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget DBusExplorer.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.SelectBus            = new global::Gtk.Action("SelectBus", global::Mono.Unix.Catalog.GetString("_Select Bus"), null, null);
     this.SelectBus.ShortLabel = global::Mono.Unix.Catalog.GetString("Select Bus");
     w1.Add(this.SelectBus, "<Control><Mod2>s");
     this.SessionBus            = new global::Gtk.RadioAction("SessionBus", global::Mono.Unix.Catalog.GetString("S_ession Bus"), null, null, 0);
     this.SessionBus.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.SessionBus.ShortLabel = global::Mono.Unix.Catalog.GetString("Session Bus");
     w1.Add(this.SessionBus, null);
     this.SystemBus            = new global::Gtk.RadioAction("SystemBus", global::Mono.Unix.Catalog.GetString("S_ystem Bus"), null, null, 0);
     this.SystemBus.Group      = this.SessionBus.Group;
     this.SystemBus.ShortLabel = global::Mono.Unix.Catalog.GetString("System Bus");
     w1.Add(this.SystemBus, null);
     this.quit            = new global::Gtk.Action("quit", global::Mono.Unix.Catalog.GetString("_Quitter"), null, "gtk-quit");
     this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quitter");
     w1.Add(this.quit, null);
     this.quit1            = new global::Gtk.Action("quit1", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quit1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quit1, null);
     this.Help            = new global::Gtk.Action("Help", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.Help.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.Help, null);
     this.about            = new global::Gtk.Action("about", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.about.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w1.Add(this.about, null);
     this.View            = new global::Gtk.Action("View", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.View.ShortLabel = global::Mono.Unix.Catalog.GetString("_View");
     w1.Add(this.View, null);
     this.CustomBus            = new global::Gtk.Action("CustomBus", global::Mono.Unix.Catalog.GetString("C_ustom Bus..."), null, null);
     this.CustomBus.ShortLabel = global::Mono.Unix.Catalog.GetString("C_ustom Bus...");
     w1.Add(this.CustomBus, null);
     this.Tools            = new global::Gtk.Action("Tools", global::Mono.Unix.Catalog.GetString("_Tools"), null, null);
     this.Tools.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools");
     w1.Add(this.Tools, null);
     this.Languages            = new global::Gtk.Action("Languages", global::Mono.Unix.Catalog.GetString("Languages"), null, null);
     this.Languages.ShortLabel = global::Mono.Unix.Catalog.GetString("Languages");
     w1.Add(this.Languages, null);
     this.C            = new global::Gtk.ToggleAction("C", global::Mono.Unix.Catalog.GetString("C#"), null, null);
     this.C.ShortLabel = global::Mono.Unix.Catalog.GetString("C#");
     w1.Add(this.C, null);
     this.NewTabAction            = new global::Gtk.Action("NewTabAction", global::Mono.Unix.Catalog.GetString("New _tab"), null, null);
     this.NewTabAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New _tab");
     w1.Add(this.NewTabAction, "<Control><Mod2>t");
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "DBusExplorer.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("D-Bus Explorer");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("DBusExplorer.data.dbus-explorer.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.AllowShrink    = true;
     this.DefaultHeight  = 600;
     // Container child DBusExplorer.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewTabAction' action='NewTabAction'/><menu name='SelectBus' action='SelectBus'><menuitem name='SessionBus' action='SessionBus'/><menuitem name='SystemBus' action='SystemBus'/><menuitem name='CustomBus' action='CustomBus'/></menu><menuitem name='quit1' action='quit1'/></menu><menu name='Help' action='Help'><menuitem name='about' action='about'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Spacing     = 6;
     this.hbox1.BorderWidth = ((uint)(5));
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Bus name : ");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     w3.Padding  = ((uint)(6));
     // Container child hbox1.Gtk.Box+BoxChild
     this.busCbCont      = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f);
     this.busCbCont.Name = "busCbCont";
     // Container child busCbCont.Gtk.Container+ContainerChild
     this.busCb      = global::Gtk.ComboBox.NewText();
     this.busCb.Name = "busCb";
     this.busCbCont.Add(this.busCb);
     this.hbox1.Add(this.busCbCont);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.busCbCont]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.alignment4              = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f);
     this.alignment4.Name         = "alignment4";
     this.alignment4.LeftPadding  = ((uint)(62));
     this.alignment4.RightPadding = ((uint)(208));
     // Container child alignment4.Gtk.Container+ContainerChild
     this.spinnerBox         = new global::Gtk.HBox();
     this.spinnerBox.Name    = "spinnerBox";
     this.spinnerBox.Spacing = 6;
     // Container child spinnerBox.Gtk.Box+BoxChild
     this.spinnerAlign      = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f);
     this.spinnerAlign.Name = "spinnerAlign";
     this.spinnerBox.Add(this.spinnerAlign);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.spinnerAlign]));
     w6.Position = 0;
     // Container child spinnerBox.Gtk.Box+BoxChild
     this.alignment6      = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f);
     this.alignment6.Name = "alignment6";
     // Container child alignment6.Gtk.Container+ContainerChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Parsing ...");
     this.alignment6.Add(this.label4);
     this.spinnerBox.Add(this.alignment6);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.alignment6]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     this.alignment4.Add(this.spinnerBox);
     this.hbox1.Add(this.alignment4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.alignment4]));
     w10.Position = 2;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     w11.Padding  = ((uint)(1));
     // Container child vbox1.Gtk.Box+BoxChild
     this.buses_Nb             = new global::Gtk.Notebook();
     this.buses_Nb.CanFocus    = true;
     this.buses_Nb.Name        = "buses_Nb";
     this.buses_Nb.CurrentPage = 0;
     this.buses_Nb.BorderWidth = ((uint)(3));
     // Notebook tab
     global::Gtk.Label w12 = new global::Gtk.Label();
     w12.Visible = true;
     this.buses_Nb.Add(w12);
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("(No Title)");
     this.buses_Nb.SetTabLabel(w12, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.buses_Nb);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buses_Nb]));
     w13.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 798;
     this.Show();
     this.SessionBus.Activated   += new global::System.EventHandler(this.OnSessionBusActivated);
     this.SystemBus.Activated    += new global::System.EventHandler(this.OnSystemBusActivated);
     this.quit.Activated         += new global::System.EventHandler(this.OnDeleteEvent);
     this.quit1.Activated        += new global::System.EventHandler(this.OnDeleteEvent);
     this.about.Activated        += new global::System.EventHandler(this.OnAboutActivated);
     this.CustomBus.Activated    += new global::System.EventHandler(this.OnCustomBusActivated);
     this.NewTabAction.Activated += new global::System.EventHandler(this.OnNewTabActionActivated);
     this.buses_Nb.SwitchPage    += new global::Gtk.SwitchPageHandler(this.OnBusesNbSwitchPage);
 }
コード例 #7
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Template.TemplateWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close");
     w1.Add(this.CloseAction, null);
     this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null);
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings");
     w1.Add(this.SettingsAction, null);
     this.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null);
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style");
     w1.Add(this.WindowStyleAction, null);
     this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0);
     this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE");
     w1.Add(this.CustomStyleAction, null);
     this.PlatformStyleAction = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction.Group = this.CustomStyleAction.Group;
     this.PlatformStyleAction.Sensitive = false;
     this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction.Visible = false;
     this.PlatformStyleAction.VisibleHorizontal = false;
     this.PlatformStyleAction.VisibleVertical = false;
     this.PlatformStyleAction.VisibleOverflown = false;
     w1.Add(this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0);
     this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE");
     w1.Add(this.DecoratedCustomStyleAction, null);
     this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group;
     this.PlatformStyleAction1.Sensitive = false;
     this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction1.Visible = false;
     w1.Add(this.PlatformStyleAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name = "Template.TemplateWindow";
     this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Decorated = false;
     // Container child Template.TemplateWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button1 = new global::Gtk.Button();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton");
     this.table1.Add(this.button1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.calendar2 = new global::Gtk.Calendar();
     this.calendar2.CanFocus = true;
     this.calendar2.Name = "calendar2";
     this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35));
     this.table1.Add(this.calendar2);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2]));
     w4.TopAttach = ((uint)(6));
     w4.BottomAttach = ((uint)(7));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.combobox1 = global::Gtk.ComboBox.NewText();
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("young"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("strong"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy"));
     this.combobox1.Name = "combobox1";
     this.combobox1.Active = 0;
     this.table1.Add(this.combobox1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1]));
     w5.TopAttach = ((uint)(3));
     w5.BottomAttach = ((uint)(4));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("young"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("strong"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy"));
     this.comboboxentry1.Name = "comboboxentry1";
     this.comboboxentry1.Active = 0;
     this.table1.Add(this.comboboxentry1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1]));
     w6.TopAttach = ((uint)(4));
     w6.BottomAttach = ((uint)(5));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry1 = new global::Gtk.Entry();
     this.entry1.CanFocus = true;
     this.entry1.Name = "entry1";
     this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.entry1.IsEditable = true;
     this.entry1.InvisibleChar = '●';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview1 = new global::Gtk.TextView();
     this.textview1.Buffer.Text = "Young, strong and crazy!";
     this.textview1.CanFocus = true;
     this.textview1.Name = "textview1";
     this.GtkScrolledWindow.Add(this.textview1);
     this.table1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w9.TopAttach = ((uint)(6));
     w9.BottomAttach = ((uint)(7));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressbar1 = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.progressbar1.Fraction = 0.5D;
     this.table1.Add(this.progressbar1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10D;
     this.spinbutton1.ClimbRate = 1D;
     this.spinbutton1.Numeric = true;
     this.table1.Add(this.spinbutton1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1]));
     w12.TopAttach = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.togglebutton1 = new global::Gtk.ToggleButton();
     this.togglebutton1.CanFocus = true;
     this.togglebutton1.Name = "togglebutton1";
     this.togglebutton1.UseUnderline = true;
     this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton");
     this.table1.Add(this.togglebutton1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1]));
     w13.TopAttach = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox3 = new global::Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton2 = new global::Gtk.CheckButton();
     this.checkbutton2.CanFocus = true;
     this.checkbutton2.Name = "checkbutton2";
     this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2");
     this.checkbutton2.DrawIndicator = true;
     this.checkbutton2.UseUnderline = true;
     this.vbox3.Add(this.checkbutton2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2]));
     w14.Position = 0;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton3 = new global::Gtk.CheckButton();
     this.checkbutton3.CanFocus = true;
     this.checkbutton3.Name = "checkbutton3";
     this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3");
     this.checkbutton3.DrawIndicator = true;
     this.checkbutton3.UseUnderline = true;
     this.vbox3.Add(this.checkbutton3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton4 = new global::Gtk.CheckButton();
     this.checkbutton4.CanFocus = true;
     this.checkbutton4.Name = "checkbutton4";
     this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4");
     this.checkbutton4.DrawIndicator = true;
     this.checkbutton4.UseUnderline = true;
     this.vbox3.Add(this.checkbutton4);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     this.table1.Add(this.vbox3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3]));
     w17.TopAttach = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox4 = new global::Gtk.VBox();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton1"));
     this.radiobutton1.CanFocus = true;
     this.radiobutton1.Name = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline = true;
     this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.vbox4.Add(this.radiobutton1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1]));
     w18.Position = 0;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton2"));
     this.radiobutton2.CanFocus = true;
     this.radiobutton2.Name = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline = true;
     this.radiobutton2.Group = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton3"));
     this.radiobutton3.CanFocus = true;
     this.radiobutton3.Name = "radiobutton3";
     this.radiobutton3.DrawIndicator = true;
     this.radiobutton3.UseUnderline = true;
     this.radiobutton3.Group = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton3);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3]));
     w20.Position = 2;
     w20.Expand = false;
     w20.Fill = false;
     this.table1.Add(this.vbox4);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4]));
     w21.TopAttach = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
     w22.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w23.Position = 2;
     w23.Expand = false;
     w23.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 483;
     this.DefaultHeight = 497;
     this.Show();
 }
コード例 #8
0
ファイル: MainWindow.cs プロジェクト: chadwell1028/PhoEd
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit");
     w1.Add (this.EditAction, null);
     this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View");
     w1.Add (this.ViewAction, null);
     this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.newAction = new global::Gtk.RadioAction ("newAction", null, null, "gtk-new", 0);
     this.newAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     w1.Add (this.newAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w1.Add (this.saveAction, null);
     this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back");
     w1.Add (this.goBackAction, null);
     this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward");
     w1.Add (this.goForwardAction, null);
     this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open");
     w1.Add (this.openAction, null);
     this.newAction1 = new global::Gtk.Action ("newAction1", global::Mono.Unix.Catalog.GetString ("New File"), null, "gtk-new");
     this.newAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("New File");
     w1.Add (this.newAction1, null);
     this.openAction1 = new global::Gtk.Action ("openAction1", global::Mono.Unix.Catalog.GetString ("Open"), null, "gtk-open");
     this.openAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open");
     w1.Add (this.openAction1, null);
     this.saveAction1 = new global::Gtk.Action ("saveAction1", global::Mono.Unix.Catalog.GetString ("Save"), null, "gtk-save");
     this.saveAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save");
     w1.Add (this.saveAction1, null);
     this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save As..."), null, null);
     this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save As...");
     w1.Add (this.SaveAsAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menu name='newAction1' action='newAction1'/><menuitem name='openAction1' action='openAction1'/><menuitem name='saveAction1' action='saveAction1'/></menu><menu name='EditAction' action='EditAction'/><menu name='ViewAction' action='ViewAction'/><menu name='AboutAction' action='AboutAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.vbox1.Add (this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='goBackAction' action='goBackAction'/><toolitem name='goForwardAction' action='goForwardAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w4.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar2 = new global::Gtk.Statusbar ();
     this.statusbar2.Name = "statusbar2";
     this.statusbar2.Spacing = 6;
     // Container child statusbar2.Gtk.Box+BoxChild
     this.statusLabel = new global::Gtk.Label ();
     this.statusLabel.Name = "statusLabel";
     this.statusLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("status");
     this.statusbar2.Add (this.statusLabel);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.statusbar2 [this.statusLabel]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child statusbar2.Gtk.Box+BoxChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.Name = "progressbar1";
     this.statusbar2.Add (this.progressbar1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.statusbar2 [this.progressbar1]));
     w6.Position = 2;
     this.vbox1.Add (this.statusbar2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar2]));
     w7.Position = 3;
     w7.Expand = false;
     w7.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 558;
     this.DefaultHeight = 427;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
コード例 #9
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget DSLImplementation.TopWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::Mono.Unix.Catalog.GetString ("Tools"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Tools");
     w1.Add (this.ToolsAction, null);
     this.menu_insertSubpiece = new global::Gtk.RadioAction ("menu_insertSubpiece", global::Mono.Unix.Catalog.GetString ("Insert subpiece"), global::Mono.Unix.Catalog.GetString ("Insert subpiece"), "gtk-select-color", 0);
     this.menu_insertSubpiece.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.menu_insertSubpiece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert subpiece");
     w1.Add (this.menu_insertSubpiece, null);
     this.menu_insert_linkpiece = new global::Gtk.RadioAction ("menu_insert_linkpiece", global::Mono.Unix.Catalog.GetString ("Insert linkpiece"), global::Mono.Unix.Catalog.GetString ("Insert linkpiece"), "gtk-convert", 0);
     this.menu_insert_linkpiece.Group = this.menu_insertSubpiece.Group;
     this.menu_insert_linkpiece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert linkpiece");
     w1.Add (this.menu_insert_linkpiece, null);
     this.menu_edit_information = new global::Gtk.RadioAction ("menu_edit_information", global::Mono.Unix.Catalog.GetString ("Edit information"), global::Mono.Unix.Catalog.GetString ("Edit information"), "gtk-index", 0);
     this.menu_edit_information.Group = this.menu_insertSubpiece.Group;
     this.menu_edit_information.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit information");
     w1.Add (this.menu_edit_information, null);
     this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("--"), null, null);
     this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("--");
     w1.Add (this.Action, null);
     this.propertiesAction = new global::Gtk.Action ("propertiesAction", global::Mono.Unix.Catalog.GetString ("Execute query"), null, "gtk-properties");
     this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Execute query");
     w1.Add (this.propertiesAction, null);
     this.tool_insertSubpiece = new global::Gtk.RadioAction ("tool_insertSubpiece", global::Mono.Unix.Catalog.GetString ("Insert subpiece"), global::Mono.Unix.Catalog.GetString ("Insert subpiece"), "gtk-select-color", 0);
     this.tool_insertSubpiece.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.tool_insertSubpiece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert subpiece");
     w1.Add (this.tool_insertSubpiece, null);
     this.tool_insert_linkpiece = new global::Gtk.RadioAction ("tool_insert_linkpiece", global::Mono.Unix.Catalog.GetString ("Insert linkpiece"), global::Mono.Unix.Catalog.GetString ("Insert linkpiece"), "gtk-convert", 0);
     this.tool_insert_linkpiece.Group = this.tool_insertSubpiece.Group;
     this.tool_insert_linkpiece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert linkpiece");
     w1.Add (this.tool_insert_linkpiece, null);
     this.tool_edit_information = new global::Gtk.RadioAction ("tool_edit_information", global::Mono.Unix.Catalog.GetString ("Edit information"), global::Mono.Unix.Catalog.GetString ("Edit information"), "gtk-index", 0);
     this.tool_edit_information.Group = this.tool_insert_linkpiece.Group;
     this.tool_edit_information.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit information");
     w1.Add (this.tool_edit_information, null);
     this.tool_execute_query = new global::Gtk.Action ("tool_execute_query", global::Mono.Unix.Catalog.GetString ("Execute Query"), global::Mono.Unix.Catalog.GetString ("Execute Query"), "gtk-execute");
     this.tool_execute_query.ShortLabel = global::Mono.Unix.Catalog.GetString ("Execute Query");
     w1.Add (this.tool_execute_query, null);
     this.missingImageAction = new global::Gtk.Action ("missingImageAction", global::Mono.Unix.Catalog.GetString ("Save as pdf"), global::Mono.Unix.Catalog.GetString ("Save as pdf"), "gtk-missing-image");
     this.missingImageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save as pdf");
     w1.Add (this.missingImageAction, null);
     this.menu_autorun = new global::Gtk.ToggleAction ("menu_autorun", global::Mono.Unix.Catalog.GetString ("Execute complete queries"), global::Mono.Unix.Catalog.GetString ("Execute complete queries"), "gtk-refresh");
     this.menu_autorun.Active = true;
     this.menu_autorun.ShortLabel = global::Mono.Unix.Catalog.GetString ("Execute complete queries");
     w1.Add (this.menu_autorun, null);
     this.tool_autorun = new global::Gtk.ToggleAction ("tool_autorun", global::Mono.Unix.Catalog.GetString ("Execute complete queries"), global::Mono.Unix.Catalog.GetString ("Execute complete queries"), "gtk-refresh");
     this.tool_autorun.Active = true;
     this.tool_autorun.ShortLabel = global::Mono.Unix.Catalog.GetString ("Execute complete queries");
     w1.Add (this.tool_autorun, null);
     this.menu_delete_piece = new global::Gtk.RadioAction ("menu_delete_piece", global::Mono.Unix.Catalog.GetString ("Remove piece"), null, "gtk-delete", 0);
     this.menu_delete_piece.Group = this.menu_edit_information.Group;
     this.menu_delete_piece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Remove piece");
     w1.Add (this.menu_delete_piece, null);
     this.tool_delete_piece = new global::Gtk.RadioAction ("tool_delete_piece", null, null, "gtk-delete", 0);
     this.tool_delete_piece.Group = this.tool_insert_linkpiece.Group;
     w1.Add (this.tool_delete_piece, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.WidthRequest = 800;
     this.HeightRequest = 600;
     this.Name = "DSLImplementation.TopWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Comparative Programming Languages - Domain Specific Language Assignment");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child DSLImplementation.TopWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='ToolsAction' action='ToolsAction'><menuitem name='menu_insertSubpiece' action='menu_insertSubpiece'/><menuitem name='menu_insert_linkpiece' action='menu_insert_linkpiece'/><menuitem name='menu_edit_information' action='menu_edit_information'/><menuitem name='menu_delete_piece' action='menu_delete_piece'/><separator/><menuitem name='propertiesAction' action='propertiesAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='tool_insertSubpiece' action='tool_insertSubpiece'/><toolitem name='tool_insert_linkpiece' action='tool_insert_linkpiece'/><toolitem name='tool_edit_information' action='tool_edit_information'/><toolitem name='tool_delete_piece' action='tool_delete_piece'/><separator/><toolitem name='tool_execute_query' action='tool_execute_query'/><toolitem name='missingImageAction' action='missingImageAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 800;
     this.DefaultHeight = 600;
     this.Show ();
     this.menu_insertSubpiece.Activated += new global::System.EventHandler (this.menu_tool_changed);
     this.menu_insert_linkpiece.Activated += new global::System.EventHandler (this.menu_tool_changed);
     this.menu_edit_information.Activated += new global::System.EventHandler (this.menu_tool_changed);
     this.tool_insertSubpiece.Activated += new global::System.EventHandler (this.tool_selected);
     this.tool_insert_linkpiece.Activated += new global::System.EventHandler (this.tool_selected);
     this.tool_edit_information.Activated += new global::System.EventHandler (this.tool_selected);
     this.tool_execute_query.Activated += new global::System.EventHandler (this.tool_query_exec);
     this.missingImageAction.Activated += new global::System.EventHandler (this.tool_saveaspdf);
     this.menu_autorun.Activated += new global::System.EventHandler (this.menu_autorun_changed);
     this.tool_autorun.Activated += new global::System.EventHandler (this.tool_autorun_changed);
     this.menu_delete_piece.Activated += new global::System.EventHandler (this.menu_tool_changed);
     this.tool_delete_piece.Activated += new global::System.EventHandler (this.tool_selected);
 }
コード例 #10
0
ファイル: MainWindow.cs プロジェクト: petrj/MP3Tagger
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.SeznamMP3Action = new global::Gtk.Action ("SeznamMP3Action", global::Mono.Unix.Catalog.GetString ("Seznam MP3"), null, null);
     this.SeznamMP3Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Seznam MP3");
     w1.Add (this.SeznamMP3Action, null);
     this.Action = new global::Gtk.Action ("Action", null, null, null);
     w1.Add (this.Action, null);
     this.editAction = new global::Gtk.Action ("editAction", global::Mono.Unix.Catalog.GetString ("Edit"), global::Mono.Unix.Catalog.GetString ("Edit"), "gtk-edit");
     this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit");
     w1.Add (this.editAction, null);
     this.closeAction = new global::Gtk.Action ("closeAction", global::Mono.Unix.Catalog.GetString ("Close "), global::Mono.Unix.Catalog.GetString ("Close"), "gtk-close");
     this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close");
     w1.Add (this.closeAction, null);
     this.selectMultipleAction = new global::Gtk.RadioAction ("selectMultipleAction", global::Mono.Unix.Catalog.GetString ("Edit multi"), global::Mono.Unix.Catalog.GetString ("Edit multi"), "gtk-dnd-multiple", 0);
     this.selectMultipleAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.selectMultipleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit multi");
     w1.Add (this.selectMultipleAction, null);
     this.selectSingleAction = new global::Gtk.RadioAction ("selectSingleAction", global::Mono.Unix.Catalog.GetString ("Edit single"), global::Mono.Unix.Catalog.GetString ("Edit single"), "gtk-dnd", 0);
     this.selectSingleAction.Group = this.selectMultipleAction.Group;
     this.selectSingleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit single");
     w1.Add (this.selectSingleAction, null);
     this.goForwardAction = new global::Gtk.Action ("goForwardAction", global::Mono.Unix.Catalog.GetString ("Next"), global::Mono.Unix.Catalog.GetString ("Next"), "gtk-go-forward");
     this.goForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Next");
     w1.Add (this.goForwardAction, null);
     this.goBackAction = new global::Gtk.Action ("goBackAction", global::Mono.Unix.Catalog.GetString ("Previous"), global::Mono.Unix.Catalog.GetString ("Previous"), "gtk-go-back");
     this.goBackAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Previous");
     w1.Add (this.goBackAction, null);
     this.editingModeAction = new global::Gtk.ToggleAction ("editingModeAction", global::Mono.Unix.Catalog.GetString ("Edit cells"), global::Mono.Unix.Catalog.GetString ("Edit cells"), "gtk-index");
     this.editingModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit Cells");
     w1.Add (this.editingModeAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("_Save"), global::Mono.Unix.Catalog.GetString ("Save"), "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save");
     w1.Add (this.saveAction, null);
     this.addAction = new global::Gtk.Action ("addAction", global::Mono.Unix.Catalog.GetString ("Add"), global::Mono.Unix.Catalog.GetString ("Add"), "gtk-add");
     this.addAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add");
     w1.Add (this.addAction, null);
     this.removeAction = new global::Gtk.Action ("removeAction", global::Mono.Unix.Catalog.GetString ("Remove"), global::Mono.Unix.Catalog.GetString ("Remove"), "gtk-remove");
     this.removeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Remove");
     w1.Add (this.removeAction, null);
     this.changeLanguageAction = new global::Gtk.Action ("changeLanguageAction", global::Mono.Unix.Catalog.GetString ("Language"), global::Mono.Unix.Catalog.GetString ("Language"), "gtk-select-font");
     this.changeLanguageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Language");
     w1.Add (this.changeLanguageAction, null);
     this.selectAction = new global::Gtk.Action ("selectAction", global::Mono.Unix.Catalog.GetString ("Select"), global::Mono.Unix.Catalog.GetString ("Select"), "gtk-select-all");
     this.selectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Select");
     w1.Add (this.selectAction, null);
     this.dialogInfoAction = new global::Gtk.Action ("dialogInfoAction", global::Mono.Unix.Catalog.GetString ("Info"), global::Mono.Unix.Catalog.GetString ("Info"), "gtk-dialog-info");
     this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Info");
     w1.Add (this.dialogInfoAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MP3 Tagger");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.@fixed = new global::Gtk.Fixed ();
     [email protected] = "fixed";
     [email protected] = false;
     // Container child fixed.Gtk.Fixed+FixedChild
     this.notebook = new global::Gtk.Notebook ();
     this.notebook.WidthRequest = 800;
     this.notebook.HeightRequest = 600;
     this.notebook.CanFocus = true;
     this.notebook.Name = "notebook";
     this.notebook.CurrentPage = 0;
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.tree = new global::Gtk.TreeView ();
     this.tree.CanFocus = true;
     this.tree.Name = "tree";
     this.GtkScrolledWindow.Add (this.tree);
     this.notebook.Add (this.GtkScrolledWindow);
     // Notebook tab
     this.labelID3v1Tree = new global::Gtk.Label ();
     this.labelID3v1Tree.Name = "labelID3v1Tree";
     this.labelID3v1Tree.LabelProp = global::Mono.Unix.Catalog.GetString ("TAG 1");
     this.notebook.SetTabLabel (this.GtkScrolledWindow, this.labelID3v1Tree);
     this.labelID3v1Tree.ShowAll ();
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.tree2 = new global::Gtk.TreeView ();
     this.tree2.CanFocus = true;
     this.tree2.Name = "tree2";
     this.GtkScrolledWindow1.Add (this.tree2);
     this.notebook.Add (this.GtkScrolledWindow1);
     global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.GtkScrolledWindow1]));
     w5.Position = 1;
     // Notebook tab
     this.labelID3v2Tree = new global::Gtk.Label ();
     this.labelID3v2Tree.Name = "labelID3v2Tree";
     this.labelID3v2Tree.LabelProp = global::Mono.Unix.Catalog.GetString ("TAG 2");
     this.notebook.SetTabLabel (this.GtkScrolledWindow1, this.labelID3v2Tree);
     this.labelID3v2Tree.ShowAll ();
     [email protected] (this.notebook);
     global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.@fixed [this.notebook]));
     w6.X = 4;
     w6.Y = 54;
     // Container child fixed.Gtk.Fixed+FixedChild
     this.UIManager.AddUiFromString (@"<ui><toolbar name='mainToolbar'><toolitem name='addAction' action='addAction'/><toolitem name='removeAction' action='removeAction'/><separator/><toolitem name='editAction' action='editAction'/><separator/><toolitem name='goBackAction' action='goBackAction'/><toolitem name='goForwardAction' action='goForwardAction'/><separator/><toolitem name='selectSingleAction' action='selectSingleAction'/><toolitem name='selectMultipleAction' action='selectMultipleAction'/><toolitem name='editingModeAction' action='editingModeAction'/><separator/><toolitem name='selectAction' action='selectAction'/><separator/><toolitem name='changeLanguageAction' action='changeLanguageAction'/><toolitem name='dialogInfoAction' action='dialogInfoAction'/><separator/><toolitem name='saveAction' action='saveAction'/><separator/><toolitem name='closeAction' action='closeAction'/></toolbar></ui>");
     this.mainToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/mainToolbar")));
     this.mainToolbar.Name = "mainToolbar";
     this.mainToolbar.ShowArrow = false;
     this.mainToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.mainToolbar.IconSize = ((global::Gtk.IconSize)(3));
     [email protected] (this.mainToolbar);
     global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.@fixed [this.mainToolbar]));
     w7.X = 5;
     this.Add (this.@fixed);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 836;
     this.DefaultHeight = 706;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnSizeAllocated);
     this.editAction.Activated += new global::System.EventHandler (this.OnEditActionActivated);
     this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated);
     this.selectMultipleAction.Activated += new global::System.EventHandler (this.OnDndMultipleActionActivated);
     this.selectSingleAction.Activated += new global::System.EventHandler (this.OnSelectSingleActionActivated);
     this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated);
     this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated);
     this.editingModeAction.Activated += new global::System.EventHandler (this.OnEditingModeActionActivated);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.addAction.Activated += new global::System.EventHandler (this.OnAddActionActivated);
     this.removeAction.Activated += new global::System.EventHandler (this.OnRemoveActionActivated);
     this.changeLanguageAction.Activated += new global::System.EventHandler (this.OnChangeLanguageActionActivated);
     this.selectAction.Activated += new global::System.EventHandler (this.OnSelectActionActivated);
     this.dialogInfoAction.Activated += new global::System.EventHandler (this.OnDialogInfoActionActivated);
 }
コード例 #11
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("New"), null, null);
     this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New");
     w1.Add (this.NewAction, null);
     this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("Open"), null, null);
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open");
     w1.Add (this.OpenAction, null);
     this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, null);
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save");
     w1.Add (this.SaveAction, null);
     this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save As"), null, null);
     this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save As");
     w1.Add (this.SaveAsAction, null);
     this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, null);
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit");
     w1.Add (this.ExitAction, null);
     this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction, null);
     this.newAction = new global::Gtk.RadioAction ("newAction", null, null, "gtk-new", 0);
     this.newAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     w1.Add (this.newAction, null);
     this.refreshAction = new global::Gtk.RadioAction ("refreshAction", null, null, "gtk-refresh", 0);
     this.refreshAction.Group = this.newAction.Group;
     w1.Add (this.refreshAction, null);
     this.redoAction = new global::Gtk.RadioAction ("redoAction", null, null, "gtk-redo", 0);
     this.redoAction.Group = this.newAction.Group;
     w1.Add (this.redoAction, null);
     this.firstAction = new global::Gtk.Action ("firstAction", null, null, "gtk-goto-bottom");
     w1.Add (this.firstAction, null);
     this.secondAction = new global::Gtk.Action ("secondAction", null, null, "gtk-goto-first");
     w1.Add (this.secondAction, null);
     this.thirdAction = new global::Gtk.Action ("thirdAction", null, null, "gtk-goto-last");
     w1.Add (this.thirdAction, null);
     this.fourthAction = new global::Gtk.Action ("fourthAction", null, null, "gtk-go-back");
     w1.Add (this.fourthAction, null);
     this.fifthAction = new global::Gtk.Action ("fifthAction", global::Mono.Unix.Catalog.GetString ("_Down"), null, "gtk-go-down");
     this.fifthAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Down");
     w1.Add (this.fifthAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.vbox1.Add (this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.toolbarAlignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.toolbarAlignment.Name = "toolbarAlignment";
     this.vbox2.Add (this.toolbarAlignment);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbarAlignment]));
     w3.Position = 0;
     w3.Expand = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.WidthRequest = 0;
     this.frame1.HeightRequest = 0;
     this.frame1.Name = "frame1";
     this.frame1.BorderWidth = ((uint)(1));
     // Container child frame1.Gtk.Container+ContainerChild
     this.DrawingBoxAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.DrawingBoxAlignment.Name = "DrawingBoxAlignment";
     this.DrawingBoxAlignment.LeftPadding = ((uint)(12));
     this.frame1.Add (this.DrawingBoxAlignment);
     this.GtkLabel3 = new global::Gtk.Label ();
     this.GtkLabel3.Name = "GtkLabel3";
     this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Drawing Area</b>");
     this.GtkLabel3.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel3;
     this.vbox2.Add (this.frame1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1]));
     w5.Position = 1;
     this.vbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w6.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this._statusBar = new global::Gtk.Statusbar ();
     this._statusBar.Name = "_statusBar";
     this._statusBar.Spacing = 6;
     // Container child _statusBar.Gtk.Box+BoxChild
     this.posLabel = new global::Gtk.Label ();
     this.posLabel.Name = "posLabel";
     this.posLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("label1");
     this._statusBar.Add (this.posLabel);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this._statusBar [this.posLabel]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.vbox1.Add (this._statusBar);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this._statusBar]));
     w8.Position = 2;
     w8.Expand = false;
     w8.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 480;
     this.DefaultHeight = 360;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
コード例 #12
0
ファイル: MainWindow.cs プロジェクト: macbernick/celltronix
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.executeAction = new global::Gtk.RadioAction ("executeAction", global::Mono.Unix.Catalog.GetString ("SP"), null, "gtk-execute", 0);
     this.executeAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("SP");
     w1.Add (this.executeAction, null);
     this.executeAction4 = new global::Gtk.RadioAction ("executeAction4", global::Mono.Unix.Catalog.GetString ("SN"), null, "gtk-execute", 0);
     this.executeAction4.Group = this.executeAction.Group;
     this.executeAction4.ShortLabel = global::Mono.Unix.Catalog.GetString ("SN");
     w1.Add (this.executeAction4, null);
     this.executeAction5 = new global::Gtk.RadioAction ("executeAction5", global::Mono.Unix.Catalog.GetString ("Metal"), null, "gtk-execute", 0);
     this.executeAction5.Group = this.executeAction.Group;
     this.executeAction5.ShortLabel = global::Mono.Unix.Catalog.GetString ("Metal");
     w1.Add (this.executeAction5, null);
     this.executeAction6 = new global::Gtk.RadioAction ("executeAction6", global::Mono.Unix.Catalog.GetString ("Del S"), null, "gtk-execute", 0);
     this.executeAction6.Group = this.executeAction.Group;
     this.executeAction6.ShortLabel = global::Mono.Unix.Catalog.GetString ("Del S");
     w1.Add (this.executeAction6, null);
     this.executeAction7 = new global::Gtk.RadioAction ("executeAction7", global::Mono.Unix.Catalog.GetString ("Del M"), null, "gtk-execute", 0);
     this.executeAction7.Group = this.executeAction6.Group;
     this.executeAction7.ShortLabel = global::Mono.Unix.Catalog.GetString ("Del M");
     w1.Add (this.executeAction7, null);
     this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new");
     w1.Add (this.newAction, null);
     this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open");
     w1.Add (this.openAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w1.Add (this.saveAction, null);
     this.refreshAction = new global::Gtk.Action ("refreshAction", global::Mono.Unix.Catalog.GetString ("Redraw"), null, "gtk-refresh");
     this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redraw");
     w1.Add (this.refreshAction, null);
     this.gotoBottomAction = new global::Gtk.RadioAction ("gotoBottomAction", global::Mono.Unix.Catalog.GetString ("Input"), null, "gtk-goto-bottom", 0);
     this.gotoBottomAction.Group = this.executeAction6.Group;
     this.gotoBottomAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Input");
     w1.Add (this.gotoBottomAction, null);
     this.gotoTopAction = new global::Gtk.RadioAction ("gotoTopAction", global::Mono.Unix.Catalog.GetString ("Output"), null, "gtk-goto-top", 0);
     this.gotoTopAction.Group = this.gotoBottomAction.Group;
     this.gotoTopAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Output");
     w1.Add (this.gotoTopAction, null);
     this.executeAction8 = new global::Gtk.RadioAction ("executeAction8", global::Mono.Unix.Catalog.GetString ("Via"), null, "gtk-execute", 0);
     this.executeAction8.Group = this.gotoBottomAction.Group;
     this.executeAction8.ShortLabel = global::Mono.Unix.Catalog.GetString ("Via");
     w1.Add (this.executeAction8, null);
     this.findAction = new global::Gtk.RadioAction ("findAction", global::Mono.Unix.Catalog.GetString ("LinkChk"), null, "gtk-find", 0);
     this.findAction.Group = this.gotoBottomAction.Group;
     this.findAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("LinkChk");
     w1.Add (this.findAction, null);
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.executeAction9 = new global::Gtk.ToggleAction ("executeAction9", null, null, "gtk-execute");
     this.executeAction9.Active = true;
     w1.Add (this.executeAction9, null);
     this.executeAction10 = new global::Gtk.ToggleAction ("executeAction10", null, null, "gtk-execute");
     this.executeAction10.Active = true;
     w1.Add (this.executeAction10, null);
     this.executeAction11 = new global::Gtk.ToggleAction ("executeAction11", null, null, "gtk-execute");
     this.executeAction11.Active = true;
     w1.Add (this.executeAction11, null);
     this.mediaPlayAction = new global::Gtk.ToggleAction ("mediaPlayAction", null, null, "gtk-media-play");
     w1.Add (this.mediaPlayAction, null);
     this.mediaStopAction = new global::Gtk.Action ("mediaStopAction", null, null, "gtk-media-stop");
     w1.Add (this.mediaStopAction, null);
     this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward");
     w1.Add (this.goForwardAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Events = ((global::Gdk.EventMask)(256));
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Celltronix");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'/></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vpaned1 = new global::Gtk.VPaned ();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name = "vpaned1";
     this.vpaned1.Position = 352;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='refreshAction' action='refreshAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.Orientation = ((global::Gtk.Orientation)(1));
     this.toolbar1.ShowArrow = false;
     this.hbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.drawingarea1 = new global::Gtk.DrawingArea ();
     this.drawingarea1.Events = ((global::Gdk.EventMask)(774));
     this.drawingarea1.Name = "drawingarea1";
     this.hbox1.Add (this.drawingarea1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.drawingarea1]));
     w4.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar2'><toolitem name='executeAction4' action='executeAction4'/><toolitem name='executeAction' action='executeAction'/><toolitem name='executeAction5' action='executeAction5'/><toolitem name='executeAction8' action='executeAction8'/><toolitem name='executeAction6' action='executeAction6'/><toolitem name='executeAction7' action='executeAction7'/><toolitem name='gotoBottomAction' action='gotoBottomAction'/><toolitem name='gotoTopAction' action='gotoTopAction'/><toolitem name='findAction' action='findAction'/></toolbar></ui>");
     this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar2")));
     this.toolbar2.Name = "toolbar2";
     this.toolbar2.Orientation = ((global::Gtk.Orientation)(1));
     this.toolbar2.ShowArrow = false;
     this.vbox2.Add (this.toolbar2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar2]));
     w5.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbuttonbox2 = new global::Gtk.HButtonBox ();
     this.hbuttonbox2.Name = "hbuttonbox2";
     this.vbox2.Add (this.hbuttonbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbuttonbox2]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar3'><toolitem name='executeAction9' action='executeAction9'/><toolitem name='executeAction10' action='executeAction10'/></toolbar></ui>");
     this.toolbar3 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar3")));
     this.toolbar3.Name = "toolbar3";
     this.toolbar3.ShowArrow = false;
     this.toolbar3.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar3.IconSize = ((global::Gtk.IconSize)(2));
     this.vbox2.Add (this.toolbar3);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar3]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.hbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
     w8.Position = 2;
     w8.Expand = false;
     w8.Fill = false;
     this.vpaned1.Add (this.hbox1);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hbox1]));
     w9.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar4'><toolitem name='mediaPlayAction' action='mediaPlayAction'/><toolitem name='mediaStopAction' action='mediaStopAction'/><toolitem name='goForwardAction' action='goForwardAction'/></toolbar></ui>");
     this.toolbar4 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar4")));
     this.toolbar4.Name = "toolbar4";
     this.toolbar4.Orientation = ((global::Gtk.Orientation)(1));
     this.toolbar4.ShowArrow = false;
     this.toolbar4.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.hbox2.Add (this.toolbar4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.toolbar4]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vscaleSimSpeed = new global::Gtk.VScale (null);
     this.vscaleSimSpeed.TooltipMarkup = "simulation speed";
     this.vscaleSimSpeed.CanFocus = true;
     this.vscaleSimSpeed.Name = "vscaleSimSpeed";
     this.vscaleSimSpeed.Adjustment.Upper = 100;
     this.vscaleSimSpeed.Adjustment.PageIncrement = 10;
     this.vscaleSimSpeed.Adjustment.StepIncrement = 1;
     this.vscaleSimSpeed.Adjustment.Value = 10;
     this.vscaleSimSpeed.DrawValue = false;
     this.vscaleSimSpeed.Digits = 0;
     this.vscaleSimSpeed.ValuePos = ((global::Gtk.PositionType)(2));
     this.hbox2.Add (this.vscaleSimSpeed);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vscaleSimSpeed]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.drawingarea2 = new global::Gtk.DrawingArea ();
     this.drawingarea2.Name = "drawingarea2";
     this.hbox2.Add (this.drawingarea2);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.drawingarea2]));
     w12.Position = 2;
     this.vpaned1.Add (this.hbox2);
     this.vbox1.Add (this.vpaned1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1]));
     w14.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.lblCellCount = new global::Gtk.Label ();
     this.lblCellCount.Name = "lblCellCount";
     this.statusbar1.Add (this.lblCellCount);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.lblCellCount]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 962;
     this.DefaultHeight = 655;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.onSize);
     this.executeAction.Activated += new global::System.EventHandler (this.onSP);
     this.executeAction4.Activated += new global::System.EventHandler (this.onSN);
     this.executeAction5.Activated += new global::System.EventHandler (this.onMetal);
     this.executeAction6.Activated += new global::System.EventHandler (this.onDelS);
     this.executeAction7.Activated += new global::System.EventHandler (this.onDelM);
     this.newAction.Activated += new global::System.EventHandler (this.onNew);
     this.refreshAction.Activated += new global::System.EventHandler (this.onRedraw);
     this.gotoBottomAction.Activated += new global::System.EventHandler (this.onInput);
     this.executeAction8.Activated += new global::System.EventHandler (this.onVia);
     this.findAction.Activated += new global::System.EventHandler (this.onLinkChk);
     this.executeAction9.Activated += new global::System.EventHandler (this.showHideM);
     this.executeAction10.Activated += new global::System.EventHandler (this.showHideS);
     this.executeAction11.Activated += new global::System.EventHandler (this.showHideM);
     this.goForwardAction.Activated += new global::System.EventHandler (this.OnSimStepActionActivated);
     this.drawingarea1.ExposeEvent += new global::Gtk.ExposeEventHandler (this.onDAExposed);
     this.drawingarea1.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.onDAButtonPress);
     this.drawingarea1.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.onDAButtonRelease);
     this.drawingarea1.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler (this.onDAMotionNotify);
     this.lblCellCount.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnLblCellCountExposeEvent);
 }
コード例 #13
0
ファイル: MainWindow.cs プロジェクト: huppertt/NIRSdotNET
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.LoadDataAction            = new global::Gtk.Action("LoadDataAction", global::Mono.Unix.Catalog.GetString("Load Data"), null, null);
     this.LoadDataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load Data");
     w1.Add(this.LoadDataAction, null);
     this.LoadNirsAction            = new global::Gtk.Action("LoadNirsAction", global::Mono.Unix.Catalog.GetString("Load *.nirs"), null, null);
     this.LoadNirsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load *.nirs");
     w1.Add(this.LoadNirsAction, null);
     this.LoadSnirfAction            = new global::Gtk.Action("LoadSnirfAction", global::Mono.Unix.Catalog.GetString("Load *.snirf"), null, null);
     this.LoadSnirfAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load *.snirf");
     w1.Add(this.LoadSnirfAction, null);
     this.SaveDataAction            = new global::Gtk.Action("SaveDataAction", global::Mono.Unix.Catalog.GetString("Save Data"), null, null);
     this.SaveDataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save Data");
     w1.Add(this.SaveDataAction, null);
     this.SaveNirsAction            = new global::Gtk.Action("SaveNirsAction", global::Mono.Unix.Catalog.GetString("Save *.nirs"), null, null);
     this.SaveNirsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save *.nirs");
     w1.Add(this.SaveNirsAction, null);
     this.SaveSnirfAction            = new global::Gtk.Action("SaveSnirfAction", global::Mono.Unix.Catalog.GetString("Save *.snirf"), null, null);
     this.SaveSnirfAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save *.snirf");
     w1.Add(this.SaveSnirfAction, null);
     this.ExitAction            = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null);
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
     w1.Add(this.ExitAction, null);
     this.LoadNIRxAction            = new global::Gtk.Action("LoadNIRxAction", global::Mono.Unix.Catalog.GetString("Load NIRx"), null, null);
     this.LoadNIRxAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load NIRx");
     w1.Add(this.LoadNIRxAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View");
     w1.Add(this.ViewAction, null);
     this.TwoDimensionalAction            = new global::Gtk.RadioAction("TwoDimensionalAction", global::Mono.Unix.Catalog.GetString("Two-dimensional"), null, null, 0);
     this.TwoDimensionalAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.TwoDimensionalAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Two-dimensional");
     w1.Add(this.TwoDimensionalAction, null);
     this.TenTwentyViewAction            = new global::Gtk.RadioAction("TenTwentyViewAction", global::Mono.Unix.Catalog.GetString("10-20 view"), null, null, 0);
     this.TenTwentyViewAction.Group      = this.TwoDimensionalAction.Group;
     this.TenTwentyViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("10-20 view");
     w1.Add(this.TenTwentyViewAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("NIRS Type Converter");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menu name='LoadDataAction' action='LoadDataAction'><menuitem name='LoadNirsAction' action='LoadNirsAction'/><menuitem name='LoadSnirfAction' action='LoadSnirfAction'/><menuitem name='LoadNIRxAction' action='LoadNIRxAction'/></menu><menu name='SaveDataAction' action='SaveDataAction'><menuitem name='SaveNirsAction' action='SaveNirsAction'/><menuitem name='SaveSnirfAction' action='SaveSnirfAction'/></menu><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='TwoDimensionalAction' action='TwoDimensionalAction'/><menuitem name='TenTwentyViewAction' action='TenTwentyViewAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox3.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.drawingarea_main = new global::Gtk.DrawingArea();
     this.drawingarea_main.WidthRequest = 197;
     this.drawingarea_main.Name         = "drawingarea_main";
     this.hbox1.Add(this.drawingarea_main);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.drawingarea_main]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.hbox1.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.drawingareaSDG = new global::Gtk.DrawingArea();
     this.drawingareaSDG.WidthRequest = 225;
     this.drawingareaSDG.Name         = "drawingareaSDG";
     this.vbox1.Add(this.drawingareaSDG);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.drawingareaSDG]));
     w5.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox1.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.combobox1      = global::Gtk.ComboBox.NewText();
     this.combobox1.Name = "combobox1";
     this.vbox1.Add(this.combobox1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.combobox1]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 2;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textFileInfo          = new global::Gtk.TextView();
     this.textFileInfo.CanFocus = true;
     this.textFileInfo.Name     = "textFileInfo";
     this.GtkScrolledWindow.Add(this.textFileInfo);
     this.notebook1.Add(this.GtkScrolledWindow);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("File Info");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textEventInfo          = new global::Gtk.TextView();
     this.textEventInfo.CanFocus = true;
     this.textEventInfo.Name     = "textEventInfo";
     this.GtkScrolledWindow1.Add(this.textEventInfo);
     this.notebook1.Add(this.GtkScrolledWindow1);
     global::Gtk.Notebook.NotebookChild w11 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow1]));
     w11.Position = 1;
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Events");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow1, this.label3);
     this.label3.ShowAll();
     // Notebook tab
     global::Gtk.Label w12 = new global::Gtk.Label();
     w12.Visible = true;
     this.notebook1.Add(w12);
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("MetaData");
     this.notebook1.SetTabLabel(w12, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
     w13.Position = 3;
     this.hbox1.Add(this.vbox1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1]));
     w14.Position = 2;
     w14.Expand   = false;
     w14.Fill     = false;
     this.vbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
     w15.Position = 1;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 609;
     this.DefaultHeight = 492;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.LoadNirsAction.Activated     += new global::System.EventHandler(this.LoadDOTNIRS);
     this.LoadSnirfAction.Activated    += new global::System.EventHandler(this.LoadSNIRF);
     this.SaveNirsAction.Activated     += new global::System.EventHandler(this.SaveDOTnirs);
     this.SaveSnirfAction.Activated    += new global::System.EventHandler(this.SaveSNIRF);
     this.ExitAction.Activated         += new global::System.EventHandler(this.Exit);
     this.LoadNIRxAction.Activated     += new global::System.EventHandler(this.LoadNIRx);
     this.TwoDimensionalAction.Changed += new global::Gtk.ChangedHandler(this.changeview);
     this.TenTwentyViewAction.Changed  += new global::Gtk.ChangedHandler(this.changeview);
     this.combobox1.Changed            += new global::System.EventHandler(this.ChangeData);
 }
コード例 #14
0
ファイル: MainWindow.cs プロジェクト: dhzhd1/Matrix
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.MainAction            = new global::Gtk.Action("MainAction", global::Mono.Unix.Catalog.GetString("Main"), null, null);
     this.MainAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Main");
     w1.Add(this.MainAction, null);
     this.ConnectAction            = new global::Gtk.Action("ConnectAction", global::Mono.Unix.Catalog.GetString("Connect..."), null, null);
     this.ConnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Connect...");
     w1.Add(this.ConnectAction, null);
     this.DisconnectAction            = new global::Gtk.Action("DisconnectAction", global::Mono.Unix.Catalog.GetString("Disconnect"), null, null);
     this.DisconnectAction.Sensitive  = false;
     this.DisconnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Disconnect");
     w1.Add(this.DisconnectAction, null);
     this.ExitAction            = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null);
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
     w1.Add(this.ExitAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View");
     w1.Add(this.ViewAction, null);
     this.ClientViewAction            = new global::Gtk.RadioAction("ClientViewAction", global::Mono.Unix.Catalog.GetString("Client View"), null, null, 0);
     this.ClientViewAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.ClientViewAction.Sensitive  = false;
     this.ClientViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Client View");
     w1.Add(this.ClientViewAction, null);
     this.ResourceAssignAction            = new global::Gtk.RadioAction("ResourceAssignAction", global::Mono.Unix.Catalog.GetString("Resource Assign"), null, null, 0);
     this.ResourceAssignAction.Group      = this.ClientViewAction.Group;
     this.ResourceAssignAction.Sensitive  = false;
     this.ResourceAssignAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Resource Assign");
     w1.Add(this.ResourceAssignAction, null);
     this.DashboardAction                   = new global::Gtk.RadioAction("DashboardAction", global::Mono.Unix.Catalog.GetString("Dashboard"), null, null, 0);
     this.DashboardAction.Group             = this.ResourceAssignAction.Group;
     this.DashboardAction.Sensitive         = false;
     this.DashboardAction.ShortLabel        = global::Mono.Unix.Catalog.GetString("Dashboard");
     this.DashboardAction.Visible           = false;
     this.DashboardAction.VisibleHorizontal = false;
     this.DashboardAction.VisibleVertical   = false;
     this.DashboardAction.VisibleOverflown  = false;
     w1.Add(this.DashboardAction, null);
     this.MonitorAction            = new global::Gtk.Action("MonitorAction", global::Mono.Unix.Catalog.GetString("Monitor"), null, null);
     this.MonitorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Monitor");
     w1.Add(this.MonitorAction, null);
     this.GPUMetricMonitorAction            = new global::Gtk.Action("GPUMetricMonitorAction", global::Mono.Unix.Catalog.GetString("GPU Metric Monitor"), null, null);
     this.GPUMetricMonitorAction.Sensitive  = false;
     this.GPUMetricMonitorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("GPU Metric Monitor");
     w1.Add(this.GPUMetricMonitorAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.DocumentationAction            = new global::Gtk.Action("DocumentationAction", global::Mono.Unix.Catalog.GetString("Documentation"), null, null);
     this.DocumentationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Documentation");
     w1.Add(this.DocumentationAction, null);
     this.UpdateAction            = new global::Gtk.Action("UpdateAction", global::Mono.Unix.Catalog.GetString("Update..."), null, null);
     this.UpdateAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Update...");
     w1.Add(this.UpdateAction, null);
     this.LicenseAction            = new global::Gtk.Action("LicenseAction", global::Mono.Unix.Catalog.GetString("License..."), null, null);
     this.LicenseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("License...");
     w1.Add(this.LicenseAction, null);
     this.ReportBugsAction            = new global::Gtk.Action("ReportBugsAction", global::Mono.Unix.Catalog.GetString("Report Bugs..."), null, null);
     this.ReportBugsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Report Bugs...");
     w1.Add(this.ReportBugsAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.ToolsAction            = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("Tools"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tools");
     w1.Add(this.ToolsAction, null);
     this.DeploymentAction            = new global::Gtk.Action("DeploymentAction", global::Mono.Unix.Catalog.GetString("Deployment"), null, null);
     this.DeploymentAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Deployment");
     w1.Add(this.DeploymentAction, null);
     this.ServerAction            = new global::Gtk.Action("ServerAction", global::Mono.Unix.Catalog.GetString("Server ..."), null, null);
     this.ServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Server ...");
     w1.Add(this.ServerAction, null);
     this.ClientAction            = new global::Gtk.Action("ClientAction", global::Mono.Unix.Catalog.GetString("Client ..."), null, null);
     this.ClientAction.Sensitive  = false;
     this.ClientAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Client ...");
     w1.Add(this.ClientAction, null);
     this.DebugLogAction            = new global::Gtk.Action("DebugLogAction", global::Mono.Unix.Catalog.GetString("Debug Log..."), null, null);
     this.DebugLogAction.Sensitive  = false;
     this.DebugLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Debug Log...");
     w1.Add(this.DebugLogAction, null);
     this.BackupRestoreAction            = new global::Gtk.Action("BackupRestoreAction", global::Mono.Unix.Catalog.GetString("Backup & Restore..."), null, null);
     this.BackupRestoreAction.Sensitive  = false;
     this.BackupRestoreAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Backup & Restore...");
     w1.Add(this.BackupRestoreAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(3));
     this.BorderWidth    = ((uint)(2));
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.image1        = new global::Gtk.Image();
     this.image1.Name   = "image1";
     this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("MatrixResourceManager.logo.png");
     this.vbox1.Add(this.image1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.image1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='MainAction' action='MainAction'><menuitem name='ConnectAction' action='ConnectAction'/><menuitem name='DisconnectAction' action='DisconnectAction'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='ClientViewAction' action='ClientViewAction'/><menuitem name='ResourceAssignAction' action='ResourceAssignAction'/><menuitem name='DashboardAction' action='DashboardAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menu name='DeploymentAction' action='DeploymentAction'><menuitem name='ServerAction' action='ServerAction'/><menuitem name='ClientAction' action='ClientAction'/></menu><menuitem name='DebugLogAction' action='DebugLogAction'/><menuitem name='BackupRestoreAction' action='BackupRestoreAction'/></menu><menu name='MonitorAction' action='MonitorAction'><menuitem name='GPUMetricMonitorAction' action='GPUMetricMonitorAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='DocumentationAction' action='DocumentationAction'/><menuitem name='UpdateAction' action='UpdateAction'/><menuitem name='LicenseAction' action='LicenseAction'/><menuitem name='ReportBugsAction' action='ReportBugsAction'/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.frame1            = new global::Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     this.frame1.Add(this.GtkAlignment);
     this.vbox1.Add(this.frame1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame1]));
     w5.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1476;
     this.DefaultHeight = 797;
     this.Show();
     this.DeleteEvent                      += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.ConnectAction.Activated          += new global::System.EventHandler(this.OnConnectActionActivated);
     this.DisconnectAction.Activated       += new global::System.EventHandler(this.OnDisconnectActionActivated);
     this.ExitAction.Activated             += new global::System.EventHandler(this.OnExitActionActivated);
     this.ClientViewAction.Activated       += new global::System.EventHandler(this.OnClientViewActionActivated);
     this.ResourceAssignAction.Activated   += new global::System.EventHandler(this.OnResourceAssignActionActivated);
     this.GPUMetricMonitorAction.Activated += new global::System.EventHandler(this.OnGPUMetricMonitorActionActivated);
     this.LicenseAction.Activated          += new global::System.EventHandler(this.OnLicenseActionActivated);
     this.AboutAction.Activated            += new global::System.EventHandler(this.OnAboutActionActivated);
     this.ServerAction.Activated           += new global::System.EventHandler(this.OnServerActionActivated);
     this.ClientAction.Activated           += new global::System.EventHandler(this.OnClientActionActivated);
 }
コード例 #15
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Template.TemplateWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.CloseAction            = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close");
     w1.Add(this.CloseAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.SettingsAction            = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null);
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings");
     w1.Add(this.SettingsAction, null);
     this.WindowStyleAction            = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null);
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style");
     w1.Add(this.WindowStyleAction, null);
     this.CustomStyleAction            = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0);
     this.CustomStyleAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE");
     w1.Add(this.CustomStyleAction, null);
     this.PlatformStyleAction                   = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction.Group             = this.CustomStyleAction.Group;
     this.PlatformStyleAction.Sensitive         = false;
     this.PlatformStyleAction.ShortLabel        = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction.Visible           = false;
     this.PlatformStyleAction.VisibleHorizontal = false;
     this.PlatformStyleAction.VisibleVertical   = false;
     this.PlatformStyleAction.VisibleOverflown  = false;
     w1.Add(this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction            = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0);
     this.DecoratedCustomStyleAction.Group      = this.PlatformStyleAction.Group;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE");
     w1.Add(this.DecoratedCustomStyleAction, null);
     this.PlatformStyleAction1            = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction1.Group      = this.PlatformStyleAction.Group;
     this.PlatformStyleAction1.Sensitive  = false;
     this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction1.Visible    = false;
     w1.Add(this.PlatformStyleAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Template.TemplateWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Decorated      = false;
     // Container child Template.TemplateWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("GtkButton");
     this.table1.Add(this.button1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.calendar2                = new global::Gtk.Calendar();
     this.calendar2.CanFocus       = true;
     this.calendar2.Name           = "calendar2";
     this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35));
     this.table1.Add(this.calendar2);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2]));
     w4.TopAttach    = ((uint)(6));
     w4.BottomAttach = ((uint)(7));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.XOptions     = ((global::Gtk.AttachOptions)(4));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.combobox1 = global::Gtk.ComboBox.NewText();
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("young"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("strong"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("crazy"));
     this.combobox1.Name   = "combobox1";
     this.combobox1.Active = 0;
     this.table1.Add(this.combobox1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1]));
     w5.TopAttach    = ((uint)(3));
     w5.BottomAttach = ((uint)(4));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("young"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("strong"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("crazy"));
     this.comboboxentry1.Name   = "comboboxentry1";
     this.comboboxentry1.Active = 0;
     this.table1.Add(this.comboboxentry1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1]));
     w6.TopAttach    = ((uint)(4));
     w6.BottomAttach = ((uint)(5));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry1               = new global::Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.Text          = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '●';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview1             = new global::Gtk.TextView();
     this.textview1.Buffer.Text = "Young, strong and crazy!";
     this.textview1.CanFocus    = true;
     this.textview1.Name        = "textview1";
     this.GtkScrolledWindow.Add(this.textview1);
     this.table1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w9.TopAttach    = ((uint)(6));
     w9.BottomAttach = ((uint)(7));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressbar1          = new global::Gtk.ProgressBar();
     this.progressbar1.Name     = "progressbar1";
     this.progressbar1.Fraction = 0.5D;
     this.table1.Add(this.progressbar1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1]));
     w11.TopAttach    = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton1          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name     = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10D;
     this.spinbutton1.ClimbRate = 1D;
     this.spinbutton1.Numeric   = true;
     this.table1.Add(this.spinbutton1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.togglebutton1              = new global::Gtk.ToggleButton();
     this.togglebutton1.CanFocus     = true;
     this.togglebutton1.Name         = "togglebutton1";
     this.togglebutton1.UseUnderline = true;
     this.togglebutton1.Label        = global::Mono.Unix.Catalog.GetString("GtkToggleButton");
     this.table1.Add(this.togglebutton1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1]));
     w13.TopAttach    = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton2               = new global::Gtk.CheckButton();
     this.checkbutton2.CanFocus      = true;
     this.checkbutton2.Name          = "checkbutton2";
     this.checkbutton2.Label         = global::Mono.Unix.Catalog.GetString("checkbutton2");
     this.checkbutton2.DrawIndicator = true;
     this.checkbutton2.UseUnderline  = true;
     this.vbox3.Add(this.checkbutton2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton3               = new global::Gtk.CheckButton();
     this.checkbutton3.CanFocus      = true;
     this.checkbutton3.Name          = "checkbutton3";
     this.checkbutton3.Label         = global::Mono.Unix.Catalog.GetString("checkbutton3");
     this.checkbutton3.DrawIndicator = true;
     this.checkbutton3.UseUnderline  = true;
     this.vbox3.Add(this.checkbutton3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton4               = new global::Gtk.CheckButton();
     this.checkbutton4.CanFocus      = true;
     this.checkbutton4.Name          = "checkbutton4";
     this.checkbutton4.Label         = global::Mono.Unix.Catalog.GetString("checkbutton4");
     this.checkbutton4.DrawIndicator = true;
     this.checkbutton4.UseUnderline  = true;
     this.vbox3.Add(this.checkbutton4);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.table1.Add(this.vbox3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3]));
     w17.TopAttach    = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton1               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton1"));
     this.radiobutton1.CanFocus      = true;
     this.radiobutton1.Name          = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline  = true;
     this.radiobutton1.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.vbox4.Add(this.radiobutton1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton2               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton2"));
     this.radiobutton2.CanFocus      = true;
     this.radiobutton2.Name          = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline  = true;
     this.radiobutton2.Group         = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton3               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton3"));
     this.radiobutton3.CanFocus      = true;
     this.radiobutton3.Name          = "radiobutton3";
     this.radiobutton3.DrawIndicator = true;
     this.radiobutton3.UseUnderline  = true;
     this.radiobutton3.Group         = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton3);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3]));
     w20.Position = 2;
     w20.Expand   = false;
     w20.Fill     = false;
     this.table1.Add(this.vbox4);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4]));
     w21.TopAttach    = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
     w22.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 483;
     this.DefaultHeight = 497;
     this.Show();
 }
コード例 #16
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget FontTool.FontStyleWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action (
         "FileAction",
         global::Mono.Unix.Catalog.GetString("File"),
         null,
         null
     );
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.SaveAction = new global::Gtk.Action (
         "SaveAction",
         global::Mono.Unix.Catalog.GetString("Save"),
         null,
         null
     );
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save");
     w1.Add (this.SaveAction, null);
     this.CloseAction = new global::Gtk.Action (
         "CloseAction",
         global::Mono.Unix.Catalog.GetString("Close"),
         null,
         null
     );
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close");
     w1.Add (this.CloseAction, null);
     this.SettingsAction = new global::Gtk.Action (
         "SettingsAction",
         global::Mono.Unix.Catalog.GetString("Settings"),
         null,
         null
     );
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings");
     w1.Add (this.SettingsAction, null);
     this.FontAction = new global::Gtk.Action (
         "FontAction",
         global::Mono.Unix.Catalog.GetString("Font"),
         null,
         null
     );
     this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Font");
     w1.Add (this.FontAction, null);
     this.WindowStyleAction = new global::Gtk.Action (
         "WindowStyleAction",
         global::Mono.Unix.Catalog.GetString("Window style"),
         null,
         null
     );
     this.WindowStyleAction.Sensitive = false;
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Window style");
     this.WindowStyleAction.Visible = false;
     w1.Add (this.WindowStyleAction, null);
     this.HelpAction = new global::Gtk.Action (
         "HelpAction",
         global::Mono.Unix.Catalog.GetString("Help"),
         null,
         null
     );
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.AboutAction = new global::Gtk.Action (
         "AboutAction",
         global::Mono.Unix.Catalog.GetString("About"),
         null,
         null
     );
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction, null);
     this.CustomStyleAction = new global::Gtk.RadioAction (
         "CustomStyleAction",
         global::Mono.Unix.Catalog.GetString("DGLE2"),
         null,
         null,
         0
     );
     this.CustomStyleAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.CustomStyleAction.Sensitive = false;
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DGLE2");
     this.CustomStyleAction.Visible = false;
     w1.Add (this.CustomStyleAction, null);
     this.PlatformStyleAction = new global::Gtk.RadioAction (
         "PlatformStyleAction",
         global::Mono.Unix.Catalog.GetString("Platform"),
         null,
         null,
         0
     );
     this.PlatformStyleAction.Group = this.CustomStyleAction.Group;
     this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Platform");
     w1.Add (this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction = new global::Gtk.RadioAction (
         "DecoratedCustomStyleAction",
         global::Mono.Unix.Catalog.GetString("Decorated DGLE2"),
         null,
         null,
         0
     );
     this.DecoratedCustomStyleAction.Group = this.CustomStyleAction.Group;
     this.DecoratedCustomStyleAction.Sensitive = false;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Decorated DGLE2");
     this.DecoratedCustomStyleAction.Visible = false;
     w1.Add (this.DecoratedCustomStyleAction, null);
     this.OnlyEnglishAction = new global::Gtk.ToggleAction (
         "OnlyEnglishAction",
         global::Mono.Unix.Catalog.GetString("Only English"),
         null,
         null
     );
     this.OnlyEnglishAction.Active = true;
     this.OnlyEnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Only English");
     w1.Add (this.OnlyEnglishAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.WidthRequest = 500;
     this.HeightRequest = 500;
     this.CanDefault = true;
     this.Name = "FontTool.FontStyleWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("FontStyleWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable = false;
     // Container child FontTool.FontStyleWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='SaveAction' action='SaveAction'/><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='FontAction' action='FontAction'><menuitem name='OnlyEnglishAction' action='OnlyEnglishAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeFont = new global::Gtk.TreeView ();
     this.treeFont.CanFocus = true;
     this.treeFont.Name = "treeFont";
     this.GtkScrolledWindow.Add (this.treeFont);
     this.vbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w4.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.lPreview = new global::Gtk.Label ();
     this.lPreview.Name = "lPreview";
     this.lPreview.Xalign = 0F;
     this.lPreview.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview");
     this.vbox6.Add (this.lPreview);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.lPreview]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.preview = new global::Gtk.DrawingArea ();
     this.preview.HeightRequest = 90;
     this.preview.Name = "preview";
     this.vbox6.Add (this.preview);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.preview]));
     w6.Position = 1;
     // Container child vbox6.Gtk.Box+BoxChild
     this.ePreviewSample = new global::Gtk.Entry ();
     this.ePreviewSample.CanFocus = true;
     this.ePreviewSample.Name = "ePreviewSample";
     this.ePreviewSample.Text = global::Mono.Unix.Catalog.GetString ("DGLE2 is here!");
     this.ePreviewSample.IsEditable = true;
     this.ePreviewSample.InvisibleChar = '●';
     this.vbox6.Add (this.ePreviewSample);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.ePreviewSample]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.vbox2.Add (this.vbox6);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox6]));
     w8.Position = 1;
     w8.Expand = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(4)), true);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(12));
     this.table1.ColumnSpacing = ((uint)(12));
     // Container child table1.Gtk.Table+TableChild
     this.cbBold = new global::Gtk.CheckButton ();
     this.cbBold.CanFocus = true;
     this.cbBold.Name = "cbBold";
     this.cbBold.Label = global::Mono.Unix.Catalog.GetString ("Bold");
     this.cbBold.DrawIndicator = true;
     this.cbBold.UseUnderline = true;
     this.table1.Add (this.cbBold);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbBold]));
     w9.LeftAttach = ((uint)(3));
     w9.RightAttach = ((uint)(4));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cbItalic = new global::Gtk.CheckButton ();
     this.cbItalic.CanFocus = true;
     this.cbItalic.Name = "cbItalic";
     this.cbItalic.Label = global::Mono.Unix.Catalog.GetString ("Italic");
     this.cbItalic.DrawIndicator = true;
     this.cbItalic.UseUnderline = true;
     this.table1.Add (this.cbItalic);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbItalic]));
     w10.LeftAttach = ((uint)(2));
     w10.RightAttach = ((uint)(3));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cbStrikeout = new global::Gtk.CheckButton ();
     this.cbStrikeout.CanFocus = true;
     this.cbStrikeout.Name = "cbStrikeout";
     this.cbStrikeout.Label = global::Mono.Unix.Catalog.GetString ("Strikeout");
     this.cbStrikeout.DrawIndicator = true;
     this.cbStrikeout.UseUnderline = true;
     this.table1.Add (this.cbStrikeout);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbStrikeout]));
     w11.TopAttach = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach = ((uint)(3));
     w11.RightAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cbUnderline = new global::Gtk.CheckButton ();
     this.cbUnderline.CanFocus = true;
     this.cbUnderline.Name = "cbUnderline";
     this.cbUnderline.Label = global::Mono.Unix.Catalog.GetString ("Underline");
     this.cbUnderline.DrawIndicator = true;
     this.cbUnderline.UseUnderline = true;
     this.table1.Add (this.cbUnderline);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbUnderline]));
     w12.TopAttach = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach = ((uint)(2));
     w12.RightAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lSize = new global::Gtk.Label ();
     this.lSize.Name = "lSize";
     this.lSize.Xalign = 0F;
     this.lSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Size");
     this.table1.Add (this.lSize);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.lSize]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lStretch = new global::Gtk.Label ();
     this.lStretch.Name = "lStretch";
     this.lStretch.Xalign = 0F;
     this.lStretch.LabelProp = global::Mono.Unix.Catalog.GetString ("Stretch");
     this.table1.Add (this.lStretch);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.lStretch]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.sbSize = new global::Gtk.SpinButton (4, 72, 1);
     this.sbSize.WidthRequest = 80;
     this.sbSize.CanFocus = true;
     this.sbSize.Name = "sbSize";
     this.sbSize.Adjustment.PageIncrement = 10;
     this.sbSize.ClimbRate = 1;
     this.sbSize.Numeric = true;
     this.sbSize.Value = 12;
     this.table1.Add (this.sbSize);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.sbSize]));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.sbStretch = new global::Gtk.SpinButton (0, 72, 1);
     this.sbStretch.WidthRequest = 80;
     this.sbStretch.CanFocus = true;
     this.sbStretch.Name = "sbStretch";
     this.sbStretch.Adjustment.PageIncrement = 10;
     this.sbStretch.ClimbRate = 1;
     this.sbStretch.Numeric = true;
     this.table1.Add (this.sbStretch);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.sbStretch]));
     w16.TopAttach = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.table1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
     w17.Position = 2;
     w17.Expand = false;
     w17.Fill = false;
     w17.Padding = ((uint)(6));
     this.vbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w18.Position = 1;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 500;
     this.DefaultHeight = 500;
     this.HasDefault = true;
     this.Show ();
 }
コード例 #17
0
ファイル: MainWindow.cs プロジェクト: bleepbloop/Absolom
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.FileAction1 = new global::Gtk.Action ("FileAction1", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction1.IsImportant = true;
     this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction1, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null);
     this.EditAction.IsImportant = true;
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit");
     w1.Add (this.EditAction, null);
     this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new");
     w1.Add (this.newAction, null);
     this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open");
     w1.Add (this.openAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w1.Add (this.saveAction, null);
     this.addAction = new global::Gtk.RadioAction ("addAction", null, null, "gtk-add", 0);
     this.addAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     w1.Add (this.addAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Absolom");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.DefaultWidth = 800;
     this.DefaultHeight = 800;
     this.AcceptFocus = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar9'><menu name='FileAction1' action='FileAction1'/><menu name='EditAction' action='EditAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar9 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar9")));
     this.menubar9.Name = "menubar9";
     this.vbox2.Add (this.menubar9);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar9]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><separator/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.IconSize = ((global::Gtk.IconSize)(1));
     this.vbox2.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport ();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.DrawArea = new global::Gtk.DrawingArea ();
     this.DrawArea.CanFocus = true;
     this.DrawArea.Name = "DrawArea";
     w4.Add (this.DrawArea);
     this.scrolledwindow1.Add (w4);
     this.vbox2.Add (this.scrolledwindow1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1]));
     w7.Position = 2;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.scrolledwindow1.ScrollEvent += new global::Gtk.ScrollEventHandler (this.Grid_On_Scroll_Event);
     this.DrawArea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.DrawArea_On_Expose_Event);
 }
コード例 #18
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Chimera.MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.mnFile = new global::Gtk.Action ("mnFile", global::Mono.Unix.Catalog.GetString ("_Datei"), null, null);
     this.mnFile.ShortLabel = global::Mono.Unix.Catalog.GetString ("Datei");
     w1.Add (this.mnFile, null);
     this.ModusAction = new global::Gtk.Action ("ModusAction", global::Mono.Unix.Catalog.GetString ("_Modus"), null, null);
     this.ModusAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Modus");
     w1.Add (this.ModusAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit");
     w1.Add (this.EditAction, null);
     this.mnFileNew = new global::Gtk.Action ("mnFileNew", global::Mono.Unix.Catalog.GetString ("_Neu"), null, "gtk-new");
     this.mnFileNew.ShortLabel = global::Mono.Unix.Catalog.GetString ("Neu");
     w1.Add (this.mnFileNew, null);
     this.mnFileOpen = new global::Gtk.Action ("mnFileOpen", global::Mono.Unix.Catalog.GetString ("Ö_ffnen"), null, null);
     this.mnFileOpen.ShortLabel = global::Mono.Unix.Catalog.GetString ("Öffnen");
     w1.Add (this.mnFileOpen, "<Primary>o");
     this.mnFileSave = new global::Gtk.Action ("mnFileSave", global::Mono.Unix.Catalog.GetString ("_Speichern"), null, "gtk-save");
     this.mnFileSave.ShortLabel = global::Mono.Unix.Catalog.GetString ("Speichern");
     w1.Add (this.mnFileSave, null);
     this.mnFilePlot = new global::Gtk.Action ("mnFilePlot", global::Mono.Unix.Catalog.GetString ("_Plot"), null, "gtk-print");
     this.mnFilePlot.ShortLabel = global::Mono.Unix.Catalog.GetString ("Plot");
     w1.Add (this.mnFilePlot, "<Primary>p");
     this.mnFileQuit = new global::Gtk.Action ("mnFileQuit", global::Mono.Unix.Catalog.GetString ("_Beenden"), null, null);
     this.mnFileQuit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Beenden");
     w1.Add (this.mnFileQuit, "<Primary>q");
     this.mnModePresentation = new global::Gtk.RadioAction ("mnModePresentation", global::Mono.Unix.Catalog.GetString ("_Darstellung"), null, null, 0);
     this.mnModePresentation.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.mnModePresentation.ShortLabel = global::Mono.Unix.Catalog.GetString ("Presentation");
     w1.Add (this.mnModePresentation, "<Primary>1");
     this.mnModeModification = new global::Gtk.RadioAction ("mnModeModification", global::Mono.Unix.Catalog.GetString ("_Bearbeiten"), null, null, 1);
     this.mnModeModification.Group = this.mnModePresentation.Group;
     this.mnModeModification.ShortLabel = global::Mono.Unix.Catalog.GetString ("Modification");
     w1.Add (this.mnModeModification, "<Primary>2");
     this.mnModeInvestigation = new global::Gtk.RadioAction ("mnModeInvestigation", global::Mono.Unix.Catalog.GetString ("_Untersuchung"), null, null, 2);
     this.mnModeInvestigation.Group = this.mnModeModification.Group;
     this.mnModeInvestigation.Sensitive = false;
     this.mnModeInvestigation.ShortLabel = global::Mono.Unix.Catalog.GetString ("Investigation");
     w1.Add (this.mnModeInvestigation, "<Primary>3");
     this.AWPAction = new global::Gtk.Action ("AWPAction", global::Mono.Unix.Catalog.GetString ("_AWP"), null, null);
     this.AWPAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("AWP");
     w1.Add (this.AWPAction, null);
     this.mnAwpRandom = new global::Gtk.Action ("mnAwpRandom", global::Mono.Unix.Catalog.GetString ("_Zufall"), null, null);
     this.mnAwpRandom.ShortLabel = global::Mono.Unix.Catalog.GetString ("Zufall");
     w1.Add (this.mnAwpRandom, null);
     this.mnAwpTwoSteps = new global::Gtk.Action ("mnAwpTwoSteps", global::Mono.Unix.Catalog.GetString ("Zwei _Stufen"), null, null);
     this.mnAwpTwoSteps.ShortLabel = global::Mono.Unix.Catalog.GetString ("2 Stufen");
     w1.Add (this.mnAwpTwoSteps, null);
     this.mnAwpCurrent = new global::Gtk.Action ("mnAwpCurrent", global::Mono.Unix.Catalog.GetString ("_Aktuell"), null, null);
     this.mnAwpCurrent.ShortLabel = global::Mono.Unix.Catalog.GetString ("Aktuell");
     w1.Add (this.mnAwpCurrent, null);
     this.mnExtras = new global::Gtk.Action ("mnExtras", global::Mono.Unix.Catalog.GetString ("_Extras"), null, null);
     this.mnExtras.ShortLabel = global::Mono.Unix.Catalog.GetString ("Aktion");
     w1.Add (this.mnExtras, null);
     this.mnExtrasPlayPause = new global::Gtk.ToggleAction ("mnExtrasPlayPause", global::Mono.Unix.Catalog.GetString ("_Abspielen"), null, null);
     this.mnExtrasPlayPause.ShortLabel = global::Mono.Unix.Catalog.GetString ("Abspielen");
     w1.Add (this.mnExtrasPlayPause, "F5");
     this.mnExtrasClear = new global::Gtk.Action ("mnExtrasClear", global::Mono.Unix.Catalog.GetString ("Phasenportait _löschen"), null, null);
     this.mnExtrasClear.ShortLabel = global::Mono.Unix.Catalog.GetString ("Phasenportait löschen");
     w1.Add (this.mnExtrasClear, "F9");
     this.mnHelp = new global::Gtk.Action ("mnHelp", global::Mono.Unix.Catalog.GetString ("_Hilfe"), null, null);
     this.mnHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hilfe");
     w1.Add (this.mnHelp, null);
     this.mnHelpHelp = new global::Gtk.Action ("mnHelpHelp", global::Mono.Unix.Catalog.GetString ("_Hilfe"), null, null);
     this.mnHelpHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hilfe");
     w1.Add (this.mnHelpHelp, "F1");
     this.mnHelpAbout = new global::Gtk.Action ("mnHelpAbout", global::Mono.Unix.Catalog.GetString ("Ü_ber..."), null, null);
     this.mnHelpAbout.ShortLabel = global::Mono.Unix.Catalog.GetString ("Über...");
     w1.Add (this.mnHelpAbout, null);
     this.mnExtrasOption = new global::Gtk.Action ("mnExtrasOption", global::Mono.Unix.Catalog.GetString ("_Optionen"), null, "gtk-preferences");
     this.mnExtrasOption.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Optionen");
     w1.Add (this.mnExtrasOption, null);
     this.ZeitpunktAction = new global::Gtk.RadioAction ("ZeitpunktAction", global::Mono.Unix.Catalog.GetString ("Zeitpunkt"), null, null, 0);
     this.ZeitpunktAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.ZeitpunktAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Zeitpunkt");
     w1.Add (this.ZeitpunktAction, null);
     this.HistorieAction = new global::Gtk.RadioAction ("HistorieAction", global::Mono.Unix.Catalog.GetString ("Historie"), null, null, 1);
     this.HistorieAction.Group = this.ZeitpunktAction.Group;
     this.HistorieAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Historie");
     w1.Add (this.HistorieAction, null);
     this.SchwerpunktAction = new global::Gtk.RadioAction ("SchwerpunktAction", global::Mono.Unix.Catalog.GetString ("Schwerpunkt"), null, null, 2);
     this.SchwerpunktAction.Group = this.HistorieAction.Group;
     this.SchwerpunktAction.Sensitive = false;
     this.SchwerpunktAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Schwerpunkt");
     w1.Add (this.SchwerpunktAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "Chimera.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Chimera");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("Chimera.cc.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Chimera.MainWindow.Gtk.Container+ContainerChild
     this.layoutBox = new global::Gtk.VBox ();
     this.layoutBox.Name = "layoutBox";
     this.layoutBox.Spacing = 6;
     // Container child layoutBox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubarTop'><menu name='mnFile' action='mnFile'><menuitem name='mnFileNew' action='mnFileNew'/><menuitem name='mnFileOpen' action='mnFileOpen'/><menuitem name='mnFileSave' action='mnFileSave'/><menuitem name='mnFilePlot' action='mnFilePlot'/><menuitem name='mnFileQuit' action='mnFileQuit'/></menu><menu name='ModusAction' action='ModusAction'><menuitem name='mnModePresentation' action='mnModePresentation'/><menuitem name='mnModeModification' action='mnModeModification'/><menuitem name='mnModeInvestigation' action='mnModeInvestigation'/></menu><menu name='AWPAction' action='AWPAction'><menuitem name='mnAwpRandom' action='mnAwpRandom'/><menuitem name='mnAwpTwoSteps' action='mnAwpTwoSteps'/><menuitem name='mnAwpCurrent' action='mnAwpCurrent'/></menu><menu name='mnExtras' action='mnExtras'><menuitem name='mnExtrasPlayPause' action='mnExtrasPlayPause'/><menuitem name='mnExtrasClear' action='mnExtrasClear'/><menuitem name='mnExtrasOption' action='mnExtrasOption'/></menu><menu name='mnHelp' action='mnHelp'><menuitem name='mnHelpHelp' action='mnHelpHelp'/><menuitem name='mnHelpAbout' action='mnHelpAbout'/></menu></menubar></ui>");
     this.menubarTop = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubarTop")));
     this.menubarTop.Name = "menubarTop";
     this.layoutBox.Add (this.menubarTop);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.layoutBox [this.menubarTop]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child layoutBox.Gtk.Box+BoxChild
     this.contentColumns = new global::Gtk.HBox ();
     this.contentColumns.Name = "contentColumns";
     this.contentColumns.Spacing = 6;
     // Container child contentColumns.Gtk.Box+BoxChild
     this.rightLayout = new global::Gtk.VBox ();
     this.rightLayout.Name = "rightLayout";
     this.rightLayout.Spacing = 6;
     // Container child rightLayout.Gtk.Box+BoxChild
     this.boxPhase = new global::Gtk.HBox ();
     this.boxPhase.Name = "boxPhase";
     this.boxPhase.Spacing = 6;
     // Container child boxPhase.Gtk.Box+BoxChild
     this.lblVertical = new global::Gtk.Label ();
     this.lblVertical.Name = "lblVertical";
     this.boxPhase.Add (this.lblVertical);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.boxPhase [this.lblVertical]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     this.rightLayout.Add (this.boxPhase);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.rightLayout [this.boxPhase]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child rightLayout.Gtk.Box+BoxChild
     this.lblHorizontal = new global::Gtk.Label ();
     this.lblHorizontal.Name = "lblHorizontal";
     this.rightLayout.Add (this.lblHorizontal);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.rightLayout [this.lblHorizontal]));
     w5.Position = 2;
     w5.Expand = false;
     w5.Fill = false;
     // Container child rightLayout.Gtk.Box+BoxChild
     this.PropertiesLayout = new global::Gtk.Table (((uint)(7)), ((uint)(2)), false);
     this.PropertiesLayout.Name = "PropertiesLayout";
     this.PropertiesLayout.RowSpacing = ((uint)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.btnPlayPause = new global::Gtk.Button ();
     this.btnPlayPause.CanFocus = true;
     this.btnPlayPause.Name = "btnPlayPause";
     // Container child btnPlayPause.Gtk.Container+ContainerChild
     this.drawPlayPause = new global::Gtk.DrawingArea ();
     this.drawPlayPause.WidthRequest = 16;
     this.drawPlayPause.HeightRequest = 16;
     this.drawPlayPause.Name = "drawPlayPause";
     this.btnPlayPause.Add (this.drawPlayPause);
     this.btnPlayPause.Label = null;
     this.PropertiesLayout.Add (this.btnPlayPause);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.btnPlayPause]));
     w7.TopAttach = ((uint)(6));
     w7.BottomAttach = ((uint)(7));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.hboxN = new global::Gtk.HBox ();
     this.hboxN.Name = "hboxN";
     this.hboxN.Spacing = 6;
     // Container child hboxN.Gtk.Box+BoxChild
     this.numN = new global::Gtk.SpinButton (0, 1000, 1);
     this.numN.CanFocus = true;
     this.numN.Name = "numN";
     this.numN.Adjustment.PageIncrement = 10;
     this.numN.ClimbRate = 1;
     this.numN.Numeric = true;
     this.numN.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1));
     this.hboxN.Add (this.numN);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxN [this.numN]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     this.PropertiesLayout.Add (this.hboxN);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.hboxN]));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.hboxP = new global::Gtk.HBox ();
     this.hboxP.Name = "hboxP";
     this.hboxP.Spacing = 6;
     // Container child hboxP.Gtk.Box+BoxChild
     this.numP = new global::Gtk.SpinButton (0, 1000, 1);
     this.numP.CanFocus = true;
     this.numP.Name = "numP";
     this.numP.Adjustment.PageIncrement = 10;
     this.numP.ClimbRate = 1;
     this.numP.Numeric = true;
     this.numP.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1));
     this.hboxP.Add (this.numP);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxP [this.numP]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     this.PropertiesLayout.Add (this.hboxP);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.hboxP]));
     w11.TopAttach = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.lblBeta = new global::Gtk.Label ();
     this.lblBeta.Name = "lblBeta";
     this.lblBeta.LabelProp = global::Mono.Unix.Catalog.GetString ("β:");
     this.lblBeta.Justify = ((global::Gtk.Justification)(1));
     this.PropertiesLayout.Add (this.lblBeta);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblBeta]));
     w12.TopAttach = ((uint)(5));
     w12.BottomAttach = ((uint)(6));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.lblK = new global::Gtk.Label ();
     this.lblK.Name = "lblK";
     this.lblK.LabelProp = global::Mono.Unix.Catalog.GetString ("K:");
     this.lblK.Justify = ((global::Gtk.Justification)(1));
     this.PropertiesLayout.Add (this.lblK);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblK]));
     w13.TopAttach = ((uint)(4));
     w13.BottomAttach = ((uint)(5));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.lblLambda = new global::Gtk.Label ();
     this.lblLambda.Name = "lblLambda";
     this.lblLambda.LabelProp = global::Mono.Unix.Catalog.GetString ("λ:");
     this.lblLambda.Justify = ((global::Gtk.Justification)(1));
     this.PropertiesLayout.Add (this.lblLambda);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblLambda]));
     w14.TopAttach = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.lblN = new global::Gtk.Label ();
     this.lblN.Name = "lblN";
     this.lblN.LabelProp = global::Mono.Unix.Catalog.GetString ("N:");
     this.lblN.Justify = ((global::Gtk.Justification)(1));
     this.PropertiesLayout.Add (this.lblN);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblN]));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.lblOmega = new global::Gtk.Label ();
     this.lblOmega.Name = "lblOmega";
     this.lblOmega.LabelProp = global::Mono.Unix.Catalog.GetString ("ω:");
     this.lblOmega.Justify = ((global::Gtk.Justification)(1));
     this.PropertiesLayout.Add (this.lblOmega);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblOmega]));
     w16.TopAttach = ((uint)(3));
     w16.BottomAttach = ((uint)(4));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.lblP = new global::Gtk.Label ();
     this.lblP.Name = "lblP";
     this.lblP.LabelProp = global::Mono.Unix.Catalog.GetString ("P:");
     this.lblP.Justify = ((global::Gtk.Justification)(1));
     this.PropertiesLayout.Add (this.lblP);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblP]));
     w17.TopAttach = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.slideBeta = new global::Gtk.HScale (null);
     this.slideBeta.CanFocus = true;
     this.slideBeta.Name = "slideBeta";
     this.slideBeta.UpdatePolicy = ((global::Gtk.UpdateType)(2));
     this.slideBeta.Adjustment.Upper = 6.28;
     this.slideBeta.Adjustment.PageIncrement = 0.1;
     this.slideBeta.Adjustment.StepIncrement = 0.01;
     this.slideBeta.DrawValue = true;
     this.slideBeta.Digits = 2;
     this.slideBeta.ValuePos = ((global::Gtk.PositionType)(0));
     this.PropertiesLayout.Add (this.slideBeta);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideBeta]));
     w18.TopAttach = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.slideK = new global::Gtk.HScale (null);
     this.slideK.CanFocus = true;
     this.slideK.Name = "slideK";
     this.slideK.UpdatePolicy = ((global::Gtk.UpdateType)(2));
     this.slideK.Adjustment.Upper = 99;
     this.slideK.Adjustment.PageIncrement = 1;
     this.slideK.Adjustment.StepIncrement = 0.1;
     this.slideK.DrawValue = true;
     this.slideK.Digits = 0;
     this.slideK.ValuePos = ((global::Gtk.PositionType)(0));
     this.PropertiesLayout.Add (this.slideK);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideK]));
     w19.TopAttach = ((uint)(4));
     w19.BottomAttach = ((uint)(5));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.slideLambda = new global::Gtk.HScale (null);
     this.slideLambda.CanFocus = true;
     this.slideLambda.Name = "slideLambda";
     this.slideLambda.UpdatePolicy = ((global::Gtk.UpdateType)(2));
     this.slideLambda.Adjustment.Upper = 99;
     this.slideLambda.Adjustment.PageIncrement = 1;
     this.slideLambda.Adjustment.StepIncrement = 0.1;
     this.slideLambda.DrawValue = true;
     this.slideLambda.Digits = 0;
     this.slideLambda.ValuePos = ((global::Gtk.PositionType)(0));
     this.PropertiesLayout.Add (this.slideLambda);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideLambda]));
     w20.TopAttach = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.LeftAttach = ((uint)(1));
     w20.RightAttach = ((uint)(2));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.slideOmega = new global::Gtk.HScale (null);
     this.slideOmega.CanFocus = true;
     this.slideOmega.Name = "slideOmega";
     this.slideOmega.UpdatePolicy = ((global::Gtk.UpdateType)(2));
     this.slideOmega.Adjustment.Upper = 10;
     this.slideOmega.Adjustment.PageIncrement = 1;
     this.slideOmega.Adjustment.StepIncrement = 0.1;
     this.slideOmega.DrawValue = true;
     this.slideOmega.Digits = 0;
     this.slideOmega.ValuePos = ((global::Gtk.PositionType)(0));
     this.PropertiesLayout.Add (this.slideOmega);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideOmega]));
     w21.TopAttach = ((uint)(3));
     w21.BottomAttach = ((uint)(4));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child PropertiesLayout.Gtk.Table+TableChild
     this.slideTime = new global::Gtk.HScale (null);
     this.slideTime.CanFocus = true;
     this.slideTime.Name = "slideTime";
     this.slideTime.Adjustment.Upper = 100;
     this.slideTime.Adjustment.PageIncrement = 10;
     this.slideTime.Adjustment.StepIncrement = 1;
     this.slideTime.DrawValue = true;
     this.slideTime.Digits = 2;
     this.slideTime.ValuePos = ((global::Gtk.PositionType)(1));
     this.PropertiesLayout.Add (this.slideTime);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideTime]));
     w22.TopAttach = ((uint)(6));
     w22.BottomAttach = ((uint)(7));
     w22.LeftAttach = ((uint)(1));
     w22.RightAttach = ((uint)(2));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     this.rightLayout.Add (this.PropertiesLayout);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.rightLayout [this.PropertiesLayout]));
     w23.PackType = ((global::Gtk.PackType)(1));
     w23.Position = 3;
     w23.Expand = false;
     w23.Fill = false;
     this.contentColumns.Add (this.rightLayout);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.contentColumns [this.rightLayout]));
     w24.Position = 1;
     w24.Expand = false;
     w24.Fill = false;
     this.layoutBox.Add (this.contentColumns);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.layoutBox [this.contentColumns]));
     w25.Position = 1;
     // Container child layoutBox.Gtk.Box+BoxChild
     this.statusMain = new global::Gtk.Statusbar ();
     this.statusMain.Name = "statusMain";
     this.statusMain.Spacing = 6;
     // Container child statusMain.Gtk.Box+BoxChild
     this.lblStatus = new global::Gtk.Label ();
     this.lblStatus.Name = "lblStatus";
     this.lblStatus.Selectable = true;
     this.statusMain.Add (this.lblStatus);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.statusMain [this.lblStatus]));
     w26.Position = 1;
     w26.Expand = false;
     w26.Fill = false;
     // Container child statusMain.Gtk.Box+BoxChild
     this.progressStatus = new global::Gtk.ProgressBar ();
     this.progressStatus.Name = "progressStatus";
     this.statusMain.Add (this.progressStatus);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.statusMain [this.progressStatus]));
     w27.Position = 2;
     this.layoutBox.Add (this.statusMain);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.layoutBox [this.statusMain]));
     w28.Position = 2;
     w28.Expand = false;
     w28.Fill = false;
     this.Add (this.layoutBox);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 558;
     this.DefaultHeight = 309;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnSizeAllocated);
     this.mnFileNew.Activated += new global::System.EventHandler (this.OnMnFileNewActivated);
     this.mnFileOpen.Activated += new global::System.EventHandler (this.OnMnFileOpenActivated);
     this.mnFileSave.Activated += new global::System.EventHandler (this.OnMnFileSaveActivated);
     this.mnFilePlot.Activated += new global::System.EventHandler (this.OnMnFilePlotActivated);
     this.mnFileQuit.Activated += new global::System.EventHandler (this.OnMnFileCloseActivated);
     this.mnModePresentation.Changed += new global::Gtk.ChangedHandler (this.OnPresentationActionChanged);
     this.mnModeModification.Changed += new global::Gtk.ChangedHandler (this.OnMnModeModificationChanged);
     this.mnModeInvestigation.Changed += new global::Gtk.ChangedHandler (this.OnInvestigationActionChanged);
     this.mnAwpRandom.Activated += new global::System.EventHandler (this.OnMnAwpRandomActivated);
     this.mnAwpTwoSteps.Activated += new global::System.EventHandler (this.OnMnAwp2StepsActivated);
     this.mnAwpCurrent.Activated += new global::System.EventHandler (this.OnMnAwpCurrentActivated);
     this.mnExtrasPlayPause.Activated += new global::System.EventHandler (this.OnMnExtrasPlayActivated);
     this.mnExtrasClear.Activated += new global::System.EventHandler (this.OnMnExtrasClearPhaseActivated);
     this.mnHelpAbout.Activated += new global::System.EventHandler (this.OnMnHelpAboutActivated);
     this.mnExtrasOption.Activated += new global::System.EventHandler (this.OnMnExtrasOptionActivated);
     this.ZeitpunktAction.Changed += new global::Gtk.ChangedHandler (this.OnZeitpunktActionChanged);
     this.HistorieAction.Changed += new global::Gtk.ChangedHandler (this.OnHistorieActionChanged);
     this.slideTime.ValueChanged += new global::System.EventHandler (this.OnSlideTimeValueChanged);
     this.slideOmega.ValueChanged += new global::System.EventHandler (this.OnSlideOmegaValueChanged);
     this.slideLambda.ValueChanged += new global::System.EventHandler (this.OnSlideLambdaValueChanged);
     this.slideK.ValueChanged += new global::System.EventHandler (this.OnSlideKValueChanged);
     this.slideBeta.ValueChanged += new global::System.EventHandler (this.OnSlideBetaValueChanged);
     this.numP.ValueChanged += new global::System.EventHandler (this.OnNumPValueChanged);
     this.numN.ValueChanged += new global::System.EventHandler (this.OnNumNValueChanged);
     this.btnPlayPause.Clicked += new global::System.EventHandler (this.OnBtnPlayPauseClicked);
     this.drawPlayPause.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawPlayPauseExposeEvent);
 }
コード例 #19
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget PArticulo.ArticuloView
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w1.Add (this.saveAction, null);
     this.Action = new global::Gtk.RadioAction ("Action", null, null, null, 0);
     this.Action.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     w1.Add (this.Action, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "PArticulo.ArticuloView";
     this.Title = global::Mono.Unix.Catalog.GetString ("ArticuloView");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child PArticulo.ArticuloView.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='saveAction' action='saveAction'/><toolitem name='Action' action='Action'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.comboBoxCategoria = new global::Gtk.ComboBox ();
     this.comboBoxCategoria.Name = "comboBoxCategoria";
     this.table1.Add (this.comboBoxCategoria);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboBoxCategoria]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryNombre = new global::Gtk.Entry ();
     this.entryNombre.CanFocus = true;
     this.entryNombre.Name = "entryNombre";
     this.entryNombre.IsEditable = true;
     this.entryNombre.InvisibleChar = '•';
     this.table1.Add (this.entryNombre);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNombre]));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Categoría");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 0F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Precio");
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinButtonPrecio = new global::Gtk.SpinButton (0, 1000000, 1);
     this.spinButtonPrecio.CanFocus = true;
     this.spinButtonPrecio.Name = "spinButtonPrecio";
     this.spinButtonPrecio.Adjustment.PageIncrement = 10;
     this.spinButtonPrecio.ClimbRate = 1;
     this.spinButtonPrecio.Digits = ((uint)(2));
     this.spinButtonPrecio.Numeric = true;
     this.table1.Add (this.spinButtonPrecio);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinButtonPrecio]));
     w8.TopAttach = ((uint)(2));
     w8.BottomAttach = ((uint)(3));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 400;
     this.DefaultHeight = 157;
     this.Show ();
 }
コード例 #20
0
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget MainWindow
		this.UIManager = new global::Gtk.UIManager ();
		global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
		this.refreshAction = new global::Gtk.RadioAction ("refreshAction", null, null, "gtk-refresh", 0);
		this.refreshAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
		w1.Add (this.refreshAction, null);
		this.ConnectAction = new global::Gtk.Action ("ConnectAction", global::Mono.Unix.Catalog.GetString ("Connect"), null, null);
		this.ConnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Connect to Camera");
		w1.Add (this.ConnectAction, null);
		this.connectAction = new global::Gtk.Action ("connectAction", global::Mono.Unix.Catalog.GetString ("Connect"), null, "gtk-refresh");
		this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Connect");
		w1.Add (this.connectAction, null);
		this.disconnectAction = new global::Gtk.Action ("disconnectAction", global::Mono.Unix.Catalog.GetString ("Disconnect"), null, "gtk-stop");
		this.disconnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Disconnect");
		w1.Add (this.disconnectAction, null);
		this.UIManager.InsertActionGroup (w1, 0);
		this.AddAccelGroup (this.UIManager.AccelGroup);
		this.Name = "MainWindow";
		this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		// Container child MainWindow.Gtk.Container+ContainerChild
		this.vbox1 = new global::Gtk.VBox ();
		this.vbox1.Name = "vbox1";
		this.vbox1.Spacing = 6;
		// Container child vbox1.Gtk.Box+BoxChild
		this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar3\'><menu name=\'ConnectAction\' action=\'ConnectAction\'><m" +
		"enuitem name=\'connectAction\' action=\'connectAction\'/><menuitem name=\'disconnectA" +
		"ction\' action=\'disconnectAction\'/></menu></menubar></ui>");
		this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar3")));
		this.menubar3.Name = "menubar3";
		this.vbox1.Add (this.menubar3);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar3]));
		w2.Position = 0;
		w2.Expand = false;
		w2.Fill = false;
		// Container child vbox1.Gtk.Box+BoxChild
		this.hbox1 = new global::Gtk.HBox ();
		this.hbox1.Name = "hbox1";
		this.hbox1.Spacing = 6;
		// Container child hbox1.Gtk.Box+BoxChild
		this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
		this.scrolledwindow1.CanFocus = true;
		this.scrolledwindow1.Name = "scrolledwindow1";
		this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
		this.scrolledwindow1.BorderWidth = ((uint)(6));
		// Container child scrolledwindow1.Gtk.Container+ContainerChild
		global::Gtk.Viewport w3 = new global::Gtk.Viewport ();
		w3.ShadowType = ((global::Gtk.ShadowType)(0));
		// Container child GtkViewport.Gtk.Container+ContainerChild
		this.cameraSettings = new global::GoPro.PowerTools.Desktop.Widgets.CameraSettings ();
		this.cameraSettings.Events = ((global::Gdk.EventMask)(256));
		this.cameraSettings.Name = "cameraSettings";
		w3.Add (this.cameraSettings);
		this.scrolledwindow1.Add (w3);
		this.hbox1.Add (this.scrolledwindow1);
		global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.scrolledwindow1]));
		w6.Position = 0;
		// Container child hbox1.Gtk.Box+BoxChild
		this.vbox3 = new global::Gtk.VBox ();
		this.vbox3.Name = "vbox3";
		this.vbox3.Spacing = 6;
		this.vbox3.BorderWidth = ((uint)(6));
		// Container child vbox3.Gtk.Box+BoxChild
		this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
		this.GtkScrolledWindow.Name = "GtkScrolledWindow";
		this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
		// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
		this.textViewLog = new global::Gtk.TextView ();
		this.textViewLog.CanFocus = true;
		this.textViewLog.Name = "textViewLog";
		this.textViewLog.Editable = false;
		this.GtkScrolledWindow.Add (this.textViewLog);
		this.vbox3.Add (this.GtkScrolledWindow);
		global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
		w8.Position = 0;
		// Container child vbox3.Gtk.Box+BoxChild
		this.buttonClearLog = new global::Gtk.Button ();
		this.buttonClearLog.CanFocus = true;
		this.buttonClearLog.Name = "buttonClearLog";
		this.buttonClearLog.UseUnderline = true;
		this.buttonClearLog.Label = global::Mono.Unix.Catalog.GetString ("Clear Log");
		global::Gtk.Image w9 = new global::Gtk.Image ();
		w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu);
		this.buttonClearLog.Image = w9;
		this.vbox3.Add (this.buttonClearLog);
		global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonClearLog]));
		w10.Position = 1;
		w10.Expand = false;
		w10.Fill = false;
		this.hbox1.Add (this.vbox3);
		global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
		w11.Position = 1;
		this.vbox1.Add (this.hbox1);
		global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
		w12.Position = 1;
		this.Add (this.vbox1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 676;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.connectAction.Activated += new global::System.EventHandler (this.ConnectActionActivated);
		this.disconnectAction.Activated += new global::System.EventHandler (this.DisconnectActionActivated);
		this.buttonClearLog.Clicked += new global::System.EventHandler (this.ButtonClearLogClicked);
	}
コード例 #21
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget FontTool.FontStyleWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.SaveAction            = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("Save"), null, null);
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save");
     w1.Add(this.SaveAction, null);
     this.CloseAction            = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close");
     w1.Add(this.CloseAction, null);
     this.SettingsAction            = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null);
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings");
     w1.Add(this.SettingsAction, null);
     this.FontAction            = new global::Gtk.Action("FontAction", global::Mono.Unix.Catalog.GetString("Font"), null, null);
     this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Font");
     w1.Add(this.FontAction, null);
     this.WindowStyleAction            = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null);
     this.WindowStyleAction.Sensitive  = false;
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Window style");
     this.WindowStyleAction.Visible    = false;
     w1.Add(this.WindowStyleAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.CustomStyleAction            = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE2"), null, null, 0);
     this.CustomStyleAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.CustomStyleAction.Sensitive  = false;
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE2");
     this.CustomStyleAction.Visible    = false;
     w1.Add(this.CustomStyleAction, null);
     this.PlatformStyleAction            = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction.Group      = this.CustomStyleAction.Group;
     this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     w1.Add(this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction            = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE2"), null, null, 0);
     this.DecoratedCustomStyleAction.Group      = this.CustomStyleAction.Group;
     this.DecoratedCustomStyleAction.Sensitive  = false;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE2");
     this.DecoratedCustomStyleAction.Visible    = false;
     w1.Add(this.DecoratedCustomStyleAction, null);
     this.OnlyEnglishAction            = new global::Gtk.ToggleAction("OnlyEnglishAction", global::Mono.Unix.Catalog.GetString("Only English"), null, null);
     this.OnlyEnglishAction.Active     = true;
     this.OnlyEnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Only English");
     w1.Add(this.OnlyEnglishAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.WidthRequest   = 536;
     this.HeightRequest  = 536;
     this.CanDefault     = true;
     this.Name           = "FontTool.FontStyleWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("FontTool");
     this.TypeHint       = ((global::Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Resizable      = false;
     this.Decorated      = false;
     // Container child FontTool.FontStyleWindow.Gtk.Container+ContainerChild
     this.vbox1      = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='SaveAction' action='SaveAction'/><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='OnlyEnglishAction' action='OnlyEnglishAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookFont             = new global::Gtk.Notebook();
     this.notebookFont.CanFocus    = true;
     this.notebookFont.Name        = "notebookFont";
     this.notebookFont.CurrentPage = 0;
     this.notebookFont.ShowTabs    = false;
     // Container child notebookFont.Gtk.Notebook+NotebookChild
     this.vboxFontSettings             = new global::Gtk.VBox();
     this.vboxFontSettings.Name        = "vboxFontSettings";
     this.vboxFontSettings.Spacing     = 6;
     this.vboxFontSettings.BorderWidth = ((uint)(6));
     // Container child vboxFontSettings.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeFont          = new global::Gtk.TreeView();
     this.treeFont.CanFocus = true;
     this.treeFont.Name     = "treeFont";
     this.GtkScrolledWindow.Add(this.treeFont);
     this.vboxFontSettings.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.GtkScrolledWindow]));
     w4.Position = 0;
     // Container child vboxFontSettings.Gtk.Box+BoxChild
     this.vboxSamplePreview         = new global::Gtk.VBox();
     this.vboxSamplePreview.Name    = "vboxSamplePreview";
     this.vboxSamplePreview.Spacing = 6;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.lPreview           = new global::Gtk.Label();
     this.lPreview.Name      = "lPreview";
     this.lPreview.Xalign    = 0F;
     this.lPreview.LabelProp = global::Mono.Unix.Catalog.GetString("Preview");
     this.vboxSamplePreview.Add(this.lPreview);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.lPreview]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.preview = new global::Gtk.DrawingArea();
     this.preview.HeightRequest = 90;
     this.preview.Name          = "preview";
     this.vboxSamplePreview.Add(this.preview);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.preview]));
     w6.Position = 1;
     // Container child vboxSamplePreview.Gtk.Box+BoxChild
     this.ePreviewSample               = new global::Gtk.Entry();
     this.ePreviewSample.CanFocus      = true;
     this.ePreviewSample.Name          = "ePreviewSample";
     this.ePreviewSample.Text          = global::Mono.Unix.Catalog.GetString("DGLE2 is here!");
     this.ePreviewSample.IsEditable    = true;
     this.ePreviewSample.InvisibleChar = '●';
     this.vboxSamplePreview.Add(this.ePreviewSample);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.ePreviewSample]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vboxFontSettings.Add(this.vboxSamplePreview);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.vboxSamplePreview]));
     w8.Position = 1;
     w8.Expand   = false;
     // Container child vboxFontSettings.Gtk.Box+BoxChild
     this.hboxSettings         = new global::Gtk.HBox();
     this.hboxSettings.Name    = "hboxSettings";
     this.hboxSettings.Spacing = 6;
     // Container child hboxSettings.Gtk.Box+BoxChild
     this.tableSettings               = new global::Gtk.Table(((uint)(2)), ((uint)(4)), true);
     this.tableSettings.Name          = "tableSettings";
     this.tableSettings.RowSpacing    = ((uint)(12));
     this.tableSettings.ColumnSpacing = ((uint)(12));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbBold               = new global::Gtk.CheckButton();
     this.cbBold.CanFocus      = true;
     this.cbBold.Name          = "cbBold";
     this.cbBold.Label         = global::Mono.Unix.Catalog.GetString("Bold");
     this.cbBold.DrawIndicator = true;
     this.cbBold.UseUnderline  = true;
     this.tableSettings.Add(this.cbBold);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbBold]));
     w9.LeftAttach  = ((uint)(3));
     w9.RightAttach = ((uint)(4));
     w9.XOptions    = ((global::Gtk.AttachOptions)(4));
     w9.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbItalic               = new global::Gtk.CheckButton();
     this.cbItalic.CanFocus      = true;
     this.cbItalic.Name          = "cbItalic";
     this.cbItalic.Label         = global::Mono.Unix.Catalog.GetString("Italic");
     this.cbItalic.DrawIndicator = true;
     this.cbItalic.UseUnderline  = true;
     this.tableSettings.Add(this.cbItalic);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbItalic]));
     w10.LeftAttach  = ((uint)(2));
     w10.RightAttach = ((uint)(3));
     w10.XOptions    = ((global::Gtk.AttachOptions)(4));
     w10.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbStrikeout               = new global::Gtk.CheckButton();
     this.cbStrikeout.CanFocus      = true;
     this.cbStrikeout.Name          = "cbStrikeout";
     this.cbStrikeout.Label         = global::Mono.Unix.Catalog.GetString("Strikeout");
     this.cbStrikeout.DrawIndicator = true;
     this.cbStrikeout.UseUnderline  = true;
     this.tableSettings.Add(this.cbStrikeout);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbStrikeout]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(3));
     w11.RightAttach  = ((uint)(4));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.cbUnderline               = new global::Gtk.CheckButton();
     this.cbUnderline.CanFocus      = true;
     this.cbUnderline.Name          = "cbUnderline";
     this.cbUnderline.Label         = global::Mono.Unix.Catalog.GetString("Underline");
     this.cbUnderline.DrawIndicator = true;
     this.cbUnderline.UseUnderline  = true;
     this.tableSettings.Add(this.cbUnderline);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbUnderline]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.lSize           = new global::Gtk.Label();
     this.lSize.Name      = "lSize";
     this.lSize.Xalign    = 0F;
     this.lSize.LabelProp = global::Mono.Unix.Catalog.GetString("Size");
     this.tableSettings.Add(this.lSize);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lSize]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.lStretch           = new global::Gtk.Label();
     this.lStretch.Name      = "lStretch";
     this.lStretch.Xalign    = 0F;
     this.lStretch.LabelProp = global::Mono.Unix.Catalog.GetString("Stretch");
     this.tableSettings.Add(this.lStretch);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lStretch]));
     w14.TopAttach    = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.sbSize = new global::Gtk.SpinButton(4D, 72D, 1D);
     this.sbSize.WidthRequest             = 80;
     this.sbSize.CanFocus                 = true;
     this.sbSize.Name                     = "sbSize";
     this.sbSize.Adjustment.PageIncrement = 10D;
     this.sbSize.ClimbRate                = 1D;
     this.sbSize.Numeric                  = true;
     this.sbSize.Value                    = 12D;
     this.tableSettings.Add(this.sbSize);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbSize]));
     w15.LeftAttach  = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions    = ((global::Gtk.AttachOptions)(4));
     w15.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableSettings.Gtk.Table+TableChild
     this.sbStretch = new global::Gtk.SpinButton(0D, 72D, 1D);
     this.sbStretch.WidthRequest             = 80;
     this.sbStretch.CanFocus                 = true;
     this.sbStretch.Name                     = "sbStretch";
     this.sbStretch.Adjustment.PageIncrement = 10D;
     this.sbStretch.ClimbRate                = 1D;
     this.sbStretch.Numeric                  = true;
     this.tableSettings.Add(this.sbStretch);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbStretch]));
     w16.TopAttach    = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hboxSettings.Add(this.tableSettings);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.tableSettings]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hboxSettings.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.btnNextPreview              = new global::Gtk.Button();
     this.btnNextPreview.CanFocus     = true;
     this.btnNextPreview.Name         = "btnNextPreview";
     this.btnNextPreview.UseUnderline = true;
     // Container child btnNextPreview.Gtk.Container+ContainerChild
     global::Gtk.Alignment w18 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w19 = new global::Gtk.HBox();
     w19.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w20 = new global::Gtk.Image();
     w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu);
     w19.Add(w20);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w22 = new global::Gtk.Label();
     w22.LabelProp    = global::Mono.Unix.Catalog.GetString("Preview");
     w22.UseUnderline = true;
     w19.Add(w22);
     w18.Add(w19);
     this.btnNextPreview.Add(w18);
     this.vbox2.Add(this.btnNextPreview);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnNextPreview]));
     w26.PackType = ((global::Gtk.PackType)(1));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     this.hboxSettings.Add(this.vbox2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.vbox2]));
     w27.PackType = ((global::Gtk.PackType)(1));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vboxFontSettings.Add(this.hboxSettings);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.hboxSettings]));
     w28.Position = 2;
     w28.Expand   = false;
     w28.Fill     = false;
     w28.Padding  = ((uint)(6));
     this.notebookFont.Add(this.vboxFontSettings);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Settings");
     this.notebookFont.SetTabLabel(this.vboxFontSettings, this.label1);
     this.label1.ShowAll();
     // Container child notebookFont.Gtk.Notebook+NotebookChild
     this.vboxBuildPreview             = new global::Gtk.VBox();
     this.vboxBuildPreview.Name        = "vboxBuildPreview";
     this.vboxBuildPreview.Spacing     = 6;
     this.vboxBuildPreview.BorderWidth = ((uint)(6));
     // Container child vboxBuildPreview.Gtk.Box+BoxChild
     this.scrolledwindowPreview            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowPreview.CanFocus   = true;
     this.scrolledwindowPreview.Name       = "scrolledwindowPreview";
     this.scrolledwindowPreview.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindowPreview.Gtk.Container+ContainerChild
     global::Gtk.Viewport w30 = new global::Gtk.Viewport();
     w30.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.fontPreviewImage      = new global::FontTool.FontPreviewWidget();
     this.fontPreviewImage.Name = "fontPreviewImage";
     w30.Add(this.fontPreviewImage);
     this.scrolledwindowPreview.Add(w30);
     this.vboxBuildPreview.Add(this.scrolledwindowPreview);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.scrolledwindowPreview]));
     w33.Position = 0;
     // Container child vboxBuildPreview.Gtk.Box+BoxChild
     this.hboxPreview         = new global::Gtk.HBox();
     this.hboxPreview.Name    = "hboxPreview";
     this.hboxPreview.Spacing = 6;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.lImageSize           = new global::Gtk.Label();
     this.lImageSize.Name      = "lImageSize";
     this.lImageSize.LabelProp = global::Mono.Unix.Catalog.GetString("Image 0 X 0");
     this.hboxPreview.Add(this.lImageSize);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lImageSize]));
     w34.Position = 0;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.lFileSize           = new global::Gtk.Label();
     this.lFileSize.Name      = "lFileSize";
     this.lFileSize.LabelProp = global::Mono.Unix.Catalog.GetString("0 KB");
     this.hboxPreview.Add(this.lFileSize);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lFileSize]));
     w35.Position = 1;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child hboxPreview.Gtk.Box+BoxChild
     this.btnPrevSettings              = new global::Gtk.Button();
     this.btnPrevSettings.CanFocus     = true;
     this.btnPrevSettings.Name         = "btnPrevSettings";
     this.btnPrevSettings.UseUnderline = true;
     // Container child btnPrevSettings.Gtk.Container+ContainerChild
     global::Gtk.Alignment w36 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w37 = new global::Gtk.HBox();
     w37.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w38 = new global::Gtk.Image();
     w38.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu);
     w37.Add(w38);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w40 = new global::Gtk.Label();
     w40.LabelProp    = global::Mono.Unix.Catalog.GetString("Settings");
     w40.UseUnderline = true;
     w37.Add(w40);
     w36.Add(w37);
     this.btnPrevSettings.Add(w36);
     this.hboxPreview.Add(this.btnPrevSettings);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.btnPrevSettings]));
     w44.PackType = ((global::Gtk.PackType)(1));
     w44.Position = 2;
     w44.Expand   = false;
     w44.Fill     = false;
     this.vboxBuildPreview.Add(this.hboxPreview);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.hboxPreview]));
     w45.Position = 1;
     w45.Expand   = false;
     w45.Fill     = false;
     w45.Padding  = ((uint)(6));
     this.notebookFont.Add(this.vboxBuildPreview);
     global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookFont [this.vboxBuildPreview]));
     w46.Position = 1;
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Preview");
     this.notebookFont.SetTabLabel(this.vboxBuildPreview, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.notebookFont);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookFont]));
     w47.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 536;
     this.DefaultHeight = 536;
     this.HasDefault    = true;
     this.Show();
 }
コード例 #22
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", "_File", null, null);
     this.FileAction.ShortLabel = "_File";
     w1.Add(this.FileAction, null);
     this.QuitAction            = new global::Gtk.Action("QuitAction", "_Quit", null, null);
     this.QuitAction.ShortLabel = "_Quit";
     w1.Add(this.QuitAction, "<Primary><Mod2>q");
     this.PreferencesAction            = new global::Gtk.Action("PreferencesAction", "_Preferences", null, null);
     this.PreferencesAction.ShortLabel = "_Preferences";
     w1.Add(this.PreferencesAction, null);
     this.NoRoundingOffAction            = new global::Gtk.RadioAction("NoRoundingOffAction", "_No Rounding Off", null, null, 0);
     this.NoRoundingOffAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.NoRoundingOffAction.ShortLabel = "_No Rounding Off";
     w1.Add(this.NoRoundingOffAction, "<Primary><Alt><Mod2>n");
     this.WholeNumberAction            = new global::Gtk.RadioAction("WholeNumberAction", "_Whole Number", null, null, 0);
     this.WholeNumberAction.Group      = this.NoRoundingOffAction.Group;
     this.WholeNumberAction.ShortLabel = "_Whole Number";
     w1.Add(this.WholeNumberAction, "<Primary><Alt><Mod2>w");
     this.DecimalPlaceAction1            = new global::Gtk.RadioAction("DecimalPlaceAction1", "_1 Decimal Place", null, null, 0);
     this.DecimalPlaceAction1.Group      = this.WholeNumberAction.Group;
     this.DecimalPlaceAction1.ShortLabel = "_1 Decimal Place";
     w1.Add(this.DecimalPlaceAction1, "<Primary><Alt><Mod2>1");
     this.DecimalPlacesAction2            = new global::Gtk.RadioAction("DecimalPlacesAction2", "_2 Decimal Places", null, null, 0);
     this.DecimalPlacesAction2.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction2.ShortLabel = "_2 Decimal Places";
     w1.Add(this.DecimalPlacesAction2, "<Primary><Alt><Mod2>2");
     this.DecimalPlacesAction3            = new global::Gtk.RadioAction("DecimalPlacesAction3", "_3 Decimal Places", null, null, 0);
     this.DecimalPlacesAction3.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction3.ShortLabel = "_3 Decimal Places";
     w1.Add(this.DecimalPlacesAction3, "<Primary><Alt><Mod2>3");
     this.DecimalPlacesAction4            = new global::Gtk.RadioAction("DecimalPlacesAction4", "_4 Decimal Places", null, null, 0);
     this.DecimalPlacesAction4.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction4.ShortLabel = "_4 Decimal Places";
     w1.Add(this.DecimalPlacesAction4, "<Primary><Alt><Mod2>4");
     this.DecimalPlacesAction5            = new global::Gtk.RadioAction("DecimalPlacesAction5", "_5 Decimal Places", null, null, 0);
     this.DecimalPlacesAction5.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction5.ShortLabel = "_5 Decimal Places";
     w1.Add(this.DecimalPlacesAction5, "<Primary><Alt><Mod2>5");
     this.DecimalPlacesAction6            = new global::Gtk.RadioAction("DecimalPlacesAction6", "_6 Decimal Places", null, null, 0);
     this.DecimalPlacesAction6.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction6.ShortLabel = "_6 Decimal Places";
     w1.Add(this.DecimalPlacesAction6, "<Primary><Alt><Mod2>6");
     this.DecimalPlacesAction7            = new global::Gtk.RadioAction("DecimalPlacesAction7", "_7 Decimal Places", null, null, 0);
     this.DecimalPlacesAction7.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction7.ShortLabel = "_7 Decimal Places";
     w1.Add(this.DecimalPlacesAction7, "<Primary><Alt><Mod2>7");
     this.DecimalPlacesAction8            = new global::Gtk.RadioAction("DecimalPlacesAction8", "_8 Decimal Places", null, null, 0);
     this.DecimalPlacesAction8.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction8.ShortLabel = "_8 Decimal Places";
     w1.Add(this.DecimalPlacesAction8, "<Primary><Alt><Mod2>8");
     this.DecimalPlacesAction9            = new global::Gtk.RadioAction("DecimalPlacesAction9", "_9 Decimal Places", null, null, 0);
     this.DecimalPlacesAction9.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction9.ShortLabel = "_9 Decimal Places";
     w1.Add(this.DecimalPlacesAction9, "<Primary><Alt><Mod2>9");
     this.DecimalPlacesAction10            = new global::Gtk.RadioAction("DecimalPlacesAction10", "1_0 Decimal Places", null, null, 0);
     this.DecimalPlacesAction10.Group      = this.WholeNumberAction.Group;
     this.DecimalPlacesAction10.ShortLabel = "1_0 Decimal Places";
     w1.Add(this.DecimalPlacesAction10, "<Primary><Alt><Mod2>0");
     this.AboutAction            = new global::Gtk.Action("AboutAction", "_About", null, null);
     this.AboutAction.ShortLabel = "_About";
     w1.Add(this.AboutAction, null);
     this.AboutUnitConverterAction            = new global::Gtk.Action("AboutUnitConverterAction", "About _Unit Converter", null, null);
     this.AboutUnitConverterAction.ShortLabel = "About _Unit Converter";
     w1.Add(this.AboutUnitConverterAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = "Unit Converter";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.MainArea         = new global::Gtk.VBox();
     this.MainArea.Name    = "MainArea";
     this.MainArea.Spacing = 6;
     // Container child MainArea.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='MenuBar'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='PreferencesAction' action='PreferencesAction'><menuitem name='NoRoundingOffAction' action='NoRoundingOffAction'/><menuitem name='WholeNumberAction' action='WholeNumberAction'/><menuitem name='DecimalPlaceAction1' action='DecimalPlaceAction1'/><menuitem name='DecimalPlacesAction2' action='DecimalPlacesAction2'/><menuitem name='DecimalPlacesAction3' action='DecimalPlacesAction3'/><menuitem name='DecimalPlacesAction4' action='DecimalPlacesAction4'/><menuitem name='DecimalPlacesAction5' action='DecimalPlacesAction5'/><menuitem name='DecimalPlacesAction6' action='DecimalPlacesAction6'/><menuitem name='DecimalPlacesAction7' action='DecimalPlacesAction7'/><menuitem name='DecimalPlacesAction8' action='DecimalPlacesAction8'/><menuitem name='DecimalPlacesAction9' action='DecimalPlacesAction9'/><menuitem name='DecimalPlacesAction10' action='DecimalPlacesAction10'/></menu><menu name='AboutAction' action='AboutAction'><menuitem name='AboutUnitConverterAction' action='AboutUnitConverterAction'/></menu></menubar></ui>");
     this.MenuBar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/MenuBar")));
     this.MenuBar.Name = "MenuBar";
     this.MainArea.Add(this.MenuBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.MainArea[this.MenuBar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child MainArea.Gtk.Box+BoxChild
     this.MainConversionArea         = new global::Gtk.HBox();
     this.MainConversionArea.Name    = "MainConversionArea";
     this.MainConversionArea.Spacing = 6;
     // Container child MainConversionArea.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.WidthRequest     = 120;
     this.GtkScrolledWindow.HeightRequest    = 208;
     this.GtkScrolledWindow.Name             = "GtkScrolledWindow";
     this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow.ShadowType       = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     global::Gtk.Viewport w3 = new global::Gtk.Viewport();
     w3.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.QuantityPicker             = new global::Gtk.VButtonBox();
     this.QuantityPicker.Name        = "QuantityPicker";
     this.QuantityPicker.Homogeneous = true;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.LengthSelector              = new global::Gtk.Button();
     this.LengthSelector.CanFocus     = true;
     this.LengthSelector.Name         = "LengthSelector";
     this.LengthSelector.UseUnderline = true;
     this.LengthSelector.Label        = "Length";
     this.QuantityPicker.Add(this.LengthSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.LengthSelector]));
     w4.Expand = false;
     w4.Fill   = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.AreaSelector              = new global::Gtk.Button();
     this.AreaSelector.CanFocus     = true;
     this.AreaSelector.Name         = "AreaSelector";
     this.AreaSelector.UseUnderline = true;
     this.AreaSelector.Label        = "Area";
     this.QuantityPicker.Add(this.AreaSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.AreaSelector]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.VolumeSelector              = new global::Gtk.Button();
     this.VolumeSelector.CanFocus     = true;
     this.VolumeSelector.Name         = "VolumeSelector";
     this.VolumeSelector.UseUnderline = true;
     this.VolumeSelector.Label        = "Volume";
     this.QuantityPicker.Add(this.VolumeSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.VolumeSelector]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.TimeSelector              = new global::Gtk.Button();
     this.TimeSelector.CanFocus     = true;
     this.TimeSelector.Name         = "TimeSelector";
     this.TimeSelector.UseUnderline = true;
     this.TimeSelector.Label        = "Time";
     this.QuantityPicker.Add(this.TimeSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.TimeSelector]));
     w7.Position = 3;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.SpeedSelector              = new global::Gtk.Button();
     this.SpeedSelector.CanFocus     = true;
     this.SpeedSelector.Name         = "SpeedSelector";
     this.SpeedSelector.UseUnderline = true;
     this.SpeedSelector.Label        = "Speed";
     this.QuantityPicker.Add(this.SpeedSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.SpeedSelector]));
     w8.Position = 4;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.FlowAreaSelector              = new global::Gtk.Button();
     this.FlowAreaSelector.CanFocus     = true;
     this.FlowAreaSelector.Name         = "FlowAreaSelector";
     this.FlowAreaSelector.UseUnderline = true;
     this.FlowAreaSelector.Label        = "Flow Area";
     this.QuantityPicker.Add(this.FlowAreaSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.FlowAreaSelector]));
     w9.Position = 5;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.FlowVolumeSelector              = new global::Gtk.Button();
     this.FlowVolumeSelector.CanFocus     = true;
     this.FlowVolumeSelector.Name         = "FlowVolumeSelector";
     this.FlowVolumeSelector.UseUnderline = true;
     this.FlowVolumeSelector.Label        = "Flow Volume";
     this.QuantityPicker.Add(this.FlowVolumeSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.FlowVolumeSelector]));
     w10.Position = 6;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.FlowMassSelector              = new global::Gtk.Button();
     this.FlowMassSelector.CanFocus     = true;
     this.FlowMassSelector.Name         = "FlowMassSelector";
     this.FlowMassSelector.UseUnderline = true;
     this.FlowMassSelector.Label        = "Flow Mass";
     this.QuantityPicker.Add(this.FlowMassSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.FlowMassSelector]));
     w11.Position = 7;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.MassSelector              = new global::Gtk.Button();
     this.MassSelector.CanFocus     = true;
     this.MassSelector.Name         = "MassSelector";
     this.MassSelector.UseUnderline = true;
     this.MassSelector.Label        = "Mass";
     this.QuantityPicker.Add(this.MassSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.MassSelector]));
     w12.Position = 8;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.EnergySelector              = new global::Gtk.Button();
     this.EnergySelector.CanFocus     = true;
     this.EnergySelector.Name         = "EnergySelector";
     this.EnergySelector.UseUnderline = true;
     this.EnergySelector.Label        = "Energy";
     this.QuantityPicker.Add(this.EnergySelector);
     global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.EnergySelector]));
     w13.Position = 9;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.PressureSelector              = new global::Gtk.Button();
     this.PressureSelector.CanFocus     = true;
     this.PressureSelector.Name         = "PressureSelector";
     this.PressureSelector.UseUnderline = true;
     this.PressureSelector.Label        = "Pressure";
     this.QuantityPicker.Add(this.PressureSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.PressureSelector]));
     w14.Position = 10;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.TemperatureSelector              = new global::Gtk.Button();
     this.TemperatureSelector.CanFocus     = true;
     this.TemperatureSelector.Name         = "TemperatureSelector";
     this.TemperatureSelector.UseUnderline = true;
     this.TemperatureSelector.Label        = "Temperature";
     this.QuantityPicker.Add(this.TemperatureSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.TemperatureSelector]));
     w15.Position = 11;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.LuminanceSelector              = new global::Gtk.Button();
     this.LuminanceSelector.CanFocus     = true;
     this.LuminanceSelector.Name         = "LuminanceSelector";
     this.LuminanceSelector.UseUnderline = true;
     this.LuminanceSelector.Label        = "Luminance";
     this.QuantityPicker.Add(this.LuminanceSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.LuminanceSelector]));
     w16.Position = 12;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.IlluminanceSelector              = new global::Gtk.Button();
     this.IlluminanceSelector.CanFocus     = true;
     this.IlluminanceSelector.Name         = "IlluminanceSelector";
     this.IlluminanceSelector.UseUnderline = true;
     this.IlluminanceSelector.Label        = "Illuminance";
     this.QuantityPicker.Add(this.IlluminanceSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.IlluminanceSelector]));
     w17.Position = 13;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.AngleSelector              = new global::Gtk.Button();
     this.AngleSelector.CanFocus     = true;
     this.AngleSelector.Name         = "AngleSelector";
     this.AngleSelector.UseUnderline = true;
     this.AngleSelector.Label        = "Angle";
     this.QuantityPicker.Add(this.AngleSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.AngleSelector]));
     w18.Position = 14;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild
     this.DataSizeSelector              = new global::Gtk.Button();
     this.DataSizeSelector.CanFocus     = true;
     this.DataSizeSelector.Name         = "DataSizeSelector";
     this.DataSizeSelector.UseUnderline = true;
     this.DataSizeSelector.Label        = "Data Size";
     this.QuantityPicker.Add(this.DataSizeSelector);
     global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.DataSizeSelector]));
     w19.Position = 15;
     w19.Expand   = false;
     w19.Fill     = false;
     w3.Add(this.QuantityPicker);
     this.GtkScrolledWindow.Add(w3);
     this.MainConversionArea.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.MainConversionArea[this.GtkScrolledWindow]));
     w22.Position = 0;
     // Container child MainConversionArea.Gtk.Box+BoxChild
     this.ConversionAreaA         = new global::Gtk.VBox();
     this.ConversionAreaA.Name    = "ConversionAreaA";
     this.ConversionAreaA.Spacing = 6;
     // Container child ConversionAreaA.Gtk.Box+BoxChild
     this.FromUnitPicker = global::Gtk.ComboBox.NewText();
     this.FromUnitPicker.WidthRequest = 320;
     this.FromUnitPicker.Name         = "FromUnitPicker";
     this.ConversionAreaA.Add(this.FromUnitPicker);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaA[this.FromUnitPicker]));
     w23.Position = 0;
     w23.Fill     = false;
     // Container child ConversionAreaA.Gtk.Box+BoxChild
     this.InputBox               = new global::Gtk.Entry();
     this.InputBox.CanFocus      = true;
     this.InputBox.Name          = "InputBox";
     this.InputBox.IsEditable    = true;
     this.InputBox.InvisibleChar = '•';
     this.ConversionAreaA.Add(this.InputBox);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaA[this.InputBox]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child ConversionAreaA.Gtk.Box+BoxChild
     this.ClearButton              = new global::Gtk.Button();
     this.ClearButton.CanFocus     = true;
     this.ClearButton.Name         = "ClearButton";
     this.ClearButton.UseUnderline = true;
     this.ClearButton.Label        = "_Clear";
     this.ConversionAreaA.Add(this.ClearButton);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaA[this.ClearButton]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.Fill     = false;
     this.MainConversionArea.Add(this.ConversionAreaA);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.MainConversionArea[this.ConversionAreaA]));
     w26.Position = 1;
     w26.Fill     = false;
     // Container child MainConversionArea.Gtk.Box+BoxChild
     this.ConversionAreaB         = new global::Gtk.VBox();
     this.ConversionAreaB.Name    = "ConversionAreaB";
     this.ConversionAreaB.Spacing = 6;
     // Container child ConversionAreaB.Gtk.Box+BoxChild
     this.ToUnitPicker = global::Gtk.ComboBox.NewText();
     this.ToUnitPicker.WidthRequest = 320;
     this.ToUnitPicker.Name         = "ToUnitPicker";
     this.ConversionAreaB.Add(this.ToUnitPicker);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaB[this.ToUnitPicker]));
     w27.Position = 0;
     w27.Fill     = false;
     // Container child ConversionAreaB.Gtk.Box+BoxChild
     this.OutputBox               = new global::Gtk.Entry();
     this.OutputBox.CanFocus      = true;
     this.OutputBox.Name          = "OutputBox";
     this.OutputBox.IsEditable    = false;
     this.OutputBox.InvisibleChar = '•';
     this.ConversionAreaB.Add(this.OutputBox);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaB[this.OutputBox]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child ConversionAreaB.Gtk.Box+BoxChild
     this.SwapButton              = new global::Gtk.Button();
     this.SwapButton.CanFocus     = true;
     this.SwapButton.Name         = "SwapButton";
     this.SwapButton.UseUnderline = true;
     this.SwapButton.Label        = "_Swap";
     this.ConversionAreaB.Add(this.SwapButton);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaB[this.SwapButton]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     this.MainConversionArea.Add(this.ConversionAreaB);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.MainConversionArea[this.ConversionAreaB]));
     w30.Position = 2;
     w30.Fill     = false;
     this.MainArea.Add(this.MainConversionArea);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.MainArea[this.MainConversionArea]));
     w31.Position = 1;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child MainArea.Gtk.Box+BoxChild
     this.StatusBar         = new global::Gtk.Statusbar();
     this.StatusBar.Name    = "StatusBar";
     this.StatusBar.Spacing = 6;
     this.MainArea.Add(this.StatusBar);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.MainArea[this.StatusBar]));
     w32.Position = 2;
     w32.Expand   = false;
     w32.Fill     = false;
     this.Add(this.MainArea);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 772;
     this.DefaultHeight = 264;
     this.Show();
     this.DeleteEvent                     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.QuitAction.Activated            += new global::System.EventHandler(this.QuitSelected);
     this.NoRoundingOffAction.Activated   += new global::System.EventHandler(this.NoRoundingOffSelected);
     this.WholeNumberAction.Activated     += new global::System.EventHandler(this.WholeNumberSelected);
     this.DecimalPlaceAction1.Activated   += new global::System.EventHandler(this.DP1Selected);
     this.DecimalPlacesAction2.Activated  += new global::System.EventHandler(this.DP2Selected);
     this.DecimalPlacesAction3.Activated  += new global::System.EventHandler(this.DP3Selected);
     this.DecimalPlacesAction4.Activated  += new global::System.EventHandler(this.DP4Selected);
     this.DecimalPlacesAction5.Activated  += new global::System.EventHandler(this.DP5Selected);
     this.DecimalPlacesAction6.Activated  += new global::System.EventHandler(this.DP6Selected);
     this.DecimalPlacesAction7.Activated  += new global::System.EventHandler(this.DP7Selected);
     this.DecimalPlacesAction8.Activated  += new global::System.EventHandler(this.DP8Selected);
     this.DecimalPlacesAction9.Activated  += new global::System.EventHandler(this.DP9Selected);
     this.DecimalPlacesAction10.Activated += new global::System.EventHandler(this.DP10Selected);
     this.LengthSelector.Clicked          += new global::System.EventHandler(this.LengthButtonClicked);
     this.AreaSelector.Clicked            += new global::System.EventHandler(this.AreaButtonClicked);
     this.VolumeSelector.Clicked          += new global::System.EventHandler(this.VolumeButtonClicked);
     this.TimeSelector.Clicked            += new global::System.EventHandler(this.TimeButtonClicked);
     this.SpeedSelector.Clicked           += new global::System.EventHandler(this.SpeedButtonClicked);
     this.FlowAreaSelector.Clicked        += new global::System.EventHandler(this.FlowAreaButtonClicked);
     this.FlowVolumeSelector.Clicked      += new global::System.EventHandler(this.FlowVolumeButtonClicked);
     this.FlowMassSelector.Clicked        += new global::System.EventHandler(this.FlowMassButtonClicked);
     this.MassSelector.Clicked            += new global::System.EventHandler(this.MassButtonClicked);
     this.EnergySelector.Clicked          += new global::System.EventHandler(this.EnergyButtonClicked);
     this.PressureSelector.Clicked        += new global::System.EventHandler(this.PressureButtonClicked);
     this.TemperatureSelector.Clicked     += new global::System.EventHandler(this.TemperatureButtonClicked);
     this.LuminanceSelector.Clicked       += new global::System.EventHandler(this.LuminanceButtonClicked);
     this.IlluminanceSelector.Clicked     += new global::System.EventHandler(this.IlluminanceButtonClicked);
     this.AngleSelector.Clicked           += new global::System.EventHandler(this.AngleButtonClicked);
     this.DataSizeSelector.Clicked        += new global::System.EventHandler(this.DataSizeClick);
     this.FromUnitPicker.Changed          += new global::System.EventHandler(this.InputBoxSelectedChanged);
     this.InputBox.TextInserted           += new global::Gtk.TextInsertedHandler(this.InputTextInserted);
     this.InputBox.TextDeleted            += new global::Gtk.TextDeletedHandler(this.InputTextDeleted);
     this.ClearButton.Clicked             += new global::System.EventHandler(this.ClearButtonClicked);
     this.ToUnitPicker.Changed            += new global::System.EventHandler(this.OutputBoxSelectedChanged);
     this.SwapButton.Clicked              += new global::System.EventHandler(this.SwapButtonClicked);
 }
コード例 #23
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.NewPojectAction            = new global::Gtk.Action("NewPojectAction", global::Mono.Unix.Catalog.GetString("_New Project"), null, "gtk-new");
     this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New Project");
     w1.Add(this.NewPojectAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open Project"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Project");
     w1.Add(this.openAction, null);
     this.QuitAction            = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.QuitAction, null);
     this.CloseProjectAction            = new global::Gtk.Action("CloseProjectAction", global::Mono.Unix.Catalog.GetString("_Close Project"), null, "gtk-close");
     this.CloseProjectAction.Sensitive  = false;
     this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close Project");
     w1.Add(this.CloseProjectAction, null);
     this.ToolsAction            = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools");
     w1.Add(this.ToolsAction, null);
     this.ProjectsManagerAction            = new global::Gtk.Action("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString("Projects Manager"), null, null);
     this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Database Manager");
     w1.Add(this.ProjectsManagerAction, null);
     this.CategoriesTemplatesManagerAction            = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Categories Templates Manager"), null, null);
     this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Templates Manager");
     w1.Add(this.CategoriesTemplatesManagerAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View");
     w1.Add(this.ViewAction, "<Control>t");
     this.FullScreenAction            = new global::Gtk.ToggleAction("FullScreenAction", global::Mono.Unix.Catalog.GetString("Full Screen"), null, "gtk-fullscreen");
     this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Full Screen");
     w1.Add(this.FullScreenAction, "<Control><Alt>f");
     this.PlaylistAction            = new global::Gtk.ToggleAction("PlaylistAction", global::Mono.Unix.Catalog.GetString("Playlist"), null, null);
     this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Playlist");
     w1.Add(this.PlaylistAction, "<Control>p");
     this.TaggingViewAction            = new global::Gtk.RadioAction("TaggingViewAction", global::Mono.Unix.Catalog.GetString("Tagging view"), null, null, 0);
     this.TaggingViewAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.TaggingViewAction.Sensitive  = false;
     this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture Mode");
     w1.Add(this.TaggingViewAction, "<Control>c");
     this.TimelineViewAction            = new global::Gtk.RadioAction("TimelineViewAction", global::Mono.Unix.Catalog.GetString("Timeline view"), null, null, 0);
     this.TimelineViewAction.Group      = this.TaggingViewAction.Group;
     this.TimelineViewAction.Sensitive  = false;
     this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Analyze Mode");
     w1.Add(this.TimelineViewAction, "<Control>a");
     this.SaveProjectAction            = new global::Gtk.Action("SaveProjectAction", global::Mono.Unix.Catalog.GetString("_Save Project"), null, "gtk-save");
     this.SaveProjectAction.Sensitive  = false;
     this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save Project");
     w1.Add(this.SaveProjectAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w1.Add(this.AboutAction, null);
     this.ExportProjectToCSVFileAction            = new global::Gtk.Action("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString("Export Project To CSV File"), null, null);
     this.ExportProjectToCSVFileAction.Sensitive  = false;
     this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project To CSV File");
     this.ExportProjectToCSVFileAction.Visible    = false;
     w1.Add(this.ExportProjectToCSVFileAction, null);
     this.TeamsTemplatesManagerAction            = new global::Gtk.Action("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Teams Templates Manager"), null, null);
     this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Teams Templates Manager");
     w1.Add(this.TeamsTemplatesManagerAction, null);
     this.HideAllWidgetsAction            = new global::Gtk.ToggleAction("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString("Hide All Widgets"), null, null);
     this.HideAllWidgetsAction.Sensitive  = false;
     this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hide All Widgets");
     w1.Add(this.HideAllWidgetsAction, null);
     this.HelpAction1            = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help");
     this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction1, null);
     this.DrawingToolAction            = new global::Gtk.ToggleAction("DrawingToolAction", global::Mono.Unix.Catalog.GetString("_Drawing Tool"), null, null);
     this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drawing Tool");
     w1.Add(this.DrawingToolAction, "<Control>d");
     this.ImportProjectAction            = new global::Gtk.Action("ImportProjectAction", global::Mono.Unix.Catalog.GetString("_Import Project"), null, "stock-import");
     this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import Project");
     w1.Add(this.ImportProjectAction, "<Control>i");
     this.ManualTaggingViewAction            = new global::Gtk.RadioAction("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString("Manual tagging view"), null, null, 0);
     this.ManualTaggingViewAction.Group      = this.TimelineViewAction.Group;
     this.ManualTaggingViewAction.Sensitive  = false;
     this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Free Capture Mode");
     w1.Add(this.ManualTaggingViewAction, "<Control>f");
     this.GameUnitsViewAction            = new global::Gtk.RadioAction("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString("Game units view"), null, null, 0);
     this.GameUnitsViewAction.Group      = this.TimelineViewAction.Group;
     this.GameUnitsViewAction.Sensitive  = false;
     this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game units view");
     w1.Add(this.GameUnitsViewAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "LongoMatch.Gui.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("LongoMatch");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog);
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Container child LongoMatch.Gui.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.menubox         = new global::Gtk.VBox();
     this.menubox.Name    = "menubox";
     this.menubox.Spacing = 6;
     // Container child menubox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='ExportProjectToCSVFileAction' action='ExportProjectToCSVFileAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.menubox.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox1.Add(this.menubox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned          = new global::Gtk.HPaned();
     this.hpaned.CanFocus = true;
     this.hpaned.Name     = "hpaned";
     this.hpaned.Position = 161;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.leftbox         = new global::Gtk.VBox();
     this.leftbox.Name    = "leftbox";
     this.leftbox.Spacing = 6;
     // Container child leftbox.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 3;
     this.notebook1.TabPos      = ((global::Gtk.PositionType)(3));
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.playsList        = new global::LongoMatch.Gui.Component.PlaysListTreeWidget();
     this.playsList.Events = ((global::Gdk.EventMask)(256));
     this.playsList.Name   = "playsList";
     this.notebook1.Add(this.playsList);
     // Notebook tab
     this.playslabel           = new global::Gtk.Label();
     this.playslabel.Name      = "playslabel";
     this.playslabel.LabelProp = global::Mono.Unix.Catalog.GetString("Plays");
     this.notebook1.SetTabLabel(this.playsList, this.playslabel);
     this.playslabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.localPlayersList        = new global::LongoMatch.Gui.Component.PlayersListTreeWidget();
     this.localPlayersList.Events = ((global::Gdk.EventMask)(256));
     this.localPlayersList.Name   = "localPlayersList";
     this.notebook1.Add(this.localPlayersList);
     global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.localPlayersList]));
     w5.Position = 1;
     // Notebook tab
     this.localteamlabel           = new global::Gtk.Label();
     this.localteamlabel.Name      = "localteamlabel";
     this.localteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Local Team");
     this.notebook1.SetTabLabel(this.localPlayersList, this.localteamlabel);
     this.localteamlabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.visitorPlayersList        = new global::LongoMatch.Gui.Component.PlayersListTreeWidget();
     this.visitorPlayersList.Events = ((global::Gdk.EventMask)(256));
     this.visitorPlayersList.Name   = "visitorPlayersList";
     this.notebook1.Add(this.visitorPlayersList);
     global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.visitorPlayersList]));
     w6.Position = 2;
     // Notebook tab
     this.visitorteamlabel           = new global::Gtk.Label();
     this.visitorteamlabel.Name      = "visitorteamlabel";
     this.visitorteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Visitor Team");
     this.notebook1.SetTabLabel(this.visitorPlayersList, this.visitorteamlabel);
     this.visitorteamlabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.tagsList           = new global::LongoMatch.Gui.Component.TagsTreeWidget();
     this.tagsList.Sensitive = false;
     this.tagsList.Events    = ((global::Gdk.EventMask)(256));
     this.tagsList.Name      = "tagsList";
     this.notebook1.Add(this.tagsList);
     global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.tagsList]));
     w7.Position = 3;
     // Notebook tab
     this.tagslabel           = new global::Gtk.Label();
     this.tagslabel.Name      = "tagslabel";
     this.tagslabel.LabelProp = global::Mono.Unix.Catalog.GetString("Tags");
     this.notebook1.SetTabLabel(this.tagsList, this.tagslabel);
     this.tagslabel.ShowAll();
     this.leftbox.Add(this.notebook1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.notebook1]));
     w8.Position = 0;
     this.hpaned.Add(this.leftbox);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox]));
     w9.Resize = false;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 834;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.downbox         = new global::Gtk.VBox();
     this.downbox.Name    = "downbox";
     this.downbox.Spacing = 6;
     // Container child downbox.Gtk.Box+BoxChild
     this.videowidgetsbox         = new global::Gtk.HBox();
     this.videowidgetsbox.Name    = "videowidgetsbox";
     this.videowidgetsbox.Spacing = 6;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.drawingtoolbox1        = new global::LongoMatch.Gui.Component.DrawingToolBox();
     this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256));
     this.drawingtoolbox1.Name   = "drawingtoolbox1";
     this.videowidgetsbox.Add(this.drawingtoolbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.player            = new global::LongoMatch.Gui.PlayerBin();
     this.player.Events     = ((global::Gdk.EventMask)(256));
     this.player.Name       = "player";
     this.player.Rate       = 1F;
     this.player.ExpandLogo = true;
     this.videowidgetsbox.Add(this.player);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.player]));
     w11.Position = 1;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.capturer        = new global::LongoMatch.Gui.CapturerBin();
     this.capturer.Events = ((global::Gdk.EventMask)(256));
     this.capturer.Name   = "capturer";
     this.videowidgetsbox.Add(this.capturer);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.capturer]));
     w12.Position = 2;
     this.downbox.Add(this.videowidgetsbox);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox]));
     w13.Position = 0;
     // Container child downbox.Gtk.Box+BoxChild
     this.buttonswidget        = new global::LongoMatch.Gui.Component.ButtonsWidget();
     this.buttonswidget.Events = ((global::Gdk.EventMask)(256));
     this.buttonswidget.Name   = "buttonswidget";
     this.downbox.Add(this.buttonswidget);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget]));
     w14.Position = 1;
     w14.Expand   = false;
     // Container child downbox.Gtk.Box+BoxChild
     this.gameunitstaggerwidget1        = new global::LongoMatch.Gui.Component.GameUnitsTagger();
     this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256));
     this.gameunitstaggerwidget1.Name   = "gameunitstaggerwidget1";
     this.downbox.Add(this.gameunitstaggerwidget1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1]));
     w15.Position = 2;
     w15.Expand   = false;
     this.hpaned1.Add(this.downbox);
     global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox]));
     w16.Resize = false;
     w16.Shrink = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.rightvbox = new global::Gtk.VBox();
     this.rightvbox.WidthRequest = 100;
     this.rightvbox.Name         = "rightvbox";
     this.rightvbox.Spacing      = 6;
     // Container child rightvbox.Gtk.Box+BoxChild
     this.notes        = new global::LongoMatch.Gui.Component.NotesWidget();
     this.notes.Events = ((global::Gdk.EventMask)(256));
     this.notes.Name   = "notes";
     this.rightvbox.Add(this.notes);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.notes]));
     w17.Position = 0;
     // Container child rightvbox.Gtk.Box+BoxChild
     this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget();
     this.playlist.WidthRequest = 100;
     this.playlist.Events       = ((global::Gdk.EventMask)(256));
     this.playlist.Name         = "playlist";
     this.rightvbox.Add(this.playlist);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.playlist]));
     w18.Position = 1;
     this.hpaned1.Add(this.rightvbox);
     global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.rightvbox]));
     w19.Resize = false;
     w19.Shrink = false;
     this.hpaned.Add(this.hpaned1);
     global::Gtk.Paned.PanedChild w20 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1]));
     w20.Resize = false;
     w20.Shrink = false;
     this.vbox1.Add(this.hpaned);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned]));
     w21.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.renderingstatebar1          = new global::LongoMatch.Gui.Component.RenderingStateBar();
     this.renderingstatebar1.Events   = ((global::Gdk.EventMask)(256));
     this.renderingstatebar1.Name     = "renderingstatebar1";
     this.renderingstatebar1.Fraction = 0;
     this.statusbar1.Add(this.renderingstatebar1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1]));
     w22.Position = 2;
     w22.Expand   = false;
     w22.Fill     = false;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1224;
     this.DefaultHeight = 681;
     this.leftbox.Hide();
     this.drawingtoolbox1.Hide();
     this.buttonswidget.Hide();
     this.notes.Hide();
     this.playlist.Hide();
     this.rightvbox.Hide();
     this.renderingstatebar1.Hide();
     this.Show();
     this.NewPojectAction.Activated       += new global::System.EventHandler(this.OnNewActivated);
     this.openAction.Activated            += new global::System.EventHandler(this.OnOpenActivated);
     this.FullScreenAction.Toggled        += new global::System.EventHandler(this.OnFullScreenActionToggled);
     this.PlaylistAction.Toggled          += new global::System.EventHandler(this.OnPlaylistActionToggled);
     this.TaggingViewAction.Toggled       += new global::System.EventHandler(this.OnViewToggled);
     this.TimelineViewAction.Toggled      += new global::System.EventHandler(this.OnViewToggled);
     this.AboutAction.Activated           += new global::System.EventHandler(this.OnAboutActionActivated);
     this.HideAllWidgetsAction.Toggled    += new global::System.EventHandler(this.OnHideAllWidgetsActionToggled);
     this.HelpAction1.Activated           += new global::System.EventHandler(this.OnHelpAction1Activated);
     this.DrawingToolAction.Toggled       += new global::System.EventHandler(this.OnDrawingToolActionToggled);
     this.ManualTaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled);
     this.GameUnitsViewAction.Toggled     += new global::System.EventHandler(this.OnViewToggled);
     this.playsList.TimeNodeSelected      += new global::LongoMatch.Handlers.PlaySelectedHandler(this.OnTimeNodeSelected);
     this.player.Error += new global::LongoMatch.Video.Common.ErrorHandler(this.OnPlayerbin1Error);
     this.player.SegmentClosedEvent += new global::LongoMatch.Video.Common.SegmentClosedHandler(this.OnSegmentClosedEvent);
     this.capturer.Error            += new global::LongoMatch.Video.Common.ErrorHandler(this.OnCapturerBinError);
 }
コード例 #24
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.revertToSavedAction       = new global::Gtk.RadioAction("revertToSavedAction", null, null, "gtk-revert-to-saved", 0);
     this.revertToSavedAction.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     w1.Add(this.revertToSavedAction, null);
     this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open");
     w1.Add(this.openAction, null);
     this.cutAction = new global::Gtk.Action("cutAction", null, null, "gtk-cut");
     w1.Add(this.cutAction, null);
     this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save");
     w1.Add(this.saveAction, null);
     this.cdromAction = new global::Gtk.Action("cdromAction", null, null, "gtk-cdrom");
     w1.Add(this.cdromAction, null);
     this.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh");
     w1.Add(this.refreshAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("IluCut Pro 0.1");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.BorderWidth    = ((uint)(9));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 3;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='openAction' action='openAction'/><toolitem name='cutAction' action='cutAction'/><toolitem name='cdromAction' action='cdromAction'/><toolitem name='refreshAction' action='refreshAction'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox2.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(10)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button4              = new global::Gtk.Button();
     this.button4.CanFocus     = true;
     this.button4.Name         = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label        = global::Mono.Unix.Catalog.GetString("Llenar Hoja");
     this.table1.Add(this.button4);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.button4]));
     w3.TopAttach    = ((uint)(4));
     w3.BottomAttach = ((uint)(5));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cbSquare               = new global::Gtk.CheckButton();
     this.cbSquare.CanFocus      = true;
     this.cbSquare.Name          = "cbSquare";
     this.cbSquare.Label         = "";
     this.cbSquare.DrawIndicator = true;
     this.cbSquare.UseUnderline  = true;
     this.table1.Add(this.cbSquare);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbSquare]));
     w4.TopAttach    = ((uint)(7));
     w4.BottomAttach = ((uint)(8));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.XOptions     = ((global::Gtk.AttachOptions)(4));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Ancho ↔");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Encuadrado");
     this.table1.Add(this.label10);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10]));
     w6.TopAttach    = ((uint)(7));
     w6.BottomAttach = ((uint)(8));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Espaciado ↔");
     this.table1.Add(this.label12);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12]));
     w7.TopAttach    = ((uint)(5));
     w7.BottomAttach = ((uint)(6));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Espaciado ↕");
     this.table1.Add(this.label13);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label13]));
     w8.TopAttach    = ((uint)(6));
     w8.BottomAttach = ((uint)(7));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Ancho papel");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w9.TopAttach    = ((uint)(8));
     w9.BottomAttach = ((uint)(9));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Alto papel");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w10.TopAttach    = ((uint)(9));
     w10.BottomAttach = ((uint)(10));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Cantidad");
     this.table1.Add(this.label7);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w11.TopAttach    = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Columnas");
     this.table1.Add(this.label8);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w12.TopAttach    = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Alto ↕");
     this.table1.Add(this.label9);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spAlto          = new global::Gtk.SpinButton(5, 5000, 1);
     this.spAlto.CanFocus = true;
     this.spAlto.Name     = "spAlto";
     this.spAlto.Adjustment.PageIncrement = 10;
     this.spAlto.ClimbRate = 1;
     this.spAlto.Numeric   = true;
     this.spAlto.Value     = 297;
     this.table1.Add(this.spAlto);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.spAlto]));
     w14.TopAttach    = ((uint)(9));
     w14.BottomAttach = ((uint)(10));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spAncho          = new global::Gtk.SpinButton(5, 700, 1);
     this.spAncho.CanFocus = true;
     this.spAncho.Name     = "spAncho";
     this.spAncho.Adjustment.PageIncrement = 10;
     this.spAncho.ClimbRate = 1;
     this.spAncho.Numeric   = true;
     this.spAncho.Value     = 210;
     this.table1.Add(this.spAncho);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.spAncho]));
     w15.TopAttach    = ((uint)(8));
     w15.BottomAttach = ((uint)(9));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spCant          = new global::Gtk.SpinButton(1, 999, 1);
     this.spCant.CanFocus = true;
     this.spCant.Name     = "spCant";
     this.spCant.Adjustment.PageIncrement = 10;
     this.spCant.ClimbRate = 1;
     this.spCant.Numeric   = true;
     this.spCant.Value     = 1;
     this.table1.Add(this.spCant);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.spCant]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spColumns          = new global::Gtk.SpinButton(1, 100, 1);
     this.spColumns.CanFocus = true;
     this.spColumns.Name     = "spColumns";
     this.spColumns.Adjustment.PageIncrement = 10;
     this.spColumns.ClimbRate = 1;
     this.spColumns.Numeric   = true;
     this.spColumns.Value     = 1;
     this.table1.Add(this.spColumns);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.spColumns]));
     w17.TopAttach    = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spHeight          = new global::Gtk.SpinButton(1, 999999, 0.05);
     this.spHeight.CanFocus = true;
     this.spHeight.Name     = "spHeight";
     this.spHeight.Adjustment.PageIncrement = 10;
     this.spHeight.ClimbRate = 1;
     this.spHeight.Numeric   = true;
     this.spHeight.Value     = 1;
     this.table1.Add(this.spHeight);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.spHeight]));
     w18.TopAttach    = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spSpaceX          = new global::Gtk.SpinButton(0, 100, 0.05);
     this.spSpaceX.CanFocus = true;
     this.spSpaceX.Name     = "spSpaceX";
     this.spSpaceX.Adjustment.PageIncrement = 10;
     this.spSpaceX.ClimbRate = 1;
     this.spSpaceX.Numeric   = true;
     this.spSpaceX.Value     = 1;
     this.table1.Add(this.spSpaceX);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.spSpaceX]));
     w19.TopAttach    = ((uint)(5));
     w19.BottomAttach = ((uint)(6));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spSpaceY          = new global::Gtk.SpinButton(0, 100, 0.05);
     this.spSpaceY.CanFocus = true;
     this.spSpaceY.Name     = "spSpaceY";
     this.spSpaceY.Adjustment.PageIncrement = 10;
     this.spSpaceY.ClimbRate = 1;
     this.spSpaceY.Numeric   = true;
     this.spSpaceY.Value     = 1;
     this.table1.Add(this.spSpaceY);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.spSpaceY]));
     w20.TopAttach    = ((uint)(6));
     w20.BottomAttach = ((uint)(7));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spWidth          = new global::Gtk.SpinButton(1, 999999, 0.05);
     this.spWidth.CanFocus = true;
     this.spWidth.Name     = "spWidth";
     this.spWidth.Adjustment.PageIncrement = 10;
     this.spWidth.ClimbRate = 1;
     this.spWidth.Numeric   = true;
     this.spWidth.Value     = 1;
     this.table1.Add(this.spWidth);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.spWidth]));
     w21.LeftAttach  = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.XOptions    = ((global::Gtk.AttachOptions)(4));
     w21.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.table3               = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.button1 = new global::Gtk.Button();
     this.button1.WidthRequest  = 35;
     this.button1.HeightRequest = 35;
     this.button1.CanFocus      = true;
     this.button1.Name          = "button1";
     this.button1.UseUnderline  = true;
     this.button1.Label         = global::Mono.Unix.Catalog.GetString("+");
     this.table3.Add(this.button1);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.button1]));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.button2 = new global::Gtk.Button();
     this.button2.WidthRequest  = 35;
     this.button2.HeightRequest = 35;
     this.button2.CanFocus      = true;
     this.button2.Name          = "button2";
     this.button2.UseUnderline  = true;
     this.button2.Label         = global::Mono.Unix.Catalog.GetString("-");
     this.table3.Add(this.button2);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.button2]));
     w23.LeftAttach  = ((uint)(1));
     w23.RightAttach = ((uint)(2));
     w23.XOptions    = ((global::Gtk.AttachOptions)(4));
     w23.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.table1.Add(this.table3);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.table3]));
     w24.TopAttach    = ((uint)(4));
     w24.BottomAttach = ((uint)(5));
     w24.LeftAttach   = ((uint)(1));
     w24.RightAttach  = ((uint)(2));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add(this.table1);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
     w25.Position = 1;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.button3              = new global::Gtk.Button();
     this.button3.CanFocus     = true;
     this.button3.Name         = "button3";
     this.button3.UseUnderline = true;
     this.button3.Label        = global::Mono.Unix.Catalog.GetString("Auto");
     this.table2.Add(this.button3);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.button3]));
     w26.TopAttach    = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.cbPreview               = new global::Gtk.CheckButton();
     this.cbPreview.CanFocus      = true;
     this.cbPreview.Name          = "cbPreview";
     this.cbPreview.Label         = global::Mono.Unix.Catalog.GetString("Vista previa");
     this.cbPreview.Active        = true;
     this.cbPreview.DrawIndicator = true;
     this.cbPreview.UseUnderline  = true;
     this.table2.Add(this.cbPreview);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.cbPreview]));
     w27.LeftAttach  = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hscale1                          = new global::Gtk.HScale(null);
     this.hscale1.CanFocus                 = true;
     this.hscale1.Name                     = "hscale1";
     this.hscale1.Adjustment.Lower         = 1;
     this.hscale1.Adjustment.Upper         = 400;
     this.hscale1.Adjustment.PageIncrement = 10;
     this.hscale1.Adjustment.StepIncrement = 1;
     this.hscale1.Adjustment.Value         = 186;
     this.hscale1.DrawValue                = true;
     this.hscale1.Digits                   = 0;
     this.hscale1.ValuePos                 = ((global::Gtk.PositionType)(2));
     this.table2.Add(this.hscale1);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2 [this.hscale1]));
     w28.TopAttach    = ((uint)(1));
     w28.BottomAttach = ((uint)(2));
     w28.LeftAttach   = ((uint)(1));
     w28.RightAttach  = ((uint)(2));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add(this.table2);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     this.hbox3.Add(this.vbox2);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.drawingarea1      = new global::Gtk.DrawingArea();
     this.drawingarea1.Name = "drawingarea1";
     this.hbox3.Add(this.drawingarea1);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.drawingarea1]));
     w31.Position = 1;
     this.Add(this.hbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 576;
     this.DefaultHeight = 545;
     this.Show();
     this.DeleteEvent              += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.openAction.Activated     += new global::System.EventHandler(this.OnOpenActionActivated);
     this.cdromAction.Activated    += new global::System.EventHandler(this.OnCdromActionActivated);
     this.refreshAction.Activated  += new global::System.EventHandler(this.OnRefreshActionActivated);
     this.button2.Pressed          += new global::System.EventHandler(this.OnButton2Pressed);
     this.button1.Pressed          += new global::System.EventHandler(this.OnButton1Pressed);
     this.spWidth.ValueChanged     += new global::System.EventHandler(this.OnSpWidthValueChanged);
     this.spSpaceY.ValueChanged    += new global::System.EventHandler(this.OnSpSpaceYValueChanged);
     this.spSpaceX.ValueChanged    += new global::System.EventHandler(this.OnSpSpaceXValueChanged);
     this.spHeight.ValueChanged    += new global::System.EventHandler(this.OnSpHeightValueChanged);
     this.spColumns.ValueChanged   += new global::System.EventHandler(this.OnSpColumnsValueChanged);
     this.spCant.ValueChanged      += new global::System.EventHandler(this.OnSpCantValueChanged);
     this.spAncho.ValueChanged     += new global::System.EventHandler(this.OnSpAnchoValueChanged);
     this.spAlto.ValueChanged      += new global::System.EventHandler(this.OnSpAltoValueChanged);
     this.button4.Pressed          += new global::System.EventHandler(this.OnButton4Pressed);
     this.hscale1.ValueChanged     += new global::System.EventHandler(this.OnHscale1ValueChanged);
     this.cbPreview.Toggled        += new global::System.EventHandler(this.OnCbPreviewToggled);
     this.button3.Pressed          += new global::System.EventHandler(this.OnButton3Pressed);
     this.drawingarea1.ExposeEvent += new global::Gtk.ExposeEventHandler(this.vistaPrevia);
 }
コード例 #25
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Moscrif.IDE.Controls.CreateThemeDialog
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.aaaaaAction            = new global::Gtk.Action("aaaaaAction", global::Mono.Unix.Catalog.GetString("aaaaa"), null, null);
     this.aaaaaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("aaaaa");
     w1.Add(this.aaaaaAction, null);
     this.sssssAction            = new global::Gtk.RadioAction("sssssAction", global::Mono.Unix.Catalog.GetString("sssss"), null, null, 0);
     this.sssssAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.sssssAction.ShortLabel = global::Mono.Unix.Catalog.GetString("sssss");
     w1.Add(this.sssssAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Moscrif.IDE.Controls.CreateThemeDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("New Theme");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child Moscrif.IDE.Controls.CreateThemeDialog.VBox
     global::Gtk.VBox w2 = this.VBox;
     w2.Name        = "dialog1_VBox";
     w2.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.cbSkin      = global::Gtk.ComboBox.NewText();
     this.cbSkin.Name = "cbSkin";
     this.table1.Add(this.cbSkin);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbSkin]));
     w3.LeftAttach  = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XPadding    = ((uint)(5));
     w3.XOptions    = ((global::Gtk.AttachOptions)(4));
     w3.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entrThemeName               = new global::Gtk.Entry();
     this.entrThemeName.CanFocus      = true;
     this.entrThemeName.Name          = "entrThemeName";
     this.entrThemeName.IsEditable    = true;
     this.entrThemeName.InvisibleChar = '●';
     this.table1.Add(this.entrThemeName);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entrThemeName]));
     w4.TopAttach    = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.XPadding     = ((uint)(5));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Select Skin :");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w5.XPadding = ((uint)(5));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Theme Name :");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w6.TopAttach    = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XPadding     = ((uint)(5));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     w2.Add(this.table1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w2 [this.table1]));
     w7.Position = 0;
     w7.Padding  = ((uint)(5));
     // Internal child Moscrif.IDE.Controls.CreateThemeDialog.ActionArea
     global::Gtk.HButtonBox w8 = this.ActionArea;
     w8.Name        = "dialog1_ActionArea";
     w8.Spacing     = 10;
     w8.BorderWidth = ((uint)(5));
     w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanDefault   = true;
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseStock     = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel]));
     w9.Expand = false;
     w9.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = global::Mono.Unix.Catalog.GetString("_OK");
     w8.Add(this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 407;
     this.DefaultHeight = 200;
     this.Show();
     this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
 }
コード例 #26
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("New"), null, null);
     this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New");
     w1.Add (this.NewAction, null);
     this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, null);
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit");
     w1.Add (this.QuitAction, null);
     this.ProcessAction = new global::Gtk.Action ("ProcessAction", global::Mono.Unix.Catalog.GetString ("Process"), null, null);
     this.ProcessAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Process");
     w1.Add (this.ProcessAction, null);
     this.NoneAction = new global::Gtk.RadioAction ("NoneAction", global::Mono.Unix.Catalog.GetString ("None"), null, null, 0);
     this.NoneAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.NoneAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("None");
     w1.Add (this.NoneAction, null);
     this.Iteration01Action = new global::Gtk.RadioAction ("Iteration01Action", global::Mono.Unix.Catalog.GetString ("Iteration 01"), null, null, 1);
     this.Iteration01Action.Group = this.NoneAction.Group;
     this.Iteration01Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Iteration 01");
     w1.Add (this.Iteration01Action, null);
     this.BeginAction = new global::Gtk.Action ("BeginAction", global::Mono.Unix.Catalog.GetString ("Begin"), null, null);
     this.BeginAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Begin");
     w1.Add (this.BeginAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth = ((uint)(3));
     this.AllowShrink = true;
     this.DefaultWidth = 1024;
     this.DefaultHeight = 768;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString (@"<ui><menubar name='_menuBar'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='BeginAction' action='BeginAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ProcessAction' action='ProcessAction'><menuitem name='NoneAction' action='NoneAction'/><menuitem name='Iteration01Action' action='Iteration01Action'/></menu></menubar></ui>");
     this._menuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/_menuBar")));
     this._menuBar.Name = "_menuBar";
     this.vbox1.Add (this._menuBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this._menuBar]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this._imageEvent = new global::Gtk.EventBox ();
     this._imageEvent.Events = ((global::Gdk.EventMask)(256));
     this._imageEvent.Name = "_imageEvent";
     // Container child _imageEvent.Gtk.Container+ContainerChild
     this._displayImage = new global::Gtk.Image ();
     this._displayImage.Name = "_displayImage";
     this._imageEvent.Add (this._displayImage);
     this.vbox2.Add (this._imageEvent);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this._imageEvent]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.NewAction.Activated += new global::System.EventHandler (this.OnFileNewActivate);
     this.QuitAction.Activated += new global::System.EventHandler (this.OnFileQuitActivate);
     this.NoneAction.Activated += new global::System.EventHandler (this.OnProcessNoneActivate);
     this.Iteration01Action.Activated += new global::System.EventHandler (this.OnProcessIteration01Activate);
     this.BeginAction.Activated += new global::System.EventHandler (this.OnBeginActivate);
     this._imageEvent.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnImageButtonPress);
 }
コード例 #27
0
ファイル: MainWindow.cs プロジェクト: zenogantner/MML-KDD
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FilterAction            = new global::Gtk.Action("FilterAction", global::Mono.Unix.Catalog.GetString("Filter"), null, null);
     this.FilterAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Filter");
     w1.Add(this.FilterAction, null);
     this.LanguageAction            = new global::Gtk.Action("LanguageAction", global::Mono.Unix.Catalog.GetString("Language"), null, null);
     this.LanguageAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Language");
     w1.Add(this.LanguageAction, null);
     this.UserAction            = new global::Gtk.Action("UserAction", global::Mono.Unix.Catalog.GetString("User"), null, null);
     this.UserAction.ShortLabel = global::Mono.Unix.Catalog.GetString("User");
     w1.Add(this.UserAction, null);
     this.SaveRatingsAsAction            = new global::Gtk.Action("SaveRatingsAsAction", global::Mono.Unix.Catalog.GetString("Save Ratings As ..."), null, null);
     this.SaveRatingsAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save Ratings As ...");
     w1.Add(this.SaveRatingsAsAction, null);
     this.SaveRatingsAnonymouslyAction            = new global::Gtk.Action("SaveRatingsAnonymouslyAction", global::Mono.Unix.Catalog.GetString("Save Ratings Anonymously"), null, null);
     this.SaveRatingsAnonymouslyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save Ratings Anonymously");
     w1.Add(this.SaveRatingsAnonymouslyAction, null);
     this.DiscardRatingsAction            = new global::Gtk.Action("DiscardRatingsAction", global::Mono.Unix.Catalog.GetString("Discard Ratings"), null, null);
     this.DiscardRatingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Discard Ratings");
     w1.Add(this.DiscardRatingsAction, null);
     this.OnlyShow200MostPopularMoviesAction            = new global::Gtk.ToggleAction("OnlyShow200MostPopularMoviesAction", global::Mono.Unix.Catalog.GetString("Only Show 200 Most Popular Movies "), null, null);
     this.OnlyShow200MostPopularMoviesAction.Active     = true;
     this.OnlyShow200MostPopularMoviesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Only Show 200 Most Popular Movies ");
     w1.Add(this.OnlyShow200MostPopularMoviesAction, null);
     this.ByGenreAction            = new global::Gtk.Action("ByGenreAction", global::Mono.Unix.Catalog.GetString("By Genre ..."), null, null);
     this.ByGenreAction.ShortLabel = global::Mono.Unix.Catalog.GetString("By Genre ...");
     w1.Add(this.ByGenreAction, null);
     this.ActionAction            = new global::Gtk.ToggleAction("ActionAction", global::Mono.Unix.Catalog.GetString("Action"), null, null);
     this.ActionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Action");
     w1.Add(this.ActionAction, null);
     this.TODORestByProgramAction            = new global::Gtk.Action("TODORestByProgramAction", global::Mono.Unix.Catalog.GetString("TODO: rest by program ..."), null, null);
     this.TODORestByProgramAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TODO: rest by program ...");
     w1.Add(this.TODORestByProgramAction, null);
     this.EnglishAction            = new global::Gtk.RadioAction("EnglishAction", global::Mono.Unix.Catalog.GetString("English"), null, null, 0);
     this.EnglishAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.EnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString("English");
     w1.Add(this.EnglishAction, null);
     this.DeutschAction            = new global::Gtk.RadioAction("DeutschAction", global::Mono.Unix.Catalog.GetString("Deutsch"), null, null, 0);
     this.DeutschAction.Group      = this.EnglishAction.Group;
     this.DeutschAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Deutsch");
     w1.Add(this.DeutschAction, null);
     this.LoadUserAction            = new global::Gtk.Action("LoadUserAction", global::Mono.Unix.Catalog.GetString("Load User"), null, null);
     this.LoadUserAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load User");
     w1.Add(this.LoadUserAction, null);
     this.AndrAction            = new global::Gtk.Action("AndrAction", global::Mono.Unix.Catalog.GetString("André"), null, null);
     this.AndrAction.ShortLabel = global::Mono.Unix.Catalog.GetString("André");
     w1.Add(this.AndrAction, null);
     this.ArtusAction            = new global::Gtk.Action("ArtusAction", global::Mono.Unix.Catalog.GetString("Artus"), null, null);
     this.ArtusAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Artus");
     w1.Add(this.ArtusAction, null);
     this.ChristophAction            = new global::Gtk.Action("ChristophAction", global::Mono.Unix.Catalog.GetString("Christoph"), null, null);
     this.ChristophAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Christoph");
     w1.Add(this.ChristophAction, null);
     this.LucasAction            = new global::Gtk.Action("LucasAction", global::Mono.Unix.Catalog.GetString("Lucas"), null, null);
     this.LucasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Lucas");
     w1.Add(this.LucasAction, null);
     this.KrisztianAction            = new global::Gtk.Action("KrisztianAction", global::Mono.Unix.Catalog.GetString("Krisztian"), null, null);
     this.KrisztianAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Krisztian");
     w1.Add(this.KrisztianAction, null);
     this.NgheAction            = new global::Gtk.Action("NgheAction", global::Mono.Unix.Catalog.GetString("Nghe"), null, null);
     this.NgheAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Nghe");
     w1.Add(this.NgheAction, null);
     this.OsmanAction            = new global::Gtk.Action("OsmanAction", global::Mono.Unix.Catalog.GetString("Osman"), null, null);
     this.OsmanAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Osman");
     w1.Add(this.OsmanAction, null);
     this.RasoulAction            = new global::Gtk.Action("RasoulAction", global::Mono.Unix.Catalog.GetString("Rasoul"), null, null);
     this.RasoulAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rasoul");
     w1.Add(this.RasoulAction, null);
     this.SabrinaAction            = new global::Gtk.Action("SabrinaAction", global::Mono.Unix.Catalog.GetString("Sabrina"), null, null);
     this.SabrinaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Sabrina");
     w1.Add(this.SabrinaAction, null);
     this.TomasAction            = new global::Gtk.Action("TomasAction", global::Mono.Unix.Catalog.GetString("Tomas"), null, null);
     this.TomasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tomas");
     w1.Add(this.TomasAction, null);
     this.ZenoAction            = new global::Gtk.Action("ZenoAction", global::Mono.Unix.Catalog.GetString("Zeno"), null, null);
     this.ZenoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Zeno");
     w1.Add(this.ZenoAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MyMediaLite Movie Demo");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "stock_animation", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FilterAction' action='FilterAction'><menuitem name='OnlyShow200MostPopularMoviesAction' action='OnlyShow200MostPopularMoviesAction'/></menu><menu name='LanguageAction' action='LanguageAction'><menuitem name='EnglishAction' action='EnglishAction'/><menuitem name='DeutschAction' action='DeutschAction'/></menu><menu name='UserAction' action='UserAction'><menuitem name='SaveRatingsAnonymouslyAction' action='SaveRatingsAnonymouslyAction'/><menuitem name='DiscardRatingsAction' action='DiscardRatingsAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.filter_entry = new global::Gtk.Entry();
     this.filter_entry.TooltipMarkup = "Enter string to filter the movie list";
     this.filter_entry.CanFocus      = true;
     this.filter_entry.Name          = "filter_entry";
     this.filter_entry.IsEditable    = true;
     this.filter_entry.InvisibleChar = '●';
     this.vbox1.Add(this.filter_entry);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.filter_entry]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.scrolledwindow2            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus   = true;
     this.scrolledwindow2.Name       = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.treeview1 = new global::Gtk.TreeView();
     this.treeview1.TooltipMarkup = "Click in column 'Rating' to enter ratings";
     this.treeview1.CanFocus      = true;
     this.treeview1.Name          = "treeview1";
     this.scrolledwindow2.Add(this.treeview1);
     this.hbox1.Add(this.scrolledwindow2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow2]));
     w5.Position = 0;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w6.Position = 2;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 635;
     this.DefaultHeight = 580;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.SaveRatingsAsAction.Activated              += new global::System.EventHandler(this.OnSaveRatingsAsActionActivated);
     this.SaveRatingsAnonymouslyAction.Activated     += new global::System.EventHandler(this.OnSaveRatingsAnonymouslyActionActivated);
     this.DiscardRatingsAction.Activated             += new global::System.EventHandler(this.OnDiscardRatingsActionActivated);
     this.OnlyShow200MostPopularMoviesAction.Toggled += new global::System.EventHandler(this.OnOnlyShow200MostPopularMoviesActionToggled);
     this.EnglishAction.Activated += new global::System.EventHandler(this.OnEnglishActionActivated);
     this.DeutschAction.Activated += new global::System.EventHandler(this.OnDeutschActionActivated);
 }
コード例 #28
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w1.Add(this.addAction, null);
     this.iconAction = new global::Gtk.Action("iconAction", null, null, "icon");
     w1.Add(this.iconAction, null);
     this.jhjkhAction            = new global::Gtk.Action("jhjkhAction", global::Mono.Unix.Catalog.GetString("jhjkh"), null, null);
     this.jhjkhAction.ShortLabel = global::Mono.Unix.Catalog.GetString("jhjkh");
     w1.Add(this.jhjkhAction, null);
     this.removeAction       = new global::Gtk.RadioAction("removeAction", null, null, "gtk-remove", 0);
     this.removeAction.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     w1.Add(this.removeAction, null);
     this.addAction1 = new global::Gtk.Action("addAction1", null, null, "gtk-add");
     w1.Add(this.addAction1, null);
     this.iconAction1 = new global::Gtk.Action("iconAction1", null, null, "icon");
     w1.Add(this.iconAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-about", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'addAction1\' action=\'addAction1\'/><to" +
                                    "olitem name=\'iconAction1\' action=\'iconAction1\'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.listOfFilesNodeView          = new global::Gtk.NodeView();
     this.listOfFilesNodeView.CanFocus = true;
     this.listOfFilesNodeView.Name     = "listOfFilesNodeView";
     this.scrolledwindow1.Add(this.listOfFilesNodeView);
     this.vbox1.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1]));
     w4.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 922;
     this.DefaultHeight = 449;
     this.Show();
     this.DeleteEvent           += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.addAction.Activated   += new global::System.EventHandler(this.OnToolbarAdd);
     this.iconAction.Activated  += new global::System.EventHandler(this.OnToolbarCompress);
     this.addAction1.Activated  += new global::System.EventHandler(this.OnToolbarAdd);
     this.iconAction1.Activated += new global::System.EventHandler(this.OnToolbarCompress);
 }
コード例 #29
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget GUI.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, "<Alt><Mod2>f");
     this.BoardAction            = new global::Gtk.Action("BoardAction", global::Mono.Unix.Catalog.GetString("_Board"), null, null);
     this.BoardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Board");
     w1.Add(this.BoardAction, "<Alt><Mod2>b");
     this.EngineAction            = new global::Gtk.Action("EngineAction", global::Mono.Unix.Catalog.GetString("_Engine"), null, null);
     this.EngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Engine");
     w1.Add(this.EngineAction, "<Alt><Mod2>e");
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, "<Alt><Mod2>h");
     this.QuitAction            = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, null);
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.QuitAction, "<Primary><Mod2>q");
     this.LoadFENAction            = new global::Gtk.Action("LoadFENAction", global::Mono.Unix.Catalog.GetString("Load _FEN"), null, null);
     this.LoadFENAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load _FEN");
     w1.Add(this.LoadFENAction, "<Primary><Mod2>f");
     this.LoadEngineOneAction            = new global::Gtk.Action("LoadEngineOneAction", global::Mono.Unix.Catalog.GetString("Load Engine 1"), null, null);
     this.LoadEngineOneAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load Engine");
     w1.Add(this.LoadEngineOneAction, "<Primary><Mod2>1");
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w1.Add(this.AboutAction, null);
     this.ResetBoardAction            = new global::Gtk.Action("ResetBoardAction", global::Mono.Unix.Catalog.GetString("Reset Board"), null, null);
     this.ResetBoardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Reset Board");
     w1.Add(this.ResetBoardAction, null);
     this.ResetBoardAction1            = new global::Gtk.Action("ResetBoardAction1", global::Mono.Unix.Catalog.GetString("_Reset Board"), null, null);
     this.ResetBoardAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Reset Board");
     w1.Add(this.ResetBoardAction1, "<Primary>r");
     this.MakeEngineOneMoveAction            = new global::Gtk.Action("MakeEngineOneMoveAction", global::Mono.Unix.Catalog.GetString("Make Engine _Move"), null, null);
     this.MakeEngineOneMoveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Make Engine _Move");
     w1.Add(this.MakeEngineOneMoveAction, "<Primary>m");
     this.FlipBoardAction            = new global::Gtk.Action("FlipBoardAction", global::Mono.Unix.Catalog.GetString("Flip Board"), null, null);
     this.FlipBoardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Flip Board");
     w1.Add(this.FlipBoardAction, null);
     this.GameAction            = new global::Gtk.Action("GameAction", global::Mono.Unix.Catalog.GetString("Game"), null, null);
     this.GameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game");
     w1.Add(this.GameAction, null);
     this.SetClockAction            = new global::Gtk.Action("SetClockAction", global::Mono.Unix.Catalog.GetString("Set _Clock"), null, null);
     this.SetClockAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Set _Clock");
     w1.Add(this.SetClockAction, "<Primary>c");
     this.SetEngineStrengthAction            = new global::Gtk.Action("SetEngineStrengthAction", global::Mono.Unix.Catalog.GetString("Set Engine Strength"), null, null);
     this.SetEngineStrengthAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Set Engine Strength");
     w1.Add(this.SetEngineStrengthAction, null);
     this.GameModeAction            = new global::Gtk.Action("GameModeAction", global::Mono.Unix.Catalog.GetString("Game Mode"), null, null);
     this.GameModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game Mode");
     w1.Add(this.GameModeAction, null);
     this.OnePlayerAction            = new global::Gtk.RadioAction("OnePlayerAction", global::Mono.Unix.Catalog.GetString("Player vs Engine"), null, null, 0);
     this.OnePlayerAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.OnePlayerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Player vs Engine");
     w1.Add(this.OnePlayerAction, null);
     this.TwoPlayerAction            = new global::Gtk.RadioAction("TwoPlayerAction", global::Mono.Unix.Catalog.GetString("Player vs Player"), null, null, 0);
     this.TwoPlayerAction.Group      = this.OnePlayerAction.Group;
     this.TwoPlayerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Player vs Player");
     w1.Add(this.TwoPlayerAction, null);
     this.EnginesAction            = new global::Gtk.RadioAction("EnginesAction", global::Mono.Unix.Catalog.GetString("Engine vs Engine"), null, null, 0);
     this.EnginesAction.Group      = this.TwoPlayerAction.Group;
     this.EnginesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Engine vs Engine");
     w1.Add(this.EnginesAction, null);
     this.AnalysePositionAction            = new global::Gtk.Action("AnalysePositionAction", global::Mono.Unix.Catalog.GetString("_Analyse Position"), null, null);
     this.AnalysePositionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Analyse Position");
     w1.Add(this.AnalysePositionAction, "<Primary>a");
     this.LoadEngine2Action            = new global::Gtk.Action("LoadEngine2Action", global::Mono.Unix.Catalog.GetString("Load Engine 2"), null, null);
     this.LoadEngine2Action.ShortLabel = global::Mono.Unix.Catalog.GetString("Load Engine 2");
     w1.Add(this.LoadEngine2Action, "<Primary><Mod2>2");
     this.PGNAction            = new global::Gtk.Action("PGNAction", global::Mono.Unix.Catalog.GetString("PGN"), null, null);
     this.PGNAction.ShortLabel = global::Mono.Unix.Catalog.GetString("PGN");
     w1.Add(this.PGNAction, null);
     this.ExportAction            = new global::Gtk.Action("ExportAction", global::Mono.Unix.Catalog.GetString("Export..."), null, null);
     this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export...");
     w1.Add(this.ExportAction, null);
     this.ImportAction            = new global::Gtk.Action("ImportAction", global::Mono.Unix.Catalog.GetString("Import..."), null, null);
     this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Import...");
     w1.Add(this.ImportAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "GUI.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Gandalf Chess GUI");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child GUI.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='MenuBar'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='GameAction' action='GameAction'><menuitem name='SetClockAction' action='SetClockAction'/><menu name='GameModeAction' action='GameModeAction'><menuitem name='OnePlayerAction' action='OnePlayerAction'/><menuitem name='TwoPlayerAction' action='TwoPlayerAction'/><menuitem name='EnginesAction' action='EnginesAction'/></menu><menu name='PGNAction' action='PGNAction'><menuitem name='ExportAction' action='ExportAction'/><menuitem name='ImportAction' action='ImportAction'/></menu></menu><menu name='BoardAction' action='BoardAction'><menuitem name='ResetBoardAction1' action='ResetBoardAction1'/><menuitem name='FlipBoardAction' action='FlipBoardAction'/><menuitem name='LoadFENAction' action='LoadFENAction'/></menu><menu name='EngineAction' action='EngineAction'><menuitem name='LoadEngineOneAction' action='LoadEngineOneAction'/><menuitem name='LoadEngine2Action' action='LoadEngine2Action'/><menuitem name='MakeEngineOneMoveAction' action='MakeEngineOneMoveAction'/><menuitem name='SetEngineStrengthAction' action='SetEngineStrengthAction'/><menuitem name='AnalysePositionAction' action='AnalysePositionAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.MenuBar      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/MenuBar")));
     this.MenuBar.Name = "MenuBar";
     this.vbox1.Add(this.MenuBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.MenuBar]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 3;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.BoardArea = new global::Gtk.DrawingArea();
     this.BoardArea.WidthRequest  = 570;
     this.BoardArea.HeightRequest = 550;
     this.BoardArea.Name          = "BoardArea";
     this.vbox2.Add(this.BoardArea);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.BoardArea]));
     w3.Position = 0;
     this.hbox3.Add(this.vbox2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox2]));
     w4.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox();
     this.vbox3.WidthRequest = 400;
     this.vbox3.Name         = "vbox3";
     this.vbox3.Spacing      = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4             = new global::Gtk.HBox();
     this.hbox4.Name        = "hbox4";
     this.hbox4.Homogeneous = true;
     this.hbox4.Spacing     = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.vbox4      = new global::Gtk.VBox();
     this.vbox4.Name = "vbox4";
     // Container child vbox4.Gtk.Box+BoxChild
     this.WhiteClockName           = new global::Gtk.Label();
     this.WhiteClockName.Name      = "WhiteClockName";
     this.WhiteClockName.Xpad      = 30;
     this.WhiteClockName.Ypad      = 5;
     this.WhiteClockName.LabelProp = global::Mono.Unix.Catalog.GetString("White");
     this.WhiteClockName.Justify   = ((global::Gtk.Justification)(2));
     this.vbox4.Add(this.WhiteClockName);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.WhiteClockName]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.WhiteClockLabel           = new global::Gtk.Label();
     this.WhiteClockLabel.Name      = "WhiteClockLabel";
     this.WhiteClockLabel.Ypad      = 5;
     this.WhiteClockLabel.LabelProp = global::Mono.Unix.Catalog.GetString("white_clock_label");
     this.vbox4.Add(this.WhiteClockLabel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.WhiteClockLabel]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.hbox4.Add(this.vbox4);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox4]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.vbox5      = new global::Gtk.VBox();
     this.vbox5.Name = "vbox5";
     // Container child vbox5.Gtk.Box+BoxChild
     this.BlackClockTime           = new global::Gtk.Label();
     this.BlackClockTime.Name      = "BlackClockTime";
     this.BlackClockTime.Xpad      = 30;
     this.BlackClockTime.Ypad      = 5;
     this.BlackClockTime.LabelProp = global::Mono.Unix.Catalog.GetString("Black");
     this.vbox5.Add(this.BlackClockTime);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.BlackClockTime]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.BlackClockLabel           = new global::Gtk.Label();
     this.BlackClockLabel.Name      = "BlackClockLabel";
     this.BlackClockLabel.Ypad      = 5;
     this.BlackClockLabel.LabelProp = global::Mono.Unix.Catalog.GetString("black_clock_label");
     this.vbox5.Add(this.BlackClockLabel);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.BlackClockLabel]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     this.hbox4.Add(this.vbox5);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox5]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox3.Add(this.hbox4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.MaterialDifferenceLabel           = new global::Gtk.Label();
     this.MaterialDifferenceLabel.Name      = "MaterialDifferenceLabel";
     this.MaterialDifferenceLabel.Ypad      = 20;
     this.MaterialDifferenceLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<material_difference>");
     this.MaterialDifferenceLabel.Wrap      = true;
     this.vbox3.Add(this.MaterialDifferenceLabel);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.MaterialDifferenceLabel]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.PlayerToMoveLabel           = new global::Gtk.Label();
     this.PlayerToMoveLabel.Name      = "PlayerToMoveLabel";
     this.PlayerToMoveLabel.Ypad      = 10;
     this.PlayerToMoveLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Player to move: White");
     this.vbox3.Add(this.PlayerToMoveLabel);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.PlayerToMoveLabel]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GameHistoryView = new global::Gtk.TextView();
     this.GameHistoryView.WidthRequest  = 400;
     this.GameHistoryView.CanFocus      = true;
     this.GameHistoryView.Name          = "GameHistoryView";
     this.GameHistoryView.Editable      = false;
     this.GameHistoryView.CursorVisible = false;
     this.GameHistoryView.WrapMode      = ((global::Gtk.WrapMode)(2));
     this.vbox3.Add(this.GameHistoryView);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GameHistoryView]));
     w14.Position = 3;
     this.hbox3.Add(this.vbox3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox3]));
     w15.Position = 1;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
     w16.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 973;
     this.DefaultHeight = 715;
     this.Show();
     this.DeleteEvent                 += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.QuitAction.Activated        += new global::System.EventHandler(this.OnQuit);
     this.AboutAction.Activated       += new global::System.EventHandler(this.OnAbout);
     this.ResetBoardAction1.Activated += new global::System.EventHandler(this.OnResetBoard);
     this.FlipBoardAction.Activated   += new global::System.EventHandler(this.OnFlipBoard);
     this.OnePlayerAction.Activated   += new global::System.EventHandler(this.OnOnePlayerSet);
     this.TwoPlayerAction.Activated   += new global::System.EventHandler(this.OnTwoPlayerSet);
     this.ExportAction.Activated      += new global::System.EventHandler(this.OnExportPGN);
     this.ImportAction.Activated      += new global::System.EventHandler(this.OnImportPGN);
     this.BoardArea.ExposeEvent       += new global::Gtk.ExposeEventHandler(this.OnBoardExpose);
     this.BoardArea.ButtonPressEvent  += new global::Gtk.ButtonPressEventHandler(this.OnPieceClick);
 }
コード例 #30
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.OverviewAction            = new global::Gtk.RadioAction("OverviewAction", global::Mono.Unix.Catalog.GetString("Overview"), global::Mono.Unix.Catalog.GetString("Overview"), "icon-dark-usb", 0);
     this.OverviewAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.OverviewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Overview");
     w1.Add(this.OverviewAction, null);
     this.NotificationsAction            = new global::Gtk.RadioAction("NotificationsAction", global::Mono.Unix.Catalog.GetString("Notifications"), null, "icon-dark-bell", 1);
     this.NotificationsAction.Group      = this.OverviewAction.Group;
     this.NotificationsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Notifications");
     w1.Add(this.NotificationsAction, null);
     this.HelpAction            = new global::Gtk.RadioAction("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, "icon-dark-question-circle", 5);
     this.HelpAction.Group      = this.NotificationsAction.Group;
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.PatternsAction            = new global::Gtk.RadioAction("PatternsAction", global::Mono.Unix.Catalog.GetString("Patterns"), null, "icon-dark-th", 2);
     this.PatternsAction.Group      = this.NotificationsAction.Group;
     this.PatternsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Patterns");
     w1.Add(this.PatternsAction, null);
     this.EventsAction            = new global::Gtk.RadioAction("EventsAction", global::Mono.Unix.Catalog.GetString("Events"), null, "icon-dark-calendar", 3);
     this.EventsAction.Group      = this.NotificationsAction.Group;
     this.EventsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Events");
     w1.Add(this.EventsAction, null);
     this.SettingsAction            = new global::Gtk.RadioAction("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, "icon-dark-cog", 4);
     this.SettingsAction.Group      = this.NotificationsAction.Group;
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings");
     w1.Add(this.SettingsAction, null);
     this.QuitAction            = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit"), null, "icon-dark-sign-out");
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit");
     w1.Add(this.QuitAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("BlinkStick");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.imageBranding      = new global::Gtk.Image();
     this.imageBranding.Name = "imageBranding";
     this.vbox4.Add(this.imageBranding);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.imageBranding]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar2'><toolitem name='OverviewAction' action='OverviewAction'/><toolitem name='NotificationsAction' action='NotificationsAction'/><toolitem name='PatternsAction' action='PatternsAction'/><toolitem name='EventsAction' action='EventsAction'/><toolitem name='SettingsAction' action='SettingsAction'/><toolitem name='HelpAction' action='HelpAction'/><toolitem name='QuitAction' action='QuitAction'/></toolbar></ui>");
     this.toolbar2              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2")));
     this.toolbar2.Name         = "toolbar2";
     this.toolbar2.Orientation  = ((global::Gtk.Orientation)(1));
     this.toolbar2.ShowArrow    = false;
     this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3));
     this.toolbar2.IconSize     = ((global::Gtk.IconSize)(3));
     this.vbox4.Add(this.toolbar2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.toolbar2]));
     w3.Position = 1;
     this.hbox1.Add(this.vbox4);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
     w5.Position = 0;
     this.vbox2.Add(this.vbox3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3]));
     w6.Position = 0;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 706;
     this.DefaultHeight = 584;
     this.Hide();
     this.DeleteEvent                 += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.OverviewAction.Toggled      += new global::System.EventHandler(this.ToolbarButtonToggled);
     this.NotificationsAction.Toggled += new global::System.EventHandler(this.ToolbarButtonToggled);
     this.HelpAction.Toggled          += new global::System.EventHandler(this.ToolbarButtonToggled);
     this.PatternsAction.Toggled      += new global::System.EventHandler(this.ToolbarButtonToggled);
     this.EventsAction.Toggled        += new global::System.EventHandler(this.ToolbarButtonToggled);
     this.SettingsAction.Toggled      += new global::System.EventHandler(this.ToolbarButtonToggled);
     this.QuitAction.Activated        += new global::System.EventHandler(this.OnQuitActionActivated);
 }
コード例 #31
0
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget MainWindow
		this.UIManager = new global::Gtk.UIManager ();
		global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
		this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("_New"), null, "gtk-new");
		this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New");
		w1.Add (this.newAction, null);
		this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit");
		w1.Add (this.editAction, null);
		this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete");
		w1.Add (this.deleteAction, null);
		this.saveAction = new global::Gtk.RadioAction ("saveAction", null, null, "gtk-save", 0);
		this.saveAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
		w1.Add (this.saveAction, null);
		this.copyAction = new global::Gtk.Action ("copyAction", null, null, "gtk-copy");
		w1.Add (this.copyAction, null);
		this.activeAction = new global::Gtk.ToggleAction ("activeAction", global::Mono.Unix.Catalog.GetString ("_Active"), null, "gtk-yes");
		this.activeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Active");
		w1.Add (this.activeAction, null);
		this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
		this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
		w1.Add (this.FileAction, null);
		this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, "gtk-quit");
		this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit");
		w1.Add (this.quitAction, null);
		this.BlinkStickAction = new global::Gtk.Action ("BlinkStickAction", global::Mono.Unix.Catalog.GetString ("BlinkStick"), null, null);
		this.BlinkStickAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Device");
		w1.Add (this.BlinkStickAction, null);
		this.TestAction = new global::Gtk.Action ("TestAction", global::Mono.Unix.Catalog.GetString ("Test..."), null, null);
		this.TestAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Test...");
		w1.Add (this.TestAction, null);
		this.ManageAction = new global::Gtk.Action ("ManageAction", global::Mono.Unix.Catalog.GetString ("Manage..."), null, null);
		this.ManageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Manage...");
		w1.Add (this.ManageAction, null);
		this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
		this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
		w1.Add (this.HelpAction, null);
		this.SupportAction = new global::Gtk.Action ("SupportAction", global::Mono.Unix.Catalog.GetString ("Support"), null, null);
		this.SupportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Support");
		w1.Add (this.SupportAction, null);
		this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null);
		this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
		w1.Add (this.AboutAction, null);
		this.HideAction = new global::Gtk.Action ("HideAction", global::Mono.Unix.Catalog.GetString ("Hide"), null, null);
		this.HideAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hide");
		w1.Add (this.HideAction, null);
		this.ReportABugAction = new global::Gtk.Action ("ReportABugAction", global::Mono.Unix.Catalog.GetString ("Report a Bug"), null, null);
		this.ReportABugAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Report a Bug");
		w1.Add (this.ReportABugAction, null);
		this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("-"), null, null);
		this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("-");
		w1.Add (this.Action, null);
		this.OpenLogAction = new global::Gtk.Action ("OpenLogAction", global::Mono.Unix.Catalog.GetString ("Open Log"), null, null);
		this.OpenLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Log");
		w1.Add (this.OpenLogAction, null);
		this.UIManager.InsertActionGroup (w1, 0);
		this.AddAccelGroup (this.UIManager.AccelGroup);
		this.Name = "MainWindow";
		this.Title = global::Mono.Unix.Catalog.GetString ("BlinkStick");
		this.WindowPosition = ((global::Gtk.WindowPosition)(1));
		// Container child MainWindow.Gtk.Container+ContainerChild
		this.vbox2 = new global::Gtk.VBox ();
		this.vbox2.Name = "vbox2";
		this.vbox2.Spacing = 6;
		// Container child vbox2.Gtk.Box+BoxChild
		this.UIManager.AddUiFromString (@"<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='HideAction' action='HideAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='BlinkStickAction' action='BlinkStickAction'><menuitem name='TestAction' action='TestAction'/><menuitem name='ManageAction' action='ManageAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='SupportAction' action='SupportAction'/><menuitem name='ReportABugAction' action='ReportABugAction'/><menuitem name='OpenLogAction' action='OpenLogAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
		this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
		this.menubar2.Name = "menubar2";
		this.vbox2.Add (this.menubar2);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar2]));
		w2.Position = 0;
		w2.Expand = false;
		w2.Fill = false;
		// Container child vbox2.Gtk.Box+BoxChild
		this.vbox3 = new global::Gtk.VBox ();
		this.vbox3.Name = "vbox3";
		this.vbox3.Spacing = 6;
		// Container child vbox3.Gtk.Box+BoxChild
		this.UIManager.AddUiFromString (@"<ui><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='copyAction' action='copyAction'/><toolitem name='editAction' action='editAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='activeAction' action='activeAction'/></toolbar></ui>");
		this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
		this.toolbar1.Name = "toolbar1";
		this.toolbar1.ShowArrow = false;
		this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
		this.toolbar1.IconSize = ((global::Gtk.IconSize)(2));
		this.vbox3.Add (this.toolbar1);
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar1]));
		w3.Position = 0;
		w3.Expand = false;
		w3.Fill = false;
		// Container child vbox3.Gtk.Box+BoxChild
		this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
		this.GtkScrolledWindow.Name = "GtkScrolledWindow";
		this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
		// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
		this.treeviewEvents = new global::Gtk.TreeView ();
		this.treeviewEvents.CanFocus = true;
		this.treeviewEvents.Name = "treeviewEvents";
		this.GtkScrolledWindow.Add (this.treeviewEvents);
		this.vbox3.Add (this.GtkScrolledWindow);
		global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
		w5.Position = 1;
		this.vbox2.Add (this.vbox3);
		global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3]));
		w6.Position = 1;
		// Container child vbox2.Gtk.Box+BoxChild
		this.statusbar1 = new global::Gtk.Statusbar ();
		this.statusbar1.Name = "statusbar1";
		this.statusbar1.Spacing = 6;
		this.vbox2.Add (this.statusbar1);
		global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar1]));
		w7.Position = 2;
		w7.Expand = false;
		w7.Fill = false;
		this.Add (this.vbox2);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 776;
		this.DefaultHeight = 624;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated);
		this.editAction.Activated += new global::System.EventHandler (this.OnEditActionActivated);
		this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated);
		this.copyAction.Activated += new global::System.EventHandler (this.OnCopyActionActivated);
		this.activeAction.Toggled += new global::System.EventHandler (this.OnActiveActionToggled);
		this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated);
		this.TestAction.Activated += new global::System.EventHandler (this.OnTestActionActivated);
		this.ManageAction.Activated += new global::System.EventHandler (this.OnManageActionActivated);
		this.SupportAction.Activated += new global::System.EventHandler (this.OnSupportActionActivated);
		this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated);
		this.HideAction.Activated += new global::System.EventHandler (this.OnHideActionActivated);
		this.ReportABugAction.Activated += new global::System.EventHandler (this.OnReportABugActionActivated);
		this.OpenLogAction.Activated += new global::System.EventHandler (this.OnOpenLogActionActivated);
		this.treeviewEvents.CursorChanged += new global::System.EventHandler (this.OnTreeviewEventsCursorChanged);
		this.treeviewEvents.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewEventsRowActivated);
	}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MonoDevelop.NETResources.ResXEditorWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
     this.StringResourcesAction = new global::Gtk.Action ("StringResourcesAction", global::Mono.Unix.Catalog.GetString ("String Resources"), null, null);
     this.StringResourcesAction.HideIfEmpty = false;
     this.StringResourcesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("String Resources");
     w2.Add (this.StringResourcesAction, null);
     this.OtherAction = new global::Gtk.Action ("OtherAction", global::Mono.Unix.Catalog.GetString ("Other Resources"), null, null);
     this.OtherAction.HideIfEmpty = false;
     this.OtherAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Other Resources");
     w2.Add (this.OtherAction, null);
     this.StringsAction = new global::Gtk.RadioAction ("StringsAction", global::Mono.Unix.Catalog.GetString ("Strings"), null, null, 0);
     this.StringsAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.StringsAction.HideIfEmpty = false;
     this.StringsAction.IsImportant = true;
     this.StringsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Strings");
     w2.Add (this.StringsAction, null);
     this.ImagesAction = new global::Gtk.RadioAction ("ImagesAction", global::Mono.Unix.Catalog.GetString ("Images"), null, null, 0);
     this.ImagesAction.Group = this.StringsAction.Group;
     this.ImagesAction.HideIfEmpty = false;
     this.ImagesAction.IsImportant = true;
     this.ImagesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Images");
     w2.Add (this.ImagesAction, null);
     this.IconsAction = new global::Gtk.RadioAction ("IconsAction", global::Mono.Unix.Catalog.GetString ("Icons"), null, null, 0);
     this.IconsAction.Group = this.ImagesAction.Group;
     this.IconsAction.HideIfEmpty = false;
     this.IconsAction.IsImportant = true;
     this.IconsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Icons");
     w2.Add (this.IconsAction, null);
     this.AudioAction = new global::Gtk.RadioAction ("AudioAction", global::Mono.Unix.Catalog.GetString ("Audio"), null, null, 0);
     this.AudioAction.Group = this.IconsAction.Group;
     this.AudioAction.HideIfEmpty = false;
     this.AudioAction.IsImportant = true;
     this.AudioAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Audio");
     w2.Add (this.AudioAction, null);
     this.OtherFilesAction = new global::Gtk.RadioAction ("OtherFilesAction", global::Mono.Unix.Catalog.GetString ("Other Files"), null, null, 0);
     this.OtherFilesAction.Group = this.IconsAction.Group;
     this.OtherFilesAction.HideIfEmpty = false;
     this.OtherFilesAction.IsImportant = true;
     this.OtherFilesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Other Files");
     w2.Add (this.OtherFilesAction, null);
     this.OtherEmbeddedAction = new global::Gtk.RadioAction ("OtherEmbeddedAction", global::Mono.Unix.Catalog.GetString ("Other Embedded"), null, null, 0);
     this.OtherEmbeddedAction.Group = this.IconsAction.Group;
     this.OtherEmbeddedAction.HideIfEmpty = false;
     this.OtherEmbeddedAction.IsImportant = true;
     this.OtherEmbeddedAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Other Embedded");
     w2.Add (this.OtherEmbeddedAction, null);
     this.UIManager.InsertActionGroup (w2, 0);
     this.Name = "MonoDevelop.NETResources.ResXEditorWidget";
     // Container child MonoDevelop.NETResources.ResXEditorWidget.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.AddBtn = new global::Gtk.Button ();
     this.AddBtn.CanFocus = true;
     this.AddBtn.Name = "AddBtn";
     this.AddBtn.UseUnderline = true;
     // Container child AddBtn.Gtk.Container+ContainerChild
     global::Gtk.Alignment w3 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w4 = new global::Gtk.HBox ();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     w4.Add (w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w7 = new global::Gtk.Label ();
     w7.LabelProp = global::Mono.Unix.Catalog.GetString ("_Add Resource");
     w7.UseUnderline = true;
     w4.Add (w7);
     w3.Add (w4);
     this.AddBtn.Add (w3);
     this.hbox4.Add (this.AddBtn);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.AddBtn]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.DeleteBtn = new global::Gtk.Button ();
     this.DeleteBtn.CanFocus = true;
     this.DeleteBtn.Name = "DeleteBtn";
     this.DeleteBtn.UseUnderline = true;
     // Container child DeleteBtn.Gtk.Container+ContainerChild
     global::Gtk.Alignment w12 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w13 = new global::Gtk.HBox ();
     w13.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w14 = new global::Gtk.Image ();
     w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu);
     w13.Add (w14);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w16 = new global::Gtk.Label ();
     w16.LabelProp = global::Mono.Unix.Catalog.GetString ("_Delete Resource");
     w16.UseUnderline = true;
     w13.Add (w16);
     w12.Add (w13);
     this.DeleteBtn.Add (w12);
     this.hbox4.Add (this.DeleteBtn);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.DeleteBtn]));
     w20.Position = 1;
     w20.Expand = false;
     w20.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.AccessorLabel = new global::Gtk.Label ();
     this.AccessorLabel.Name = "AccessorLabel";
     this.AccessorLabel.Xalign = 1F;
     this.AccessorLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Code Generation");
     this.hbox4.Add (this.AccessorLabel);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.AccessorLabel]));
     w21.Position = 2;
     // Container child hbox4.Gtk.Box+BoxChild
     this.CodeGenCombo = global::Gtk.ComboBox.NewText ();
     this.CodeGenCombo.AppendText (global::Mono.Unix.Catalog.GetString ("No Generation"));
     this.CodeGenCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Internal Class"));
     this.CodeGenCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Public Class"));
     this.CodeGenCombo.Name = "CodeGenCombo";
     this.CodeGenCombo.Active = 0;
     this.hbox4.Add (this.CodeGenCombo);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.CodeGenCombo]));
     w22.Position = 3;
     w22.Expand = false;
     w22.Fill = false;
     this.vbox1.Add (this.hbox4);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4]));
     w23.Position = 0;
     w23.Expand = false;
     w23.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.pagesNotebook = new global::Gtk.Notebook ();
     this.pagesNotebook.CanFocus = true;
     this.pagesNotebook.Name = "pagesNotebook";
     this.pagesNotebook.CurrentPage = 0;
     this.pagesNotebook.ShowBorder = false;
     this.pagesNotebook.ShowTabs = false;
     // Container child pagesNotebook.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.FilterLabel = new global::Gtk.Label ();
     this.FilterLabel.Name = "FilterLabel";
     this.FilterLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Filter:");
     this.hbox1.Add (this.FilterLabel);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.FilterLabel]));
     w24.Position = 0;
     w24.Expand = false;
     w24.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.filterSearchEntry = new global::MonoDevelop.Components.SearchEntry ();
     this.filterSearchEntry.Name = "filterSearchEntry";
     this.filterSearchEntry.ForceFilterButtonVisible = false;
     this.filterSearchEntry.IsCheckMenu = false;
     this.filterSearchEntry.ActiveFilterID = 0;
     this.filterSearchEntry.Ready = false;
     this.filterSearchEntry.HasFocus = false;
     this.hbox1.Add (this.filterSearchEntry);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.filterSearchEntry]));
     w25.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.BaseValueLabel = new global::Gtk.Label ();
     this.BaseValueLabel.Name = "BaseValueLabel";
     this.BaseValueLabel.Xalign = 1F;
     this.BaseValueLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Display Base Values");
     this.hbox1.Add (this.BaseValueLabel);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.BaseValueLabel]));
     w26.Position = 2;
     w26.Expand = false;
     w26.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.BaseValueCombo = global::Gtk.ComboBox.NewText ();
     this.BaseValueCombo.AppendText (global::Mono.Unix.Catalog.GetString ("Yes"));
     this.BaseValueCombo.AppendText (global::Mono.Unix.Catalog.GetString ("No"));
     this.BaseValueCombo.Name = "BaseValueCombo";
     this.BaseValueCombo.Active = 0;
     this.hbox1.Add (this.BaseValueCombo);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.BaseValueCombo]));
     w27.Position = 3;
     w27.Expand = false;
     w27.Fill = false;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w28.Position = 0;
     w28.Expand = false;
     w28.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.entriesScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.entriesScrolledWindow.CanFocus = true;
     this.entriesScrolledWindow.Name = "entriesScrolledWindow";
     this.entriesScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child entriesScrolledWindow.Gtk.Container+ContainerChild
     this.entriesTV = new global::Gtk.TreeView ();
     this.entriesTV.CanFocus = true;
     this.entriesTV.Name = "entriesTV";
     this.entriesScrolledWindow.Add (this.entriesTV);
     this.vbox2.Add (this.entriesScrolledWindow);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.entriesScrolledWindow]));
     w30.Position = 1;
     this.pagesNotebook.Add (this.vbox2);
     // Container child pagesNotebook.Gtk.Notebook+NotebookChild
     this.objectIconWidget = new global::MonoDevelop.NETResources.ResXObjectIconWidget ();
     this.objectIconWidget.Events = ((global::Gdk.EventMask)(256));
     this.objectIconWidget.Name = "objectIconWidget";
     this.pagesNotebook.Add (this.objectIconWidget);
     global::Gtk.Notebook.NotebookChild w32 = ((global::Gtk.Notebook.NotebookChild)(this.pagesNotebook [this.objectIconWidget]));
     w32.Position = 1;
     // Notebook tab
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("page3");
     this.pagesNotebook.SetTabLabel (this.objectIconWidget, this.label4);
     this.label4.ShowAll ();
     this.vbox1.Add (this.pagesNotebook);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.pagesNotebook]));
     w33.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='selectorTB'><toolitem name='StringsAction' action='StringsAction'/><toolitem name='ImagesAction' action='ImagesAction'/><toolitem name='IconsAction' action='IconsAction'/><toolitem name='AudioAction' action='AudioAction'/><toolitem name='OtherFilesAction' action='OtherFilesAction'/><toolitem name='OtherEmbeddedAction' action='OtherEmbeddedAction'/></toolbar></ui>");
     this.selectorTB = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/selectorTB")));
     this.selectorTB.Name = "selectorTB";
     this.selectorTB.ShowArrow = false;
     this.hbox3.Add (this.selectorTB);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.selectorTB]));
     w34.Position = 0;
     this.vbox1.Add (this.hbox3);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w35.Position = 2;
     w35.Expand = false;
     w35.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Show ();
     this.StringsAction.Activated += new global::System.EventHandler (this.OnSelectorTBActionActivated);
     this.ImagesAction.Activated += new global::System.EventHandler (this.OnSelectorTBActionActivated);
     this.IconsAction.Activated += new global::System.EventHandler (this.OnSelectorTBActionActivated);
     this.AudioAction.Activated += new global::System.EventHandler (this.OnSelectorTBActionActivated);
     this.OtherFilesAction.Activated += new global::System.EventHandler (this.OnSelectorTBActionActivated);
     this.OtherEmbeddedAction.Activated += new global::System.EventHandler (this.OnSelectorTBActionActivated);
     this.AddBtn.Clicked += new global::System.EventHandler (this.OnAddBtnClick);
     this.DeleteBtn.Clicked += new global::System.EventHandler (this.OnDeleteBtnClick);
     this.BaseValueCombo.Changed += new global::System.EventHandler (this.OnBaseValueComboChanged);
 }
コード例 #33
0
ファイル: MainWindow.cs プロジェクト: QualitySolution/Vodovoz
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.ActionBaseMenu = new global::Gtk.Action("ActionBaseMenu", global::Mono.Unix.Catalog.GetString("База"), null, null);
     this.ActionBaseMenu.ShortLabel = global::Mono.Unix.Catalog.GetString("База");
     w1.Add(this.ActionBaseMenu, null);
     this.dialogAuthenticationAction = new global::Gtk.Action("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString("Изменить пароль"), null, "gtk-dialog-authentication");
     this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Изменить пароль");
     w1.Add(this.dialogAuthenticationAction, null);
     this.ActionAbout = new global::Gtk.Action("ActionAbout", global::Mono.Unix.Catalog.GetString("Справка"), null, null);
     this.ActionAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("Справка");
     w1.Add(this.ActionAbout, null);
     this.aboutAction = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("_О программе"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_О программе");
     w1.Add(this.aboutAction, null);
     this.UsersAction = new global::Gtk.Action("UsersAction", global::Mono.Unix.Catalog.GetString("Пользователи"), null, "users");
     this.UsersAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Пользователи");
     w1.Add(this.UsersAction, null);
     this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("В_ыход"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("В_ыход");
     w1.Add(this.quitAction, null);
     this.ActionOrders = new global::Gtk.RadioAction("ActionOrders", global::Mono.Unix.Catalog.GetString("Заказы"), null, "order", 0);
     this.ActionOrders.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.ActionOrders.ShortLabel = global::Mono.Unix.Catalog.GetString("Заказы");
     w1.Add(this.ActionOrders, null);
     this.ActionServices = new global::Gtk.RadioAction("ActionServices", global::Mono.Unix.Catalog.GetString("Сервис"), null, "service", 0);
     this.ActionServices.Group = this.ActionOrders.Group;
     this.ActionServices.ShortLabel = global::Mono.Unix.Catalog.GetString("Сервис");
     w1.Add(this.ActionServices, null);
     this.ActionLogistics = new global::Gtk.RadioAction("ActionLogistics", global::Mono.Unix.Catalog.GetString("Логистика"), null, "logistic", 0);
     this.ActionLogistics.Group = this.ActionServices.Group;
     this.ActionLogistics.ShortLabel = global::Mono.Unix.Catalog.GetString("Логистика");
     w1.Add(this.ActionLogistics, null);
     this.ActionStock = new global::Gtk.RadioAction("ActionStock", global::Mono.Unix.Catalog.GetString("Склад"), null, "stock", 0);
     this.ActionStock.Group = this.ActionServices.Group;
     this.ActionStock.ShortLabel = global::Mono.Unix.Catalog.GetString("Склад");
     w1.Add(this.ActionStock, null);
     this.ActionCash = new global::Gtk.RadioAction("ActionCash", global::Mono.Unix.Catalog.GetString("Касса"), null, "cash", 0);
     this.ActionCash.Group = this.ActionServices.Group;
     this.ActionCash.ShortLabel = global::Mono.Unix.Catalog.GetString("Касса");
     w1.Add(this.ActionCash, null);
     this.ActionAccounting = new global::Gtk.RadioAction("ActionAccounting", global::Mono.Unix.Catalog.GetString("Бухгалтерия"), null, "accounting", 0);
     this.ActionAccounting.Group = this.ActionServices.Group;
     this.ActionAccounting.ShortLabel = global::Mono.Unix.Catalog.GetString("Бухгалтерия");
     w1.Add(this.ActionAccounting, null);
     this.ActionReports = new global::Gtk.RadioAction("ActionReports", global::Mono.Unix.Catalog.GetString("Отчеты"), null, "report", 0);
     this.ActionReports.Group = this.ActionServices.Group;
     this.ActionReports.ShortLabel = global::Mono.Unix.Catalog.GetString("Отчеты");
     w1.Add(this.ActionReports, null);
     this.ActionArchive = new global::Gtk.RadioAction("ActionArchive", global::Mono.Unix.Catalog.GetString("Архив"), null, "archive", 0);
     this.ActionArchive.Group = this.ActionServices.Group;
     this.ActionArchive.ShortLabel = global::Mono.Unix.Catalog.GetString("Архив");
     w1.Add(this.ActionArchive, null);
     this.ActionOrg = new global::Gtk.Action("ActionOrg", global::Mono.Unix.Catalog.GetString("Организации"), null, null);
     this.ActionOrg.ShortLabel = global::Mono.Unix.Catalog.GetString("Организации");
     w1.Add(this.ActionOrg, null);
     this.ActionBanksMenu = new global::Gtk.Action("ActionBanksMenu", global::Mono.Unix.Catalog.GetString("Банки"), null, null);
     this.ActionBanksMenu.ShortLabel = global::Mono.Unix.Catalog.GetString("Банки");
     w1.Add(this.ActionBanksMenu, null);
     this.ActionBanksRF = new global::Gtk.Action("ActionBanksRF", global::Mono.Unix.Catalog.GetString("Банки РФ"), null, null);
     this.ActionBanksRF.ShortLabel = global::Mono.Unix.Catalog.GetString("Банки РФ");
     w1.Add(this.ActionBanksRF, null);
     this.ActionOrgMenu = new global::Gtk.Action("ActionOrgMenu", global::Mono.Unix.Catalog.GetString("Наша организация"), null, null);
     this.ActionOrgMenu.ShortLabel = global::Mono.Unix.Catalog.GetString("Наша организация");
     w1.Add(this.ActionOrgMenu, null);
     this.ActionEmploey = new global::Gtk.Action("ActionEmploey", global::Mono.Unix.Catalog.GetString("Сотрудники"), null, null);
     this.ActionEmploey.ShortLabel = global::Mono.Unix.Catalog.GetString("Сотрудники");
     w1.Add(this.ActionEmploey, null);
     this.ActionNationality = new global::Gtk.Action("ActionNationality", global::Mono.Unix.Catalog.GetString("Национальность"), null, null);
     this.ActionNationality.ShortLabel = global::Mono.Unix.Catalog.GetString("Национальность");
     w1.Add(this.ActionNationality, null);
     this.ActionStatus = new global::Gtk.Action("ActionStatus", global::Mono.Unix.Catalog.GetString("Статусы"), null, null);
     this.ActionStatus.ShortLabel = global::Mono.Unix.Catalog.GetString("Статусы");
     w1.Add(this.ActionStatus, null);
     this.ActionEMailTypes = new global::Gtk.Action("ActionEMailTypes", global::Mono.Unix.Catalog.GetString("Типы e-mail адресов"), null, null);
     this.ActionEMailTypes.ShortLabel = global::Mono.Unix.Catalog.GetString("Типы e-mail адресов");
     w1.Add(this.ActionEMailTypes, null);
     this.Action = new global::Gtk.Action("Action", global::Mono.Unix.Catalog.GetString("Справочники"), null, null);
     this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString("Справочники");
     w1.Add(this.Action, null);
     this.ActionCounterpartyPost = new global::Gtk.Action("ActionCounterpartyPost", global::Mono.Unix.Catalog.GetString("Должности сотрудников контрагента"), null, null);
     this.ActionCounterpartyPost.ShortLabel = global::Mono.Unix.Catalog.GetString("Должности сотрудников контрагента");
     w1.Add(this.ActionCounterpartyPost, null);
     this.ActionFreeRentPackage = new global::Gtk.Action("ActionFreeRentPackage", global::Mono.Unix.Catalog.GetString("Пакеты бесплатной аренды"), null, null);
     this.ActionFreeRentPackage.ShortLabel = global::Mono.Unix.Catalog.GetString("Пакеты бесплатной аренды");
     w1.Add(this.ActionFreeRentPackage, null);
     this.ActionEquipment = new global::Gtk.Action("ActionEquipment", global::Mono.Unix.Catalog.GetString("Оборудование"), null, null);
     this.ActionEquipment.ShortLabel = global::Mono.Unix.Catalog.GetString("Оборудование");
     w1.Add(this.ActionEquipment, null);
     this.ActionWarehouses = new global::Gtk.Action("ActionWarehouses", global::Mono.Unix.Catalog.GetString("Склады"), null, null);
     this.ActionWarehouses.ShortLabel = global::Mono.Unix.Catalog.GetString("Склады");
     w1.Add(this.ActionWarehouses, null);
     this.ActionCar = new global::Gtk.Action("ActionCar", global::Mono.Unix.Catalog.GetString("Автомобили"), null, null);
     this.ActionCar.ShortLabel = global::Mono.Unix.Catalog.GetString("Автомобили");
     w1.Add(this.ActionCar, null);
     this.ActionColors = new global::Gtk.Action("ActionColors", global::Mono.Unix.Catalog.GetString("Цвета оборудования"), null, null);
     this.ActionColors.ShortLabel = global::Mono.Unix.Catalog.GetString("Цвета");
     w1.Add(this.ActionColors, null);
     this.ActionUnits = new global::Gtk.Action("ActionUnits", global::Mono.Unix.Catalog.GetString("Единицы измерения"), null, null);
     this.ActionUnits.ShortLabel = global::Mono.Unix.Catalog.GetString("Единицы измерения");
     w1.Add(this.ActionUnits, null);
     this.ActionManufacturers = new global::Gtk.Action("ActionManufacturers", global::Mono.Unix.Catalog.GetString("Производители оборудования"), null, null);
     this.ActionManufacturers.ShortLabel = global::Mono.Unix.Catalog.GetString("Производители оборудования");
     w1.Add(this.ActionManufacturers, null);
     this.ActionEquipmentTypes = new global::Gtk.Action("ActionEquipmentTypes", global::Mono.Unix.Catalog.GetString("Типы оборудования"), null, null);
     this.ActionEquipmentTypes.ShortLabel = global::Mono.Unix.Catalog.GetString("Типы оборудования");
     w1.Add(this.ActionEquipmentTypes, null);
     this.ActionNomenclature = new global::Gtk.Action("ActionNomenclature", global::Mono.Unix.Catalog.GetString("Номенклатура"), null, null);
     this.ActionNomenclature.ShortLabel = global::Mono.Unix.Catalog.GetString("Номенклатура");
     w1.Add(this.ActionNomenclature, null);
     this.ActionPhoneTypes = new global::Gtk.Action("ActionPhoneTypes", global::Mono.Unix.Catalog.GetString("Типы телефонов"), null, null);
     this.ActionPhoneTypes.ShortLabel = global::Mono.Unix.Catalog.GetString("Типы телефонов");
     w1.Add(this.ActionPhoneTypes, null);
     this.ActionTMC = new global::Gtk.Action("ActionTMC", global::Mono.Unix.Catalog.GetString("ТМЦ"), null, null);
     this.ActionTMC.ShortLabel = global::Mono.Unix.Catalog.GetString("ТМЦ");
     w1.Add(this.ActionTMC, null);
     this.ActionMenuLogistic = new global::Gtk.Action("ActionMenuLogistic", global::Mono.Unix.Catalog.GetString("Логистика"), null, null);
     this.ActionMenuLogistic.ShortLabel = global::Mono.Unix.Catalog.GetString("Значимость контрагента");
     w1.Add(this.ActionMenuLogistic, null);
     this.ActionCounterparty1 = new global::Gtk.Action("ActionCounterparty1", global::Mono.Unix.Catalog.GetString("Контрагенты"), null, null);
     this.ActionCounterparty1.ShortLabel = global::Mono.Unix.Catalog.GetString("Контрагенты");
     w1.Add(this.ActionCounterparty1, null);
     this.ActionCounterpartyHandbook = new global::Gtk.Action("ActionCounterpartyHandbook", global::Mono.Unix.Catalog.GetString("Контрагенты"), null, null);
     this.ActionCounterpartyHandbook.ShortLabel = global::Mono.Unix.Catalog.GetString("Контрагенты");
     w1.Add(this.ActionCounterpartyHandbook, null);
     this.ActionSignificance = new global::Gtk.Action("ActionSignificance", global::Mono.Unix.Catalog.GetString("Значимость контрагента"), null, null);
     this.ActionSignificance.ShortLabel = global::Mono.Unix.Catalog.GetString("Значимость контрагента");
     w1.Add(this.ActionSignificance, null);
     this.ActionPaidRentPackage = new global::Gtk.Action("ActionPaidRentPackage", global::Mono.Unix.Catalog.GetString("Условия платной аренды"), null, null);
     this.ActionPaidRentPackage.ShortLabel = global::Mono.Unix.Catalog.GetString("Условия платной аренды");
     w1.Add(this.ActionPaidRentPackage, null);
     this.Action11 = new global::Gtk.Action("Action11", global::Mono.Unix.Catalog.GetString("Логистика"), null, null);
     this.Action11.ShortLabel = global::Mono.Unix.Catalog.GetString("Логистика");
     w1.Add(this.Action11, null);
     this.ActionDeliverySchedule = new global::Gtk.Action("ActionDeliverySchedule", global::Mono.Unix.Catalog.GetString("Графики доставки"), null, null);
     this.ActionDeliverySchedule.ShortLabel = global::Mono.Unix.Catalog.GetString("Графики доставки");
     w1.Add(this.ActionDeliverySchedule, null);
     this.ActionLogisticsArea = new global::Gtk.Action("ActionLogisticsArea", global::Mono.Unix.Catalog.GetString("Логистические районы"), null, null);
     this.ActionLogisticsArea.ShortLabel = global::Mono.Unix.Catalog.GetString("Логистические районы");
     w1.Add(this.ActionLogisticsArea, null);
     this.ActionUpdateBanks = new global::Gtk.Action("ActionUpdateBanks", global::Mono.Unix.Catalog.GetString("Обновить банки с сайта РБК"), null, null);
     this.ActionUpdateBanks.ShortLabel = global::Mono.Unix.Catalog.GetString("Обновить банки с сайта РБК");
     w1.Add(this.ActionUpdateBanks, null);
     this.ActionProductSpecification = new global::Gtk.Action("ActionProductSpecification", global::Mono.Unix.Catalog.GetString("Спецификация продукции"), null, null);
     this.ActionProductSpecification.ShortLabel = global::Mono.Unix.Catalog.GetString("Спецификация продукции");
     w1.Add(this.ActionProductSpecification, null);
     this.ActionCullingCategory = new global::Gtk.Action("ActionCullingCategory", global::Mono.Unix.Catalog.GetString("Категории выбраковки"), null, null);
     this.ActionCullingCategory.ShortLabel = global::Mono.Unix.Catalog.GetString("Категории выбраковки");
     w1.Add(this.ActionCullingCategory, null);
     this.Action12 = new global::Gtk.Action("Action12", global::Mono.Unix.Catalog.GetString("Помощники"), null, null);
     this.Action12.ShortLabel = global::Mono.Unix.Catalog.GetString("Помощники");
     w1.Add(this.Action12, null);
     this.ActionCommentTemplates = new global::Gtk.Action("ActionCommentTemplates", global::Mono.Unix.Catalog.GetString("Шаблоны комментариев"), null, null);
     this.ActionCommentTemplates.ShortLabel = global::Mono.Unix.Catalog.GetString("Шаблоны комментариев");
     w1.Add(this.ActionCommentTemplates, null);
     this.ActionLoad1c = new global::Gtk.Action("ActionLoad1c", global::Mono.Unix.Catalog.GetString("Загрузить из 1с 7.7"), null, null);
     this.ActionLoad1c.ShortLabel = global::Mono.Unix.Catalog.GetString("Загрузить из 1с 7.7");
     w1.Add(this.ActionLoad1c, null);
     this.ActionRouteColumns = new global::Gtk.Action("ActionRouteColumns", global::Mono.Unix.Catalog.GetString("Колонки номенклатуры"), null, null);
     this.ActionRouteColumns.ShortLabel = global::Mono.Unix.Catalog.GetString("Колонки номенклатуры");
     w1.Add(this.ActionRouteColumns, null);
     this.ActionFuelType = new global::Gtk.Action("ActionFuelType", global::Mono.Unix.Catalog.GetString("Виды топлива"), null, null);
     this.ActionFuelType.ShortLabel = global::Mono.Unix.Catalog.GetString("Виды топлива");
     w1.Add(this.ActionFuelType, null);
     this.ActionDeliveryShift = new global::Gtk.Action("ActionDeliveryShift", global::Mono.Unix.Catalog.GetString("Смена доставки"), null, null);
     this.ActionDeliveryShift.ShortLabel = global::Mono.Unix.Catalog.GetString("Смена доставки");
     w1.Add(this.ActionDeliveryShift, null);
     this.ActionParameters = new global::Gtk.Action("ActionParameters", global::Mono.Unix.Catalog.GetString("Параметры приложения"), null, "gtk-preferences");
     this.ActionParameters.ShortLabel = global::Mono.Unix.Catalog.GetString("Параметры приложения");
     w1.Add(this.ActionParameters, null);
     this.Action13 = new global::Gtk.Action("Action13", global::Mono.Unix.Catalog.GetString("Касса"), null, null);
     this.Action13.ShortLabel = global::Mono.Unix.Catalog.GetString("Касса");
     w1.Add(this.Action13, null);
     this.Action14 = new global::Gtk.Action("Action14", global::Mono.Unix.Catalog.GetString("Статьи доходов"), null, null);
     this.Action14.ShortLabel = global::Mono.Unix.Catalog.GetString("Статьи доходов");
     w1.Add(this.Action14, null);
     this.Action15 = new global::Gtk.Action("Action15", global::Mono.Unix.Catalog.GetString("Статьи расходов"), null, null);
     this.Action15.ShortLabel = global::Mono.Unix.Catalog.GetString("Статьи расходов");
     w1.Add(this.Action15, null);
     this.ActionDocTemplates = new global::Gtk.Action("ActionDocTemplates", global::Mono.Unix.Catalog.GetString("Шаблоны документов"), null, null);
     this.ActionDocTemplates.ShortLabel = global::Mono.Unix.Catalog.GetString("Шаблоны документов");
     w1.Add(this.ActionDocTemplates, null);
     this.Action18 = new global::Gtk.Action("Action18", global::Mono.Unix.Catalog.GetString("Вид"), null, null);
     this.Action18.ShortLabel = global::Mono.Unix.Catalog.GetString("Вид");
     w1.Add(this.Action18, null);
     this.Action17 = new global::Gtk.Action("Action17", global::Mono.Unix.Catalog.GetString("Главная панель"), null, null);
     this.Action17.ShortLabel = global::Mono.Unix.Catalog.GetString("Главная панель");
     w1.Add(this.Action17, null);
     this.ActionToolBarText = new global::Gtk.RadioAction("ActionToolBarText", global::Mono.Unix.Catalog.GetString("Только текст"), null, null, 0);
     this.ActionToolBarText.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.ActionToolBarText.ShortLabel = global::Mono.Unix.Catalog.GetString("Только текст");
     w1.Add(this.ActionToolBarText, null);
     this.ActionToolBarIcon = new global::Gtk.RadioAction("ActionToolBarIcon", global::Mono.Unix.Catalog.GetString("Только иконки"), null, null, 0);
     this.ActionToolBarIcon.Group = this.ActionToolBarText.Group;
     this.ActionToolBarIcon.ShortLabel = global::Mono.Unix.Catalog.GetString("Только иконки");
     w1.Add(this.ActionToolBarIcon, null);
     this.ActionToolBarBoth = new global::Gtk.RadioAction("ActionToolBarBoth", global::Mono.Unix.Catalog.GetString("Иконки и Текст"), null, null, 0);
     this.ActionToolBarBoth.Group = this.ActionToolBarText.Group;
     this.ActionToolBarBoth.ShortLabel = global::Mono.Unix.Catalog.GetString("Иконки и Текст");
     w1.Add(this.ActionToolBarBoth, null);
     this.ActionIconsExtraSmall = new global::Gtk.RadioAction("ActionIconsExtraSmall", global::Mono.Unix.Catalog.GetString("Очень маленькие иконки"), null, null, 0);
     this.ActionIconsExtraSmall.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.ActionIconsExtraSmall.ShortLabel = global::Mono.Unix.Catalog.GetString("Очень маленькие иконки");
     w1.Add(this.ActionIconsExtraSmall, null);
     this.ActionIconsSmall = new global::Gtk.RadioAction("ActionIconsSmall", global::Mono.Unix.Catalog.GetString("Маленькие иконки"), null, null, 0);
     this.ActionIconsSmall.Group = this.ActionIconsExtraSmall.Group;
     this.ActionIconsSmall.ShortLabel = global::Mono.Unix.Catalog.GetString("Маленькие иконки");
     w1.Add(this.ActionIconsSmall, null);
     this.ActionIconsMiddle = new global::Gtk.RadioAction("ActionIconsMiddle", global::Mono.Unix.Catalog.GetString("Средние иконки"), null, null, 0);
     this.ActionIconsMiddle.Group = this.ActionIconsExtraSmall.Group;
     this.ActionIconsMiddle.ShortLabel = global::Mono.Unix.Catalog.GetString("Средние иконки");
     w1.Add(this.ActionIconsMiddle, null);
     this.ActionIconsLarge = new global::Gtk.RadioAction("ActionIconsLarge", global::Mono.Unix.Catalog.GetString("Большие иконки"), null, null, 0);
     this.ActionIconsLarge.Group = this.ActionIconsExtraSmall.Group;
     this.ActionIconsLarge.ShortLabel = global::Mono.Unix.Catalog.GetString("Большие иконки");
     w1.Add(this.ActionIconsLarge, null);
     this.ActionDeliveryPoints = new global::Gtk.Action("ActionDeliveryPoints", global::Mono.Unix.Catalog.GetString("Точки доставки"), null, null);
     this.ActionDeliveryPoints.ShortLabel = global::Mono.Unix.Catalog.GetString("Точки доставки");
     w1.Add(this.ActionDeliveryPoints, null);
     this.propertiesAction = new global::Gtk.Action("propertiesAction", global::Mono.Unix.Catalog.GetString("Настройки пользователя"), null, "gtk-properties");
     this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Настройки пользователя");
     w1.Add(this.propertiesAction, null);
     this.ActionTransportationWagon = new global::Gtk.Action("ActionTransportationWagon", global::Mono.Unix.Catalog.GetString("Фуры"), null, null);
     this.ActionTransportationWagon.ShortLabel = global::Mono.Unix.Catalog.GetString("Фуры");
     w1.Add(this.ActionTransportationWagon, null);
     this.ActionRegrandingOfGoodsTempalte = new global::Gtk.Action("ActionRegrandingOfGoodsTempalte", global::Mono.Unix.Catalog.GetString("Шаблоны для пересортицы"), null, null);
     this.ActionRegrandingOfGoodsTempalte.ShortLabel = global::Mono.Unix.Catalog.GetString("Шаблоны для пересортицы");
     w1.Add(this.ActionRegrandingOfGoodsTempalte, null);
     this.Action19 = new global::Gtk.Action("Action19", global::Mono.Unix.Catalog.GetString("Отчеты"), null, null);
     this.Action19.ShortLabel = global::Mono.Unix.Catalog.GetString("Отчеты");
     w1.Add(this.Action19, null);
     this.Action20 = new global::Gtk.Action("Action20", global::Mono.Unix.Catalog.GetString("Сотрудники"), null, null);
     this.Action20.ShortLabel = global::Mono.Unix.Catalog.GetString("Сотрудники");
     w1.Add(this.Action20, null);
     this.ActionEmployeeFines = new global::Gtk.Action("ActionEmployeeFines", global::Mono.Unix.Catalog.GetString("Штрафы сотрудников"), null, null);
     this.ActionEmployeeFines.ShortLabel = global::Mono.Unix.Catalog.GetString("Штрафы сотрудников");
     w1.Add(this.ActionEmployeeFines, null);
     this.Action23 = new global::Gtk.Action("Action23", global::Mono.Unix.Catalog.GetString("Склад"), null, null);
     this.Action23.ShortLabel = global::Mono.Unix.Catalog.GetString("Склад");
     w1.Add(this.Action23, null);
     this.ActionStockMovements = new global::Gtk.Action("ActionStockMovements", global::Mono.Unix.Catalog.GetString("Складские движения"), null, null);
     this.ActionStockMovements.ShortLabel = global::Mono.Unix.Catalog.GetString("Складские движения");
     w1.Add(this.ActionStockMovements, null);
     this.GazTicketAction = new global::Gtk.Action("GazTicketAction", global::Mono.Unix.Catalog.GetString("Виды талонов на топливо"), null, null);
     this.GazTicketAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Виды талонов на топливо");
     w1.Add(this.GazTicketAction, null);
     this.Subdivisions = new global::Gtk.Action("Subdivisions", global::Mono.Unix.Catalog.GetString("Подразделения"), null, null);
     this.Subdivisions.ShortLabel = global::Mono.Unix.Catalog.GetString("Подразделения");
     w1.Add(this.Subdivisions, null);
     this.Action24 = new global::Gtk.Action("Action24", global::Mono.Unix.Catalog.GetString("Продажи"), null, null);
     this.Action24.ShortLabel = global::Mono.Unix.Catalog.GetString("Продажи");
     w1.Add(this.Action24, null);
     this.ActionSalesReport = new global::Gtk.Action("ActionSalesReport", global::Mono.Unix.Catalog.GetString("Отчет по продажам"), null, null);
     this.ActionSalesReport.ShortLabel = global::Mono.Unix.Catalog.GetString("Отчет по продажам");
     w1.Add(this.ActionSalesReport, null);
     this.Action25 = new global::Gtk.Action("Action25", global::Mono.Unix.Catalog.GetString("Водители"), null, null);
     this.Action25.ShortLabel = global::Mono.Unix.Catalog.GetString("Водители");
     w1.Add(this.Action25, null);
     this.ActionDriverWages = new global::Gtk.Action("ActionDriverWages", global::Mono.Unix.Catalog.GetString("Зарплаты водителей"), null, null);
     this.ActionDriverWages.ShortLabel = global::Mono.Unix.Catalog.GetString("Зарплаты водителей");
     w1.Add(this.ActionDriverWages, null);
     this.ActionFuelReport = new global::Gtk.Action("ActionFuelReport", global::Mono.Unix.Catalog.GetString("Отчет по выдаче бензина"), null, null);
     this.ActionFuelReport.ShortLabel = global::Mono.Unix.Catalog.GetString("Отчет по выдаче бензина");
     w1.Add(this.ActionFuelReport, null);
     this.Action26 = new global::Gtk.Action("Action26", global::Mono.Unix.Catalog.GetString("Заказы"), null, null);
     this.Action26.ShortLabel = global::Mono.Unix.Catalog.GetString("Заказы");
     w1.Add(this.Action26, null);
     this.ActionShortfallBattles = new global::Gtk.Action("ActionShortfallBattles", global::Mono.Unix.Catalog.GetString("Отчет о несданных бутылях"), null, null);
     this.ActionShortfallBattles.ShortLabel = global::Mono.Unix.Catalog.GetString("Отчет о несданных бутылях");
     w1.Add(this.ActionShortfallBattles, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.hbox1 = new global::Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox1 = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubarMain'><menu name='ActionBaseMenu' action='ActionBaseMenu'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='UsersAction' action='UsersAction'/><separator/><menuitem name='ActionParameters' action='ActionParameters'/><menuitem name='propertiesAction' action='propertiesAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action18' action='Action18'><menu name='Action17' action='Action17'><menuitem name='ActionToolBarText' action='ActionToolBarText'/><menuitem name='ActionToolBarIcon' action='ActionToolBarIcon'/><menuitem name='ActionToolBarBoth' action='ActionToolBarBoth'/><separator/><menuitem name='ActionIconsExtraSmall' action='ActionIconsExtraSmall'/><menuitem name='ActionIconsSmall' action='ActionIconsSmall'/><menuitem name='ActionIconsMiddle' action='ActionIconsMiddle'/><menuitem name='ActionIconsLarge' action='ActionIconsLarge'/></menu></menu><menu name='Action' action='Action'><menu name='ActionOrgMenu' action='ActionOrgMenu'><menuitem name='ActionOrg' action='ActionOrg'/><menuitem name='Subdivisions' action='Subdivisions'/><separator/><menuitem name='ActionEmploey' action='ActionEmploey'/><menuitem name='ActionNationality' action='ActionNationality'/><menuitem name='ActionWarehouses' action='ActionWarehouses'/><separator/><menuitem name='ActionPhoneTypes' action='ActionPhoneTypes'/><menuitem name='ActionEMailTypes' action='ActionEMailTypes'/></menu><menu name='ActionTMC' action='ActionTMC'><menuitem name='ActionNomenclature' action='ActionNomenclature'/><menuitem name='ActionUnits' action='ActionUnits'/><menuitem name='ActionEquipment' action='ActionEquipment'/><separator/><menuitem name='ActionEquipmentTypes' action='ActionEquipmentTypes'/><menuitem name='ActionManufacturers' action='ActionManufacturers'/><menuitem name='ActionColors' action='ActionColors'/><separator/><menuitem name='ActionProductSpecification' action='ActionProductSpecification'/><menuitem name='ActionRegrandingOfGoodsTempalte' action='ActionRegrandingOfGoodsTempalte'/><menuitem name='ActionCullingCategory' action='ActionCullingCategory'/><menuitem name='ActionTransportationWagon' action='ActionTransportationWagon'/><separator/><menuitem name='ActionFreeRentPackage' action='ActionFreeRentPackage'/><menuitem name='ActionPaidRentPackage' action='ActionPaidRentPackage'/></menu><menu name='ActionBanksMenu' action='ActionBanksMenu'><menuitem name='ActionBanksRF' action='ActionBanksRF'/><separator/><menuitem name='ActionUpdateBanks' action='ActionUpdateBanks'/></menu><menu name='Action13' action='Action13'><menuitem name='Action14' action='Action14'/><menuitem name='Action15' action='Action15'/></menu><menu name='ActionCounterparty1' action='ActionCounterparty1'><menuitem name='ActionCounterpartyHandbook' action='ActionCounterpartyHandbook'/><menuitem name='ActionDeliveryPoints' action='ActionDeliveryPoints'/><separator/><menuitem name='ActionSignificance' action='ActionSignificance'/><menuitem name='ActionStatus' action='ActionStatus'/><menuitem name='ActionCounterpartyPost' action='ActionCounterpartyPost'/><separator/><menuitem name='ActionDocTemplates' action='ActionDocTemplates'/><separator/><menuitem name='ActionLoad1c' action='ActionLoad1c'/></menu><menu name='ActionMenuLogistic' action='ActionMenuLogistic'><menuitem name='ActionDeliverySchedule' action='ActionDeliverySchedule'/><menuitem name='ActionLogisticsArea' action='ActionLogisticsArea'/><menuitem name='ActionDeliveryShift' action='ActionDeliveryShift'/><separator/><menuitem name='ActionCar' action='ActionCar'/><menuitem name='ActionFuelType' action='ActionFuelType'/><menuitem name='GazTicketAction' action='GazTicketAction'/><separator/><menuitem name='ActionRouteColumns' action='ActionRouteColumns'/></menu><menu name='Action12' action='Action12'><menuitem name='ActionCommentTemplates' action='ActionCommentTemplates'/></menu></menu><menu name='Action19' action='Action19'><menu name='Action20' action='Action20'><menuitem name='ActionEmployeeFines' action='ActionEmployeeFines'/></menu><menu name='Action23' action='Action23'><menuitem name='ActionStockMovements' action='ActionStockMovements'/></menu><menu name='Action24' action='Action24'><menuitem name='ActionSalesReport' action='ActionSalesReport'/></menu><menu name='Action25' action='Action25'><menuitem name='ActionDriverWages' action='ActionDriverWages'/><menuitem name='ActionFuelReport' action='ActionFuelReport'/></menu><menu name='Action26' action='Action26'><menuitem name='ActionShortfallBattles' action='ActionShortfallBattles'/></menu></menu><menu name='ActionAbout' action='ActionAbout'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menubarMain = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubarMain")));
     this.menubarMain.Name = "menubarMain";
     this.vbox1.Add(this.menubarMain);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubarMain]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbarMain'><toolitem name='ActionOrders' action='ActionOrders'/><toolitem name='ActionServices' action='ActionServices'/><toolitem name='ActionLogistics' action='ActionLogistics'/><toolitem name='ActionStock' action='ActionStock'/><toolitem name='ActionCash' action='ActionCash'/><toolitem name='ActionAccounting' action='ActionAccounting'/><toolitem name='ActionReports' action='ActionReports'/><toolitem name='ActionArchive' action='ActionArchive'/></toolbar></ui>");
     this.toolbarMain = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbarMain")));
     this.toolbarMain.Name = "toolbarMain";
     this.toolbarMain.ShowArrow = false;
     this.toolbarMain.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolbarMain.IconSize = ((global::Gtk.IconSize)(5));
     this.hbox2.Add(this.toolbarMain);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.toolbarMain]));
     w3.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.unreadedMessagesWidget = new global::Vodovoz.UnreadedMessagesWidget();
     this.unreadedMessagesWidget.Events = ((global::Gdk.EventMask)(256));
     this.unreadedMessagesWidget.Name = "unreadedMessagesWidget";
     this.hbox2.Add(this.unreadedMessagesWidget);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.unreadedMessagesWidget]));
     w4.Position = 1;
     w4.Expand = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbarSub'/></ui>");
     this.toolbarSub = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbarSub")));
     this.toolbarSub.Name = "toolbarSub";
     this.toolbarSub.ShowArrow = false;
     this.toolbarSub.ToolbarStyle = ((global::Gtk.ToolbarStyle)(1));
     this.toolbarSub.IconSize = ((global::Gtk.IconSize)(2));
     this.vbox1.Add(this.toolbarSub);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbarSub]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.tdiMain = new global::QSTDI.TdiNotebook();
     this.tdiMain.Name = "tdiMain";
     this.tdiMain.CurrentPage = 0;
     this.tdiMain.ShowTabs = false;
     this.tdiMain.Scrollable = true;
     this.vbox1.Add(this.tdiMain);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.tdiMain]));
     w7.Position = 3;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbarMain = new global::Gtk.Statusbar();
     this.statusbarMain.Name = "statusbarMain";
     this.statusbarMain.Spacing = 6;
     // Container child statusbarMain.Gtk.Box+BoxChild
     this.labelUser = new global::Gtk.Label();
     this.labelUser.Name = "labelUser";
     this.statusbarMain.Add(this.labelUser);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.statusbarMain[this.labelUser]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     // Container child statusbarMain.Gtk.Box+BoxChild
     this.labelStatus = new global::Gtk.Label();
     this.labelStatus.Name = "labelStatus";
     this.statusbarMain.Add(this.labelStatus);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.statusbarMain[this.labelStatus]));
     w9.Position = 2;
     w9.Expand = false;
     w9.Fill = false;
     this.vbox1.Add(this.statusbarMain);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbarMain]));
     w10.PackType = ((global::Gtk.PackType)(1));
     w10.Position = 4;
     w10.Expand = false;
     w10.Fill = false;
     this.hbox1.Add(this.vbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1]));
     w11.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.infopanel = new global::Vodovoz.Panel.InfoPanel();
     this.infopanel.Events = ((global::Gdk.EventMask)(256));
     this.infopanel.Name = "infopanel";
     this.hbox1.Add(this.infopanel);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.infopanel]));
     w12.Position = 1;
     w12.Expand = false;
     w12.Fill = false;
     this.Add(this.hbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 950;
     this.DefaultHeight = 530;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.dialogAuthenticationAction.Activated += new global::System.EventHandler(this.OnDialogAuthenticationActionActivated);
     this.aboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated);
     this.UsersAction.Activated += new global::System.EventHandler(this.OnAction3Activated);
     this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated);
     this.ActionOrders.Toggled += new global::System.EventHandler(this.OnActionOrdersToggled);
     this.ActionServices.Toggled += new global::System.EventHandler(this.OnActionServicesToggled);
     this.ActionLogistics.Toggled += new global::System.EventHandler(this.OnActionLogisticsToggled);
     this.ActionStock.Toggled += new global::System.EventHandler(this.OnActionStockToggled);
     this.ActionCash.Toggled += new global::System.EventHandler(this.OnActionCashToggled);
     this.ActionAccounting.Toggled += new global::System.EventHandler(this.OnActionAccountingToggled);
     this.ActionArchive.Toggled += new global::System.EventHandler(this.OnActionArchiveToggled);
     this.ActionOrg.Activated += new global::System.EventHandler(this.OnActionOrganizationsActivated);
     this.ActionBanksRF.Activated += new global::System.EventHandler(this.OnActionBanksRFActivated);
     this.ActionEmploey.Activated += new global::System.EventHandler(this.OnActionEmploeyActivated);
     this.ActionNationality.Activated += new global::System.EventHandler(this.OnActionNationalityActivated);
     this.ActionStatus.Activated += new global::System.EventHandler(this.OnActionStatusActivated);
     this.ActionEMailTypes.Activated += new global::System.EventHandler(this.OnActionEMailTypesActivated);
     this.ActionCounterpartyPost.Activated += new global::System.EventHandler(this.OnActionCounterpartyPostActivated);
     this.ActionFreeRentPackage.Activated += new global::System.EventHandler(this.OnActionFreeRentPackageActivated);
     this.ActionEquipment.Activated += new global::System.EventHandler(this.OnActionEquipmentActivated);
     this.ActionWarehouses.Activated += new global::System.EventHandler(this.OnActionWarehousesActivated);
     this.ActionCar.Activated += new global::System.EventHandler(this.OnActionCarsActivated);
     this.ActionColors.Activated += new global::System.EventHandler(this.OnActionColorsActivated);
     this.ActionUnits.Activated += new global::System.EventHandler(this.OnActionUnitsActivated);
     this.ActionManufacturers.Activated += new global::System.EventHandler(this.OnActionManufacturersActivated);
     this.ActionEquipmentTypes.Activated += new global::System.EventHandler(this.OnActionEquipmentTypesActivated);
     this.ActionNomenclature.Activated += new global::System.EventHandler(this.OnActionNomenclatureActivated);
     this.ActionPhoneTypes.Activated += new global::System.EventHandler(this.OnActionPhoneTypesActivated);
     this.ActionCounterpartyHandbook.Activated += new global::System.EventHandler(this.OnActionCounterpartyHandbookActivated);
     this.ActionSignificance.Activated += new global::System.EventHandler(this.OnActionSignificanceActivated);
     this.ActionPaidRentPackage.Activated += new global::System.EventHandler(this.OnActionPaidRentPackageActivated);
     this.ActionDeliverySchedule.Activated += new global::System.EventHandler(this.OnActionDeliveryScheduleActivated);
     this.ActionLogisticsArea.Activated += new global::System.EventHandler(this.OnActionLogisticsAreaActivated);
     this.ActionUpdateBanks.Activated += new global::System.EventHandler(this.OnActionUpdateBanksActivated);
     this.ActionProductSpecification.Activated += new global::System.EventHandler(this.OnActionProductSpecificationActivated);
     this.ActionCullingCategory.Activated += new global::System.EventHandler(this.OnActionCullingCategoryActivated);
     this.ActionCommentTemplates.Activated += new global::System.EventHandler(this.OnActionCommentTemplatesActivated);
     this.ActionLoad1c.Activated += new global::System.EventHandler(this.OnActionLoad1cActivated);
     this.ActionRouteColumns.Activated += new global::System.EventHandler(this.OnActionRouteColumnsActivated);
     this.ActionFuelType.Activated += new global::System.EventHandler(this.OnActionFuelTypeActivated);
     this.ActionDeliveryShift.Activated += new global::System.EventHandler(this.OnActionDeliveryShiftActivated);
     this.ActionParameters.Activated += new global::System.EventHandler(this.OnActionParametersActivated);
     this.Action14.Activated += new global::System.EventHandler(this.OnAction14Activated);
     this.Action15.Activated += new global::System.EventHandler(this.OnAction15Activated);
     this.ActionDocTemplates.Activated += new global::System.EventHandler(this.OnActionDocTemplatesActivated);
     this.ActionToolBarText.Toggled += new global::System.EventHandler(this.OnActionToolBarTextToggled);
     this.ActionToolBarIcon.Toggled += new global::System.EventHandler(this.OnActionToolBarIconToggled);
     this.ActionToolBarBoth.Toggled += new global::System.EventHandler(this.OnActionToolBarBothToggled);
     this.ActionIconsExtraSmall.Toggled += new global::System.EventHandler(this.OnActionIconsExtraSmallToggled);
     this.ActionIconsSmall.Toggled += new global::System.EventHandler(this.OnActionIconsSmallToggled);
     this.ActionIconsMiddle.Toggled += new global::System.EventHandler(this.OnActionIconsMiddleToggled);
     this.ActionIconsLarge.Toggled += new global::System.EventHandler(this.OnActionIconsLargeToggled);
     this.ActionDeliveryPoints.Activated += new global::System.EventHandler(this.OnActionDeliveryPointsActivated);
     this.propertiesAction.Activated += new global::System.EventHandler(this.OnPropertiesActionActivated);
     this.ActionTransportationWagon.Activated += new global::System.EventHandler(this.OnActionTransportationWagonActivated);
     this.ActionRegrandingOfGoodsTempalte.Activated += new global::System.EventHandler(this.OnActionRegrandingOfGoodsTempalteActivated);
     this.ActionEmployeeFines.Activated += new global::System.EventHandler(this.OnActionEmployeeFinesActivated);
     this.ActionStockMovements.Activated += new global::System.EventHandler(this.OnActionStockMovementsActivated);
     this.GazTicketAction.Activated += new global::System.EventHandler(this.OnGazTicketActionActivated);
     this.Subdivisions.Activated += new global::System.EventHandler(this.OnSubdivisionsActivated);
     this.ActionSalesReport.Activated += new global::System.EventHandler(this.OnActionSalesReportActivated);
     this.ActionDriverWages.Activated += new global::System.EventHandler(this.OnActionDriverWagesActivated);
     this.ActionFuelReport.Activated += new global::System.EventHandler(this.OnActionFuelReportActivated);
     this.ActionShortfallBattles.Activated += new global::System.EventHandler(this.OnActionShortfallBattlesActivated);
     this.tdiMain.TabAdded += new global::System.EventHandler<QSTDI.TabAddedEventArgs>(this.OnTdiMainTabAdded);
     this.tdiMain.TabSwitched += new global::System.EventHandler<QSTDI.TabSwitchedEventArgs>(this.OnTdiMainTabSwitched);
     this.tdiMain.TabClosed += new global::System.EventHandler<QSTDI.TabClosedEventArgs>(this.OnTdiMainTabClosed);
 }
コード例 #34
0
ファイル: JanelaPrincipal.cs プロジェクト: brunocmorais/bCalc
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget JanelaPrincipal
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.CalculadoraAction = new global::Gtk.Action (
         "CalculadoraAction",
         global::Mono.Unix.Catalog.GetString("Calculadora"),
         null,
         null
     );
     this.CalculadoraAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Calculadora");
     w1.Add (this.CalculadoraAction, null);
     this.AjudaAction = new global::Gtk.Action (
         "AjudaAction",
         global::Mono.Unix.Catalog.GetString("Ajuda"),
         null,
         null
     );
     this.AjudaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ajuda");
     w1.Add (this.AjudaAction, null);
     this.aboutAction = new global::Gtk.Action (
         "aboutAction",
         global::Mono.Unix.Catalog.GetString("Sobre o bCalc"),
         null,
         "gtk-about"
     );
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sobre");
     w1.Add (this.aboutAction, null);
     this.quitAction = new global::Gtk.Action (
         "quitAction",
         global::Mono.Unix.Catalog.GetString("Sai_r do bCalc"),
         null,
         "gtk-quit"
     );
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sai_r");
     w1.Add (this.quitAction, null);
     this.MostrarFunesEstatsticasAction = new global::Gtk.ToggleAction (
         "MostrarFunesEstatsticasAction",
         global::Mono.Unix.Catalog.GetString("Mostrar funções estatísticas"),
         null,
         null
     );
     this.MostrarFunesEstatsticasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Mostrar funções estatísticas");
     w1.Add (this.MostrarFunesEstatsticasAction, "<Primary>e");
     this.MostrarFunesAvanadasAction = new global::Gtk.ToggleAction (
         "MostrarFunesAvanadasAction",
         global::Mono.Unix.Catalog.GetString("Mostrar funções avançadas"),
         null,
         null
     );
     this.MostrarFunesAvanadasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Mostrar funções avançadas");
     w1.Add (this.MostrarFunesAvanadasAction, "<Primary>a");
     this.NotaoAngularAction = new global::Gtk.Action (
         "NotaoAngularAction",
         global::Mono.Unix.Catalog.GetString("Notação angular"),
         null,
         null
     );
     this.NotaoAngularAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Notação angular");
     w1.Add (this.NotaoAngularAction, null);
     this.GrausAction = new global::Gtk.RadioAction (
         "GrausAction",
         global::Mono.Unix.Catalog.GetString("Graus"),
         null,
         null,
         0
     );
     this.GrausAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.GrausAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Graus");
     w1.Add (this.GrausAction, "<Primary>g");
     this.RadianosAction = new global::Gtk.RadioAction (
         "RadianosAction",
         global::Mono.Unix.Catalog.GetString("Radianos"),
         null,
         null,
         0
     );
     this.RadianosAction.Group = this.GrausAction.Group;
     this.RadianosAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Radianos");
     w1.Add (this.RadianosAction, "<Primary>r");
     this.deleteAction = new global::Gtk.Action (
         "deleteAction",
         global::Mono.Unix.Catalog.GetString("Limpar memória estatística"),
         null,
         "gtk-delete"
     );
     this.deleteAction.Sensitive = false;
     this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Limpar memória estatística");
     w1.Add (this.deleteAction, "<Primary><Alt>e");
     this.deleteAction1 = new global::Gtk.Action (
         "deleteAction1",
         global::Mono.Unix.Catalog.GetString("Limpar memória comum"),
         null,
         "gtk-delete"
     );
     this.deleteAction1.Sensitive = false;
     this.deleteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Limpar memória comum");
     w1.Add (this.deleteAction1, "<Primary><Alt>c");
     this.MemriaAction = new global::Gtk.Action (
         "MemriaAction",
         global::Mono.Unix.Catalog.GetString("Memória"),
         null,
         null
     );
     this.MemriaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Memória");
     w1.Add (this.MemriaAction, null);
     this.aaaAction = new global::Gtk.Action (
         "aaaAction",
         global::Mono.Unix.Catalog.GetString("aaa"),
         null,
         null
     );
     this.aaaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("aaa");
     w1.Add (this.aaaAction, null);
     this.VisualizarStat = new global::Gtk.Action (
         "VisualizarStat",
         global::Mono.Unix.Catalog.GetString("Visualizar valores estatísticos"),
         null,
         null
     );
     this.VisualizarStat.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualizar conteúdo da memória estatística");
     w1.Add (this.VisualizarStat, "<Alt>e");
     this.VisualizarMemriaComumAction = new global::Gtk.Action (
         "VisualizarMemriaComumAction",
         global::Mono.Unix.Catalog.GetString("Visualizar memória comum"),
         null,
         "calc"
     );
     this.VisualizarMemriaComumAction.Sensitive = false;
     this.VisualizarMemriaComumAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualizar memória comum");
     w1.Add (this.VisualizarMemriaComumAction, null);
     this.VisualizarComumAction = new global::Gtk.Action (
         "VisualizarComumAction",
         global::Mono.Unix.Catalog.GetString("Visualizar memória comum"),
         null,
         null
     );
     this.VisualizarComumAction.Sensitive = false;
     this.VisualizarComumAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualizar memória comum");
     w1.Add (this.VisualizarComumAction, "<Alt>c");
     this.verValores = new global::Gtk.Action (
         "verValores",
         global::Mono.Unix.Catalog.GetString("Exibir contas feitas até agora"),
         null,
         null
     );
     this.verValores.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exibir contas feitas até agora");
     w1.Add (this.verValores, "<Alt>h");
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "JanelaPrincipal";
     this.Title = global::Mono.Unix.Catalog.GetString ("bCalc");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Resizable = false;
     this.AllowGrow = false;
     this.Gravity = ((global::Gdk.Gravity)(5));
     // Container child JanelaPrincipal.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='barraMenu'><menu name='CalculadoraAction' action='CalculadoraAction'><menu name='NotaoAngularAction' action='NotaoAngularAction'><menuitem name='GrausAction' action='GrausAction'/><menuitem name='RadianosAction' action='RadianosAction'/></menu><separator/><menuitem name='deleteAction' action='deleteAction'/><menuitem name='deleteAction1' action='deleteAction1'/><separator/><menuitem name='VisualizarStat' action='VisualizarStat'/><menuitem name='VisualizarComumAction' action='VisualizarComumAction'/><menuitem name='verValores' action='verValores'/><separator/><menuitem name='MostrarFunesEstatsticasAction' action='MostrarFunesEstatsticasAction'/><menuitem name='MostrarFunesAvanadasAction' action='MostrarFunesAvanadasAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='AjudaAction' action='AjudaAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.barraMenu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/barraMenu")));
     this.barraMenu.Name = "barraMenu";
     this.vbox1.Add (this.barraMenu);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.barraMenu]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     this.vbox6.BorderWidth = ((uint)(12));
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.labelLetra = new global::Gtk.Label ();
     this.labelLetra.Name = "labelLetra";
     this.hbox2.Add (this.labelLetra);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelLetra]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.Visor = new global::Gtk.TextView ();
     this.Visor.Buffer.Text = "0";
     this.Visor.HeightRequest = 20;
     this.Visor.CanFocus = true;
     this.Visor.Name = "Visor";
     this.Visor.Editable = false;
     this.Visor.CursorVisible = false;
     this.Visor.Justification = ((global::Gtk.Justification)(1));
     this.scrolledwindow1.Add (this.Visor);
     this.hbox2.Add (this.scrolledwindow1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.scrolledwindow1]));
     w5.Position = 1;
     this.vbox6.Add (this.hbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox2]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox1.Add (this.vbox6);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox6]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Homogeneous = true;
     this.hbox3.Spacing = 8;
     this.hbox3.BorderWidth = ((uint)(10));
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.botaoCE = new global::Gtk.Button ();
     this.botaoCE.WidthRequest = 50;
     this.botaoCE.HeightRequest = 40;
     this.botaoCE.CanFocus = true;
     this.botaoCE.Name = "botaoCE";
     this.botaoCE.UseUnderline = true;
     this.botaoCE.Label = global::Mono.Unix.Catalog.GetString ("CE");
     this.vbox2.Add (this.botaoCE);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botaoCE]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.botaoQuadrado = new global::Gtk.Button ();
     this.botaoQuadrado.WidthRequest = 50;
     this.botaoQuadrado.HeightRequest = 40;
     this.botaoQuadrado.CanFocus = true;
     this.botaoQuadrado.Name = "botaoQuadrado";
     this.botaoQuadrado.UseUnderline = true;
     this.botaoQuadrado.Label = global::Mono.Unix.Catalog.GetString ("x²");
     this.vbox2.Add (this.botaoQuadrado);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botaoQuadrado]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.botaoMeMais = new global::Gtk.Button ();
     this.botaoMeMais.WidthRequest = 50;
     this.botaoMeMais.HeightRequest = 40;
     this.botaoMeMais.CanFocus = true;
     this.botaoMeMais.Name = "botaoMeMais";
     this.botaoMeMais.UseUnderline = true;
     this.botaoMeMais.Label = global::Mono.Unix.Catalog.GetString ("M+");
     this.vbox2.Add (this.botaoMeMais);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botaoMeMais]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.botao7 = new global::Gtk.Button ();
     this.botao7.WidthRequest = 50;
     this.botao7.HeightRequest = 40;
     this.botao7.CanFocus = true;
     this.botao7.Name = "botao7";
     this.botao7.UseUnderline = true;
     this.botao7.Label = global::Mono.Unix.Catalog.GetString ("7");
     this.vbox2.Add (this.botao7);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botao7]));
     w11.Position = 3;
     w11.Expand = false;
     w11.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.botao4 = new global::Gtk.Button ();
     this.botao4.WidthRequest = 50;
     this.botao4.HeightRequest = 40;
     this.botao4.CanFocus = true;
     this.botao4.Name = "botao4";
     this.botao4.UseUnderline = true;
     this.botao4.Label = global::Mono.Unix.Catalog.GetString ("4");
     this.vbox2.Add (this.botao4);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botao4]));
     w12.Position = 4;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.botao1 = new global::Gtk.Button ();
     this.botao1.WidthRequest = 50;
     this.botao1.HeightRequest = 40;
     this.botao1.CanFocus = true;
     this.botao1.Name = "botao1";
     this.botao1.UseUnderline = true;
     this.botao1.Label = global::Mono.Unix.Catalog.GetString ("1");
     this.vbox2.Add (this.botao1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botao1]));
     w13.Position = 5;
     w13.Expand = false;
     w13.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.botao = new global::Gtk.Button ();
     this.botao.WidthRequest = 50;
     this.botao.HeightRequest = 40;
     this.botao.CanFocus = true;
     this.botao.Name = "botao";
     this.botao.UseUnderline = true;
     this.botao.Label = global::Mono.Unix.Catalog.GetString ("0");
     this.vbox2.Add (this.botao);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botao]));
     w14.Position = 6;
     w14.Expand = false;
     w14.Fill = false;
     this.hbox3.Add (this.vbox2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2]));
     w15.Position = 0;
     w15.Expand = false;
     w15.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.botaoC = new global::Gtk.Button ();
     this.botaoC.WidthRequest = 50;
     this.botaoC.HeightRequest = 40;
     this.botaoC.CanFocus = true;
     this.botaoC.Name = "botaoC";
     this.botaoC.UseUnderline = true;
     this.botaoC.Label = global::Mono.Unix.Catalog.GetString ("C");
     this.vbox3.Add (this.botaoC);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botaoC]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.botaoExp = new global::Gtk.Button ();
     this.botaoExp.WidthRequest = 50;
     this.botaoExp.HeightRequest = 40;
     this.botaoExp.CanFocus = true;
     this.botaoExp.Name = "botaoExp";
     this.botaoExp.UseUnderline = true;
     this.botaoExp.Label = global::Mono.Unix.Catalog.GetString ("x^y");
     this.vbox3.Add (this.botaoExp);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botaoExp]));
     w17.Position = 1;
     w17.Expand = false;
     w17.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.botaoMeMenos = new global::Gtk.Button ();
     this.botaoMeMenos.WidthRequest = 50;
     this.botaoMeMenos.HeightRequest = 40;
     this.botaoMeMenos.CanFocus = true;
     this.botaoMeMenos.Name = "botaoMeMenos";
     this.botaoMeMenos.UseUnderline = true;
     this.botaoMeMenos.Label = global::Mono.Unix.Catalog.GetString ("M-");
     this.vbox3.Add (this.botaoMeMenos);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botaoMeMenos]));
     w18.Position = 2;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.botao8 = new global::Gtk.Button ();
     this.botao8.WidthRequest = 50;
     this.botao8.HeightRequest = 40;
     this.botao8.CanFocus = true;
     this.botao8.Name = "botao8";
     this.botao8.UseUnderline = true;
     this.botao8.Label = global::Mono.Unix.Catalog.GetString ("8");
     this.vbox3.Add (this.botao8);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botao8]));
     w19.Position = 3;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.botao5 = new global::Gtk.Button ();
     this.botao5.WidthRequest = 50;
     this.botao5.HeightRequest = 40;
     this.botao5.CanFocus = true;
     this.botao5.Name = "botao5";
     this.botao5.UseUnderline = true;
     this.botao5.Label = global::Mono.Unix.Catalog.GetString ("5");
     this.vbox3.Add (this.botao5);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botao5]));
     w20.Position = 4;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.botao2 = new global::Gtk.Button ();
     this.botao2.WidthRequest = 50;
     this.botao2.HeightRequest = 40;
     this.botao2.CanFocus = true;
     this.botao2.Name = "botao2";
     this.botao2.UseUnderline = true;
     this.botao2.Label = global::Mono.Unix.Catalog.GetString ("2");
     this.vbox3.Add (this.botao2);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botao2]));
     w21.Position = 5;
     w21.Expand = false;
     w21.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.botaoVirgula = new global::Gtk.Button ();
     this.botaoVirgula.WidthRequest = 50;
     this.botaoVirgula.HeightRequest = 40;
     this.botaoVirgula.CanFocus = true;
     this.botaoVirgula.Name = "botaoVirgula";
     this.botaoVirgula.UseUnderline = true;
     this.botaoVirgula.Label = global::Mono.Unix.Catalog.GetString (",");
     this.vbox3.Add (this.botaoVirgula);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botaoVirgula]));
     w22.Position = 6;
     w22.Expand = false;
     w22.Fill = false;
     this.hbox3.Add (this.vbox3);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3]));
     w23.Position = 1;
     w23.Expand = false;
     w23.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.botaoSqrt = new global::Gtk.Button ();
     this.botaoSqrt.WidthRequest = 50;
     this.botaoSqrt.HeightRequest = 40;
     this.botaoSqrt.CanFocus = true;
     this.botaoSqrt.Name = "botaoSqrt";
     this.botaoSqrt.UseUnderline = true;
     this.botaoSqrt.Label = global::Mono.Unix.Catalog.GetString ("√x");
     this.vbox4.Add (this.botaoSqrt);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botaoSqrt]));
     w24.Position = 0;
     w24.Expand = false;
     w24.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.botaoRad = new global::Gtk.Button ();
     this.botaoRad.WidthRequest = 50;
     this.botaoRad.HeightRequest = 40;
     this.botaoRad.CanFocus = true;
     this.botaoRad.Name = "botaoRad";
     this.botaoRad.UseUnderline = true;
     this.botaoRad.Label = global::Mono.Unix.Catalog.GetString ("x√y");
     this.vbox4.Add (this.botaoRad);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botaoRad]));
     w25.Position = 1;
     w25.Expand = false;
     w25.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.botaoMCR = new global::Gtk.Button ();
     this.botaoMCR.WidthRequest = 50;
     this.botaoMCR.HeightRequest = 40;
     this.botaoMCR.CanFocus = true;
     this.botaoMCR.Name = "botaoMCR";
     this.botaoMCR.UseUnderline = true;
     this.botaoMCR.Label = global::Mono.Unix.Catalog.GetString ("MCR");
     this.vbox4.Add (this.botaoMCR);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botaoMCR]));
     w26.Position = 2;
     w26.Expand = false;
     w26.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.botao9 = new global::Gtk.Button ();
     this.botao9.WidthRequest = 50;
     this.botao9.HeightRequest = 40;
     this.botao9.CanFocus = true;
     this.botao9.Name = "botao9";
     this.botao9.UseUnderline = true;
     this.botao9.Label = global::Mono.Unix.Catalog.GetString ("9");
     this.vbox4.Add (this.botao9);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botao9]));
     w27.Position = 3;
     w27.Expand = false;
     w27.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.botao6 = new global::Gtk.Button ();
     this.botao6.WidthRequest = 50;
     this.botao6.HeightRequest = 40;
     this.botao6.CanFocus = true;
     this.botao6.Name = "botao6";
     this.botao6.UseUnderline = true;
     this.botao6.Label = global::Mono.Unix.Catalog.GetString ("6");
     this.vbox4.Add (this.botao6);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botao6]));
     w28.Position = 4;
     w28.Expand = false;
     w28.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.botao3 = new global::Gtk.Button ();
     this.botao3.WidthRequest = 50;
     this.botao3.HeightRequest = 40;
     this.botao3.CanFocus = true;
     this.botao3.Name = "botao3";
     this.botao3.UseUnderline = true;
     this.botao3.Label = global::Mono.Unix.Catalog.GetString ("3");
     this.vbox4.Add (this.botao3);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botao3]));
     w29.Position = 5;
     w29.Expand = false;
     w29.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.botaoIgual = new global::Gtk.Button ();
     this.botaoIgual.WidthRequest = 50;
     this.botaoIgual.HeightRequest = 40;
     this.botaoIgual.CanFocus = true;
     this.botaoIgual.Name = "botaoIgual";
     this.botaoIgual.UseUnderline = true;
     this.botaoIgual.Label = global::Mono.Unix.Catalog.GetString ("=");
     this.vbox4.Add (this.botaoIgual);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botaoIgual]));
     w30.Position = 6;
     w30.Expand = false;
     w30.Fill = false;
     this.hbox3.Add (this.vbox4);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4]));
     w31.Position = 2;
     w31.Expand = false;
     w31.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.botaoMaisOuMenos = new global::Gtk.Button ();
     this.botaoMaisOuMenos.WidthRequest = 50;
     this.botaoMaisOuMenos.HeightRequest = 40;
     this.botaoMaisOuMenos.CanFocus = true;
     this.botaoMaisOuMenos.Name = "botaoMaisOuMenos";
     this.botaoMaisOuMenos.UseUnderline = true;
     this.botaoMaisOuMenos.Label = global::Mono.Unix.Catalog.GetString ("±");
     this.vbox5.Add (this.botaoMaisOuMenos);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoMaisOuMenos]));
     w32.Position = 0;
     w32.Expand = false;
     w32.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.botaoPorCento = new global::Gtk.Button ();
     this.botaoPorCento.WidthRequest = 50;
     this.botaoPorCento.HeightRequest = 40;
     this.botaoPorCento.CanFocus = true;
     this.botaoPorCento.Name = "botaoPorCento";
     this.botaoPorCento.UseUnderline = true;
     this.botaoPorCento.Label = global::Mono.Unix.Catalog.GetString ("%");
     this.vbox5.Add (this.botaoPorCento);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoPorCento]));
     w33.Position = 1;
     w33.Expand = false;
     w33.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.botaoDividir = new global::Gtk.Button ();
     this.botaoDividir.WidthRequest = 50;
     this.botaoDividir.HeightRequest = 40;
     this.botaoDividir.CanFocus = true;
     this.botaoDividir.Name = "botaoDividir";
     this.botaoDividir.UseUnderline = true;
     this.botaoDividir.Label = global::Mono.Unix.Catalog.GetString ("÷");
     this.vbox5.Add (this.botaoDividir);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoDividir]));
     w34.Position = 2;
     w34.Expand = false;
     w34.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.botaoVezes = new global::Gtk.Button ();
     this.botaoVezes.WidthRequest = 50;
     this.botaoVezes.HeightRequest = 40;
     this.botaoVezes.CanFocus = true;
     this.botaoVezes.Name = "botaoVezes";
     this.botaoVezes.UseUnderline = true;
     this.botaoVezes.Label = global::Mono.Unix.Catalog.GetString ("×");
     this.vbox5.Add (this.botaoVezes);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoVezes]));
     w35.Position = 3;
     w35.Expand = false;
     w35.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.botaoMenos = new global::Gtk.Button ();
     this.botaoMenos.WidthRequest = 50;
     this.botaoMenos.HeightRequest = 40;
     this.botaoMenos.CanFocus = true;
     this.botaoMenos.Name = "botaoMenos";
     this.botaoMenos.UseUnderline = true;
     this.botaoMenos.Label = global::Mono.Unix.Catalog.GetString ("-");
     this.vbox5.Add (this.botaoMenos);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoMenos]));
     w36.Position = 4;
     w36.Expand = false;
     w36.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.botaoMais = new global::Gtk.Button ();
     this.botaoMais.WidthRequest = 50;
     this.botaoMais.HeightRequest = 86;
     this.botaoMais.CanFocus = true;
     this.botaoMais.Name = "botaoMais";
     this.botaoMais.UseUnderline = true;
     this.botaoMais.Label = global::Mono.Unix.Catalog.GetString ("+");
     this.vbox5.Add (this.botaoMais);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoMais]));
     w37.Position = 5;
     w37.Expand = false;
     w37.Fill = false;
     this.hbox3.Add (this.vbox5);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox5]));
     w38.Position = 3;
     w38.Expand = false;
     w38.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.boxAvancadas = new global::Gtk.VBox ();
     this.boxAvancadas.Name = "boxAvancadas";
     this.boxAvancadas.Spacing = 6;
     // Container child boxAvancadas.Gtk.Box+BoxChild
     this.botaoFatorial = new global::Gtk.Button ();
     this.botaoFatorial.WidthRequest = 50;
     this.botaoFatorial.HeightRequest = 40;
     this.botaoFatorial.CanFocus = true;
     this.botaoFatorial.Name = "botaoFatorial";
     this.botaoFatorial.UseUnderline = true;
     this.botaoFatorial.Label = global::Mono.Unix.Catalog.GetString ("n!");
     this.boxAvancadas.Add (this.botaoFatorial);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoFatorial]));
     w39.Position = 0;
     w39.Expand = false;
     w39.Fill = false;
     // Container child boxAvancadas.Gtk.Box+BoxChild
     this.botaoLog = new global::Gtk.Button ();
     this.botaoLog.WidthRequest = 50;
     this.botaoLog.HeightRequest = 40;
     this.botaoLog.CanFocus = true;
     this.botaoLog.Name = "botaoLog";
     this.botaoLog.UseUnderline = true;
     this.botaoLog.Label = global::Mono.Unix.Catalog.GetString ("log");
     this.boxAvancadas.Add (this.botaoLog);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoLog]));
     w40.Position = 1;
     w40.Expand = false;
     w40.Fill = false;
     // Container child boxAvancadas.Gtk.Box+BoxChild
     this.botaoLn = new global::Gtk.Button ();
     this.botaoLn.WidthRequest = 50;
     this.botaoLn.HeightRequest = 40;
     this.botaoLn.CanFocus = true;
     this.botaoLn.Name = "botaoLn";
     this.botaoLn.UseUnderline = true;
     this.botaoLn.Label = global::Mono.Unix.Catalog.GetString ("ln");
     this.boxAvancadas.Add (this.botaoLn);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoLn]));
     w41.Position = 2;
     w41.Expand = false;
     w41.Fill = false;
     // Container child boxAvancadas.Gtk.Box+BoxChild
     this.botaoSeno = new global::Gtk.Button ();
     this.botaoSeno.WidthRequest = 50;
     this.botaoSeno.HeightRequest = 40;
     this.botaoSeno.CanFocus = true;
     this.botaoSeno.Name = "botaoSeno";
     this.botaoSeno.UseUnderline = true;
     this.botaoSeno.Label = global::Mono.Unix.Catalog.GetString ("sin");
     this.boxAvancadas.Add (this.botaoSeno);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoSeno]));
     w42.Position = 3;
     w42.Expand = false;
     w42.Fill = false;
     // Container child boxAvancadas.Gtk.Box+BoxChild
     this.botaoCosseno = new global::Gtk.Button ();
     this.botaoCosseno.WidthRequest = 50;
     this.botaoCosseno.HeightRequest = 40;
     this.botaoCosseno.CanFocus = true;
     this.botaoCosseno.Name = "botaoCosseno";
     this.botaoCosseno.UseUnderline = true;
     this.botaoCosseno.Label = global::Mono.Unix.Catalog.GetString ("cos");
     this.boxAvancadas.Add (this.botaoCosseno);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoCosseno]));
     w43.Position = 4;
     w43.Expand = false;
     w43.Fill = false;
     // Container child boxAvancadas.Gtk.Box+BoxChild
     this.botaoTangente = new global::Gtk.Button ();
     this.botaoTangente.WidthRequest = 50;
     this.botaoTangente.HeightRequest = 40;
     this.botaoTangente.CanFocus = true;
     this.botaoTangente.Name = "botaoTangente";
     this.botaoTangente.UseUnderline = true;
     this.botaoTangente.Label = global::Mono.Unix.Catalog.GetString ("tan");
     this.boxAvancadas.Add (this.botaoTangente);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoTangente]));
     w44.Position = 5;
     w44.Expand = false;
     w44.Fill = false;
     // Container child boxAvancadas.Gtk.Box+BoxChild
     this.botaoPi = new global::Gtk.Button ();
     this.botaoPi.WidthRequest = 50;
     this.botaoPi.HeightRequest = 40;
     this.botaoPi.CanFocus = true;
     this.botaoPi.Name = "botaoPi";
     this.botaoPi.UseUnderline = true;
     this.botaoPi.Label = global::Mono.Unix.Catalog.GetString ("pi");
     this.boxAvancadas.Add (this.botaoPi);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoPi]));
     w45.Position = 6;
     w45.Expand = false;
     w45.Fill = false;
     this.hbox3.Add (this.boxAvancadas);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.boxAvancadas]));
     w46.Position = 4;
     w46.Expand = false;
     w46.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.boxStat = new global::Gtk.VBox ();
     this.boxStat.Name = "boxStat";
     this.boxStat.Spacing = 6;
     // Container child boxStat.Gtk.Box+BoxChild
     this.botaoDT = new global::Gtk.Button ();
     this.botaoDT.WidthRequest = 50;
     this.botaoDT.HeightRequest = 40;
     this.botaoDT.CanFocus = true;
     this.botaoDT.Name = "botaoDT";
     this.botaoDT.UseUnderline = true;
     this.botaoDT.Label = global::Mono.Unix.Catalog.GetString ("DT");
     this.boxStat.Add (this.botaoDT);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoDT]));
     w47.Position = 0;
     w47.Expand = false;
     w47.Fill = false;
     // Container child boxStat.Gtk.Box+BoxChild
     this.botaoMedia = new global::Gtk.Button ();
     this.botaoMedia.WidthRequest = 50;
     this.botaoMedia.HeightRequest = 40;
     this.botaoMedia.CanFocus = true;
     this.botaoMedia.Name = "botaoMedia";
     this.botaoMedia.UseUnderline = true;
     this.botaoMedia.Label = global::Mono.Unix.Catalog.GetString ("Md");
     this.boxStat.Add (this.botaoMedia);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoMedia]));
     w48.Position = 1;
     w48.Expand = false;
     w48.Fill = false;
     // Container child boxStat.Gtk.Box+BoxChild
     this.botaoMediana = new global::Gtk.Button ();
     this.botaoMediana.WidthRequest = 50;
     this.botaoMediana.HeightRequest = 40;
     this.botaoMediana.CanFocus = true;
     this.botaoMediana.Name = "botaoMediana";
     this.botaoMediana.UseUnderline = true;
     this.botaoMediana.Label = global::Mono.Unix.Catalog.GetString ("Me");
     this.boxStat.Add (this.botaoMediana);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoMediana]));
     w49.Position = 2;
     w49.Expand = false;
     w49.Fill = false;
     // Container child boxStat.Gtk.Box+BoxChild
     this.botaoModa = new global::Gtk.Button ();
     this.botaoModa.WidthRequest = 50;
     this.botaoModa.HeightRequest = 40;
     this.botaoModa.CanFocus = true;
     this.botaoModa.Name = "botaoModa";
     this.botaoModa.UseUnderline = true;
     this.botaoModa.Label = global::Mono.Unix.Catalog.GetString ("Mo");
     this.boxStat.Add (this.botaoModa);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoModa]));
     w50.Position = 3;
     w50.Expand = false;
     w50.Fill = false;
     // Container child boxStat.Gtk.Box+BoxChild
     this.botaoVariancia = new global::Gtk.Button ();
     this.botaoVariancia.WidthRequest = 50;
     this.botaoVariancia.HeightRequest = 40;
     this.botaoVariancia.CanFocus = true;
     this.botaoVariancia.Name = "botaoVariancia";
     this.botaoVariancia.UseUnderline = true;
     this.botaoVariancia.Label = global::Mono.Unix.Catalog.GetString ("σ²");
     this.boxStat.Add (this.botaoVariancia);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoVariancia]));
     w51.Position = 4;
     w51.Expand = false;
     w51.Fill = false;
     // Container child boxStat.Gtk.Box+BoxChild
     this.botaoDesvPad = new global::Gtk.Button ();
     this.botaoDesvPad.WidthRequest = 50;
     this.botaoDesvPad.HeightRequest = 40;
     this.botaoDesvPad.CanFocus = true;
     this.botaoDesvPad.Name = "botaoDesvPad";
     this.botaoDesvPad.UseUnderline = true;
     this.botaoDesvPad.Label = global::Mono.Unix.Catalog.GetString ("σ");
     this.boxStat.Add (this.botaoDesvPad);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoDesvPad]));
     w52.Position = 5;
     w52.Expand = false;
     w52.Fill = false;
     // Container child boxStat.Gtk.Box+BoxChild
     this.botaonOuSomatorio = new global::Gtk.Button ();
     this.botaonOuSomatorio.WidthRequest = 50;
     this.botaonOuSomatorio.HeightRequest = 40;
     this.botaonOuSomatorio.CanFocus = true;
     this.botaonOuSomatorio.Name = "botaonOuSomatorio";
     this.botaonOuSomatorio.UseUnderline = true;
     this.botaonOuSomatorio.Label = global::Mono.Unix.Catalog.GetString ("n");
     this.boxStat.Add (this.botaonOuSomatorio);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaonOuSomatorio]));
     w53.Position = 6;
     w53.Expand = false;
     w53.Fill = false;
     this.hbox3.Add (this.boxStat);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.boxStat]));
     w54.Position = 5;
     w54.Expand = false;
     w54.Fill = false;
     this.vbox1.Add (this.hbox3);
     global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w55.Position = 2;
     w55.Expand = false;
     w55.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.barraStatus = new global::Gtk.Statusbar ();
     this.barraStatus.Events = ((global::Gdk.EventMask)(16));
     this.barraStatus.Name = "barraStatus";
     this.barraStatus.Spacing = 6;
     this.barraStatus.HasResizeGrip = false;
     this.vbox1.Add (this.barraStatus);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.barraStatus]));
     w56.Position = 3;
     w56.Expand = false;
     w56.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 431;
     this.DefaultHeight = 490;
     this.labelLetra.Hide ();
     this.boxAvancadas.Hide ();
     this.boxStat.Hide ();
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.aboutAction.Activated += new global::System.EventHandler (this.MostraSobre);
     this.quitAction.Activated += new global::System.EventHandler (this.Sair);
     this.MostrarFunesEstatsticasAction.Toggled += new global::System.EventHandler (this.AtivarStat);
     this.MostrarFunesAvanadasAction.Toggled += new global::System.EventHandler (this.AtivarAvancadas);
     this.deleteAction.Activated += new global::System.EventHandler (this.ChamaPerguntaLimparStat);
     this.deleteAction1.Activated += new global::System.EventHandler (this.MCR);
     this.VisualizarStat.Activated += new global::System.EventHandler (this.MostraLista);
     this.VisualizarComumAction.Activated += new global::System.EventHandler (this.verMemoriaComum);
     this.verValores.Activated += new global::System.EventHandler (this.ExibirContas);
     this.botaoCE.Clicked += new global::System.EventHandler (this.LimpaCalc);
     this.botaoCE.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoCE.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoQuadrado.Clicked += new global::System.EventHandler (this.Quadrado);
     this.botaoQuadrado.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoQuadrado.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoMeMais.Clicked += new global::System.EventHandler (this.MemoriaMais);
     this.botaoMeMais.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoMeMais.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao7.Clicked += new global::System.EventHandler (this.Tecla7);
     this.botao7.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao7.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao4.Clicked += new global::System.EventHandler (this.Tecla4);
     this.botao4.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao4.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao1.Clicked += new global::System.EventHandler (this.Tecla1);
     this.botao1.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao1.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao.Clicked += new global::System.EventHandler (this.Tecla0);
     this.botao.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoC.Clicked += new global::System.EventHandler (this.C);
     this.botaoC.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoC.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoExp.Clicked += new global::System.EventHandler (this.Exponenciacao);
     this.botaoExp.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoExp.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoMeMenos.Clicked += new global::System.EventHandler (this.MemoriaMenos);
     this.botaoMeMenos.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoMeMenos.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao8.Clicked += new global::System.EventHandler (this.Tecla8);
     this.botao8.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao8.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao5.Clicked += new global::System.EventHandler (this.Tecla5);
     this.botao5.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao5.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao2.Clicked += new global::System.EventHandler (this.Tecla2);
     this.botao2.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao2.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoVirgula.Clicked += new global::System.EventHandler (this.TeclaPonto);
     this.botaoVirgula.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoVirgula.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoSqrt.Clicked += new global::System.EventHandler (this.RaizQuadrada);
     this.botaoSqrt.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoSqrt.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoRad.Clicked += new global::System.EventHandler (this.Radiciacao);
     this.botaoRad.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoRad.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoMCR.Clicked += new global::System.EventHandler (this.MCR);
     this.botaoMCR.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoMCR.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao9.Clicked += new global::System.EventHandler (this.Tecla9);
     this.botao9.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao9.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao6.Clicked += new global::System.EventHandler (this.Tecla6);
     this.botao6.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao6.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botao3.Clicked += new global::System.EventHandler (this.Tecla3);
     this.botao3.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botao3.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoIgual.Clicked += new global::System.EventHandler (this.MostraResultado);
     this.botaoIgual.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoIgual.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoMaisOuMenos.Clicked += new global::System.EventHandler (this.MaisOuMenos);
     this.botaoMaisOuMenos.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoMaisOuMenos.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoPorCento.Clicked += new global::System.EventHandler (this.Porcentagem);
     this.botaoPorCento.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoPorCento.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoDividir.Clicked += new global::System.EventHandler (this.Divisao);
     this.botaoDividir.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoDividir.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoVezes.Clicked += new global::System.EventHandler (this.Multiplicacao);
     this.botaoVezes.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoVezes.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoMenos.Clicked += new global::System.EventHandler (this.Subtracao);
     this.botaoMenos.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoMenos.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoMais.Clicked += new global::System.EventHandler (this.Soma);
     this.botaoMais.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoMais.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoFatorial.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoFatorial.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoFatorial.Clicked += new global::System.EventHandler (this.Fatorial);
     this.botaoLog.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoLog.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoLog.Clicked += new global::System.EventHandler (this.Log10);
     this.botaoLn.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoLn.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoLn.Clicked += new global::System.EventHandler (this.Ln);
     this.botaoSeno.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoSeno.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoSeno.Clicked += new global::System.EventHandler (this.Seno);
     this.botaoCosseno.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoCosseno.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoCosseno.Clicked += new global::System.EventHandler (this.Cosseno);
     this.botaoTangente.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoTangente.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoTangente.Clicked += new global::System.EventHandler (this.Tangente);
     this.botaoPi.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoPi.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoPi.Clicked += new global::System.EventHandler (this.MostraPi);
     this.botaoDT.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoDT.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoDT.Clicked += new global::System.EventHandler (this.GuardaDados);
     this.botaoMedia.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoMedia.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoMedia.Clicked += new global::System.EventHandler (this.Media);
     this.botaoMediana.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoMediana.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoMediana.Clicked += new global::System.EventHandler (this.Mediana);
     this.botaoModa.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoModa.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoModa.Clicked += new global::System.EventHandler (this.Modo);
     this.botaoVariancia.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoVariancia.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoVariancia.Clicked += new global::System.EventHandler (this.Varp);
     this.botaoDesvPad.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaoDesvPad.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaoDesvPad.Clicked += new global::System.EventHandler (this.Desvpad);
     this.botaonOuSomatorio.Entered += new global::System.EventHandler (this.PonteiroPassou);
     this.botaonOuSomatorio.Left += new global::System.EventHandler (this.PonteiroSaiu);
     this.botaonOuSomatorio.Clicked += new global::System.EventHandler (this.nOuSomatorio);
 }
コード例 #35
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget DBusExplorer.MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File");
     w1.Add (this.FileAction, null);
     this.SelectBus = new global::Gtk.Action ("SelectBus", global::Mono.Unix.Catalog.GetString ("_Select Bus"), null, null);
     this.SelectBus.ShortLabel = global::Mono.Unix.Catalog.GetString ("Select Bus");
     w1.Add (this.SelectBus, "<Control><Mod2>s");
     this.SessionBus = new global::Gtk.RadioAction ("SessionBus", global::Mono.Unix.Catalog.GetString ("S_ession Bus"), null, null, 0);
     this.SessionBus.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.SessionBus.ShortLabel = global::Mono.Unix.Catalog.GetString ("Session Bus");
     w1.Add (this.SessionBus, null);
     this.SystemBus = new global::Gtk.RadioAction ("SystemBus", global::Mono.Unix.Catalog.GetString ("S_ystem Bus"), null, null, 0);
     this.SystemBus.Group = this.SessionBus.Group;
     this.SystemBus.ShortLabel = global::Mono.Unix.Catalog.GetString ("System Bus");
     w1.Add (this.SystemBus, null);
     this.quit = new global::Gtk.Action ("quit", global::Mono.Unix.Catalog.GetString ("_Quitter"), null, "gtk-quit");
     this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quitter");
     w1.Add (this.quit, null);
     this.quit1 = new global::Gtk.Action ("quit1", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit");
     this.quit1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.quit1, null);
     this.Help = new global::Gtk.Action ("Help", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
     this.Help.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.Help, null);
     this.about = new global::Gtk.Action ("about", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about");
     this.about.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About");
     w1.Add (this.about, null);
     this.View = new global::Gtk.Action ("View", global::Mono.Unix.Catalog.GetString ("_View"), null, null);
     this.View.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View");
     w1.Add (this.View, null);
     this.CustomBus = new global::Gtk.Action ("CustomBus", global::Mono.Unix.Catalog.GetString ("C_ustom Bus..."), null, null);
     this.CustomBus.ShortLabel = global::Mono.Unix.Catalog.GetString ("C_ustom Bus...");
     w1.Add (this.CustomBus, null);
     this.Tools = new global::Gtk.Action ("Tools", global::Mono.Unix.Catalog.GetString ("_Tools"), null, null);
     this.Tools.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Tools");
     w1.Add (this.Tools, null);
     this.Languages = new global::Gtk.Action ("Languages", global::Mono.Unix.Catalog.GetString ("Languages"), null, null);
     this.Languages.ShortLabel = global::Mono.Unix.Catalog.GetString ("Languages");
     w1.Add (this.Languages, null);
     this.C = new global::Gtk.ToggleAction ("C", global::Mono.Unix.Catalog.GetString ("C#"), null, null);
     this.C.ShortLabel = global::Mono.Unix.Catalog.GetString ("C#");
     w1.Add (this.C, null);
     this.NewTabAction = new global::Gtk.Action ("NewTabAction", global::Mono.Unix.Catalog.GetString ("New _tab"), null, null);
     this.NewTabAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New _tab");
     w1.Add (this.NewTabAction, "<Control><Mod2>t");
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "DBusExplorer.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("D-Bus Explorer");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("DBusExplorer.data.dbus-explorer.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.AllowShrink = true;
     this.DefaultHeight = 600;
     // Container child DBusExplorer.MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewTabAction' action='NewTabAction'/><menu name='SelectBus' action='SelectBus'><menuitem name='SessionBus' action='SessionBus'/><menuitem name='SystemBus' action='SystemBus'/><menuitem name='CustomBus' action='CustomBus'/></menu><menuitem name='quit1' action='quit1'/></menu><menu name='Help' action='Help'><menuitem name='about' action='about'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     this.hbox1.BorderWidth = ((uint)(5));
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Bus name : ");
     this.hbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     w3.Padding = ((uint)(6));
     // Container child hbox1.Gtk.Box+BoxChild
     this.busCbCont = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
     this.busCbCont.Name = "busCbCont";
     // Container child busCbCont.Gtk.Container+ContainerChild
     this.busCb = global::Gtk.ComboBox.NewText ();
     this.busCb.Name = "busCb";
     this.busCbCont.Add (this.busCb);
     this.hbox1.Add (this.busCbCont);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.busCbCont]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.alignment4 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
     this.alignment4.Name = "alignment4";
     this.alignment4.LeftPadding = ((uint)(62));
     this.alignment4.RightPadding = ((uint)(208));
     // Container child alignment4.Gtk.Container+ContainerChild
     this.spinnerBox = new global::Gtk.HBox ();
     this.spinnerBox.Name = "spinnerBox";
     this.spinnerBox.Spacing = 6;
     // Container child spinnerBox.Gtk.Box+BoxChild
     this.spinnerAlign = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
     this.spinnerAlign.Name = "spinnerAlign";
     this.spinnerBox.Add (this.spinnerAlign);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.spinnerAlign]));
     w6.Position = 0;
     // Container child spinnerBox.Gtk.Box+BoxChild
     this.alignment6 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
     this.alignment6.Name = "alignment6";
     // Container child alignment6.Gtk.Container+ContainerChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Parsing ...");
     this.alignment6.Add (this.label4);
     this.spinnerBox.Add (this.alignment6);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.alignment6]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     this.alignment4.Add (this.spinnerBox);
     this.hbox1.Add (this.alignment4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.alignment4]));
     w10.Position = 2;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     w11.Padding = ((uint)(1));
     // Container child vbox1.Gtk.Box+BoxChild
     this.buses_Nb = new global::Gtk.Notebook ();
     this.buses_Nb.CanFocus = true;
     this.buses_Nb.Name = "buses_Nb";
     this.buses_Nb.CurrentPage = 0;
     this.buses_Nb.BorderWidth = ((uint)(3));
     // Notebook tab
     global::Gtk.Label w12 = new global::Gtk.Label ();
     w12.Visible = true;
     this.buses_Nb.Add (w12);
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("(No Title)");
     this.buses_Nb.SetTabLabel (w12, this.label2);
     this.label2.ShowAll ();
     this.vbox1.Add (this.buses_Nb);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buses_Nb]));
     w13.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w14.Position = 3;
     w14.Expand = false;
     w14.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 798;
     this.Show ();
     this.SessionBus.Activated += new global::System.EventHandler (this.OnSessionBusActivated);
     this.SystemBus.Activated += new global::System.EventHandler (this.OnSystemBusActivated);
     this.quit.Activated += new global::System.EventHandler (this.OnDeleteEvent);
     this.quit1.Activated += new global::System.EventHandler (this.OnDeleteEvent);
     this.about.Activated += new global::System.EventHandler (this.OnAboutActivated);
     this.CustomBus.Activated += new global::System.EventHandler (this.OnCustomBusActivated);
     this.NewTabAction.Activated += new global::System.EventHandler (this.OnNewTabActionActivated);
     this.buses_Nb.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnBusesNbSwitchPage);
 }
コード例 #36
0
ファイル: Mic.MainWindow.cs プロジェクト: superboum/mic
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Mic.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FichiersAction            = new global::Gtk.Action("FichiersAction", global::Mono.Unix.Catalog.GetString("Fichiers"), null, null);
     this.FichiersAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fichiers");
     w1.Add(this.FichiersAction, null);
     this.FichierAction            = new global::Gtk.Action("FichierAction", global::Mono.Unix.Catalog.GetString("Fichier"), null, null);
     this.FichierAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fichier");
     w1.Add(this.FichierAction, null);
     this.AideAction            = new global::Gtk.Action("AideAction", global::Mono.Unix.Catalog.GetString("Aide"), null, null);
     this.AideAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Aide");
     w1.Add(this.AideAction, null);
     this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
     w1.Add(this.addAction, null);
     this.editAction           = new global::Gtk.Action("editAction", null, null, "gtk-edit");
     this.editAction.Sensitive = false;
     w1.Add(this.editAction, null);
     this.helpAction = new global::Gtk.ToggleAction("helpAction", null, null, "gtk-help");
     w1.Add(this.helpAction, null);
     this.newAction       = new global::Gtk.RadioAction("newAction", null, null, "gtk-new", 0);
     this.newAction.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     w1.Add(this.newAction, null);
     this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open");
     w1.Add(this.openAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Mic.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Mic");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-record", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Mic.MainWindow.Gtk.Container+ContainerChild
     this.vboxMain             = new global::Gtk.VBox();
     this.vboxMain.Name        = "vboxMain";
     this.vboxMain.Spacing     = 6;
     this.vboxMain.BorderWidth = ((uint)(20));
     // Container child vboxMain.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("En attente de la connexion d\'un microphone...");
     this.vboxMain.Add(this.label2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.label2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewImported          = new global::Gtk.TreeView();
     this.treeviewImported.CanFocus = true;
     this.treeviewImported.Name     = "treeviewImported";
     this.GtkScrolledWindow.Add(this.treeviewImported);
     this.vboxMain.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.GtkScrolledWindow]));
     w4.Position = 1;
     this.Add(this.vboxMain);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 632;
     this.DefaultHeight = 321;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
コード例 #37
0
ファイル: frz.MainWindow.cs プロジェクト: Sylvia-We/cew
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget frz.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.AnsichtAction            = new global::Gtk.Action("AnsichtAction", "Ansicht", null, null);
     this.AnsichtAction.ShortLabel = "Ansicht";
     w1.Add(this.AnsichtAction, null);
     this.DateiAction            = new global::Gtk.Action("DateiAction", "Datei", null, null);
     this.DateiAction.ShortLabel = "Datei";
     w1.Add(this.DateiAction, null);
     this.HilfeAction            = new global::Gtk.Action("HilfeAction", "Hilfe", null, null);
     this.HilfeAction.ShortLabel = "Hilfe";
     w1.Add(this.HilfeAction, null);
     this.WortlisteFfnenAction            = new global::Gtk.Action("WortlisteFfnenAction", "Wortliste öffnen", null, null);
     this.WortlisteFfnenAction.ShortLabel = "Wortliste öffnen";
     w1.Add(this.WortlisteFfnenAction, null);
     this.ErgebnisInDateiSpeichernAction            = new global::Gtk.Action("ErgebnisInDateiSpeichernAction", "Ergebnis in Datei speichern", null, null);
     this.ErgebnisInDateiSpeichernAction.ShortLabel = "Ergebnis in Datei speichern";
     w1.Add(this.ErgebnisInDateiSpeichernAction, null);
     this.SchlieenAction            = new global::Gtk.Action("SchlieenAction", "Schließen", null, null);
     this.SchlieenAction.ShortLabel = "Schließen";
     w1.Add(this.SchlieenAction, null);
     this.NormalansichtAction            = new global::Gtk.Action("NormalansichtAction", "Normalansicht", null, null);
     this.NormalansichtAction.ShortLabel = "Normalanischt";
     w1.Add(this.NormalansichtAction, null);
     this.DokumentationAction            = new global::Gtk.Action("DokumentationAction", "Dokumentation", null, null);
     this.DokumentationAction.ShortLabel = "Dokumentation";
     w1.Add(this.DokumentationAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", "About", null, null);
     this.AboutAction.ShortLabel = "About";
     w1.Add(this.AboutAction, null);
     this.ExtrasAction            = new global::Gtk.Action("ExtrasAction", "Extras", null, null);
     this.ExtrasAction.ShortLabel = "Extras";
     w1.Add(this.ExtrasAction, null);
     this.openAction = new global::Gtk.Action("openAction", null, "Testliste öffnen", "gtk-open");
     w1.Add(this.openAction, null);
     this.saveAction = new global::Gtk.Action("saveAction", null, "Ausgabe speichern", "gtk-save");
     w1.Add(this.saveAction, null);
     this.LeerenAction            = new global::Gtk.Action("LeerenAction", "Leeren", null, null);
     this.LeerenAction.ShortLabel = "Leeren";
     w1.Add(this.LeerenAction, null);
     this.deleteAction            = new global::Gtk.Action("deleteAction", "_Löschen", "Ausgabefenster leeren", "gtk-delete");
     this.deleteAction.ShortLabel = "_Löschen";
     w1.Add(this.deleteAction, null);
     this.clearAction = new global::Gtk.Action("clearAction", null, null, "gtk-clear");
     w1.Add(this.clearAction, null);
     this.expandAction = new global::Gtk.ToggleAction("expandAction", null, "Alle Details anzeigen", "gtk-add");
     w1.Add(this.expandAction, null);
     this.BearbeitenAction            = new global::Gtk.Action("BearbeitenAction", "Bearbeiten", null, null);
     this.BearbeitenAction.ShortLabel = "Bearbeiten";
     w1.Add(this.BearbeitenAction, null);
     this.TextdateienNeuEinlesenAction            = new global::Gtk.Action("TextdateienNeuEinlesenAction", "Textdateien neu einlesen", null, null);
     this.TextdateienNeuEinlesenAction.ShortLabel = "Textdateien neu einlesen";
     w1.Add(this.TextdateienNeuEinlesenAction, null);
     this.diacriticsToggleAction        = new global::Gtk.ToggleAction("diacriticsToggleAction", null, "Eingabe mit/ohne Diakritika", "gtk-strikethrough");
     this.diacriticsToggleAction.Active = true;
     w1.Add(this.diacriticsToggleAction, null);
     this.ModusAction            = new global::Gtk.Action("ModusAction", "Modus", null, null);
     this.ModusAction.ShortLabel = "Modus";
     w1.Add(this.ModusAction, null);
     this.LautentwicklungAction            = new global::Gtk.RadioAction("LautentwicklungAction", "Lautentwicklung", null, null, 0);
     this.LautentwicklungAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.LautentwicklungAction.ShortLabel = "Lautentwicklungen";
     w1.Add(this.LautentwicklungAction, null);
     this.TranskriptionDerZielspracheAction            = new global::Gtk.RadioAction("TranskriptionDerZielspracheAction", "Transkription der Zielsprache", null, null, 0);
     this.TranskriptionDerZielspracheAction.Group      = this.LautentwicklungAction.Group;
     this.TranskriptionDerZielspracheAction.ShortLabel = "Transkription in der Zielsprache";
     w1.Add(this.TranskriptionDerZielspracheAction, null);
     this.WortformerkennungDerQuellspracheAction            = new global::Gtk.RadioAction("WortformerkennungDerQuellspracheAction", "Wortformerkennung der Quellsprache", null, null, 0);
     this.WortformerkennungDerQuellspracheAction.Group      = this.LautentwicklungAction.Group;
     this.WortformerkennungDerQuellspracheAction.ShortLabel = "Wortformerkennung der Quellsprache";
     w1.Add(this.WortformerkennungDerQuellspracheAction, null);
     this.WortformerkennungDerZielspracheAction            = new global::Gtk.RadioAction("WortformerkennungDerZielspracheAction", "Wortformerkennung der Zielsprache", null, null, 0);
     this.WortformerkennungDerZielspracheAction.Group      = this.LautentwicklungAction.Group;
     this.WortformerkennungDerZielspracheAction.ShortLabel = "Wortformerkennung der Zielsprache";
     w1.Add(this.WortformerkennungDerZielspracheAction, null);
     this.Action       = new global::Gtk.RadioAction("Action", null, null, null, 0);
     this.Action.Group = this.WortformerkennungDerZielspracheAction.Group;
     w1.Add(this.Action, null);
     this.TranskriptionDerQuellspracheAction            = new global::Gtk.RadioAction("TranskriptionDerQuellspracheAction", "Transkription der Quellsprache", null, null, 0);
     this.TranskriptionDerQuellspracheAction.Group      = this.WortformerkennungDerZielspracheAction.Group;
     this.TranskriptionDerQuellspracheAction.ShortLabel = "Transkription der Quellsprache";
     w1.Add(this.TranskriptionDerQuellspracheAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "frz.MainWindow";
     this.Title          = "CEW";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child frz.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='DateiAction' action='DateiAction'><menuitem name='WortlisteFfnenAction' action='WortlisteFfnenAction'/><menuitem name='ErgebnisInDateiSpeichernAction' action='ErgebnisInDateiSpeichernAction'/><menuitem name='SchlieenAction' action='SchlieenAction'/></menu><menu name='BearbeitenAction' action='BearbeitenAction'><menuitem name='TextdateienNeuEinlesenAction' action='TextdateienNeuEinlesenAction'/></menu><menu name='AnsichtAction' action='AnsichtAction'><menuitem name='LeerenAction' action='LeerenAction'/></menu><menu name='HilfeAction' action='HilfeAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     w2.Padding  = ((uint)(5));
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 4;
     // Container child hbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='expandAction' action='expandAction'/><toolitem name='diacriticsToggleAction' action='diacriticsToggleAction'/></toolbar></ui>");
     this.toolbar1              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar1.IconSize     = ((global::Gtk.IconSize)(2));
     this.hbox2.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.toolbar1]));
     w3.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.modusLabel           = new global::Gtk.Label();
     this.modusLabel.Name      = "modusLabel";
     this.modusLabel.LabelProp = "Modus:";
     this.hbox2.Add(this.modusLabel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.modusLabel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.comboboxModus = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxModus.AppendText("Lautentwicklung");
     this.comboboxModus.AppendText("Transkription der Quellsprache");
     this.comboboxModus.AppendText("Transkription der Zielsprache");
     this.comboboxModus.AppendText("Wortformerkennung der Quellsprache");
     this.comboboxModus.AppendText("Wortformerkennung der Zielsprache");
     this.comboboxModus.TooltipMarkup = "Modus der Analyse";
     this.comboboxModus.WidthRequest  = 255;
     this.comboboxModus.Name          = "comboboxModus";
     this.comboboxModus.Active        = 0;
     this.hbox2.Add(this.comboboxModus);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboboxModus]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.entry1               = new global::Gtk.Entry();
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '●';
     this.hbox2.Add(this.entry1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entry1]));
     w6.Position = 3;
     w6.Expand   = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.Start = new global::Gtk.Button();
     this.Start.TooltipMarkup = "Analyse starten";
     this.Start.CanFocus      = true;
     this.Start.Name          = "Start";
     this.Start.UseUnderline  = true;
     this.Start.Label         = "Start";
     this.hbox2.Add(this.Start);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.Start]));
     w7.Position = 4;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     w8.Padding  = ((uint)(5));
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Homogeneous = true;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3             = new global::Gtk.HBox();
     this.hbox3.Name        = "hbox3";
     this.hbox3.Homogeneous = true;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
     w10.Position = 3;
     w10.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox4      = new global::Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.vbox1.Add(this.hbox4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4]));
     w11.Position = 4;
     w11.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox1.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1]));
     w12.Position = 5;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox();
     this.vbox2.WidthRequest = 250;
     this.vbox2.Name         = "vbox2";
     this.vbox2.Spacing      = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.calcResultOutputLine1_1 = new global::Gtk.Label();
     this.calcResultOutputLine1_1.WidthRequest = 0;
     this.calcResultOutputLine1_1.Name         = "calcResultOutputLine1_1";
     this.vbox2.Add(this.calcResultOutputLine1_1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.calcResultOutputLine1_1]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.calcResultOutputLine2      = new global::Gtk.Label();
     this.calcResultOutputLine2.Name = "calcResultOutputLine2";
     this.vbox2.Add(this.calcResultOutputLine2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.calcResultOutputLine2]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.hbox5.Add(this.vbox2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox2]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     w15.Padding  = ((uint)(10));
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox();
     this.vbox3.WidthRequest = 250;
     this.vbox3.Name         = "vbox3";
     this.vbox3.Spacing      = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.calcResultOutputLine3 = new global::Gtk.Label();
     this.calcResultOutputLine3.WidthRequest = 400;
     this.calcResultOutputLine3.Name         = "calcResultOutputLine3";
     this.vbox3.Add(this.calcResultOutputLine3);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.calcResultOutputLine3]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.calcResultOutputLine4      = new global::Gtk.Label();
     this.calcResultOutputLine4.Name = "calcResultOutputLine4";
     this.vbox3.Add(this.calcResultOutputLine4);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.calcResultOutputLine4]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     this.hbox5.Add(this.vbox3);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox3]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     w18.Padding  = ((uint)(10));
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox();
     this.vbox4.WidthRequest = 250;
     this.vbox4.Name         = "vbox4";
     this.vbox4.Spacing      = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.calcResultOutputLine1_2      = new global::Gtk.Label();
     this.calcResultOutputLine1_2.Name = "calcResultOutputLine1_2";
     this.vbox4.Add(this.calcResultOutputLine1_2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.calcResultOutputLine1_2]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     this.hbox5.Add(this.vbox4);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox4]));
     w20.Position = 2;
     w20.Expand   = false;
     w20.Fill     = false;
     w20.Padding  = ((uint)(10));
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5]));
     w21.Position = 6;
     w21.Expand   = false;
     w21.Fill     = false;
     w21.Padding  = ((uint)(5));
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 822;
     this.DefaultHeight = 459;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.WortlisteFfnenAction.Activated           += new global::System.EventHandler(this.OnOpen);
     this.ErgebnisInDateiSpeichernAction.Activated += new global::System.EventHandler(this.OnSave);
     this.SchlieenAction.Activated += new global::System.EventHandler(this.OnExit);
     this.AboutAction.Activated    += new global::System.EventHandler(this.OnAbout);
     this.openAction.Activated     += new global::System.EventHandler(this.OnOpen);
     this.saveAction.Activated     += new global::System.EventHandler(this.OnSave);
     this.LeerenAction.Activated   += new global::System.EventHandler(this.OnClear);
     this.deleteAction.Activated   += new global::System.EventHandler(this.OnClear);
     this.clearAction.Activated    += new global::System.EventHandler(this.OnClear);
     this.expandAction.Toggled     += new global::System.EventHandler(this.OnExpand);
     this.TextdateienNeuEinlesenAction.Activated         += new global::System.EventHandler(this.OnRereadFiles);
     this.diacriticsToggleAction.Toggled                 += new global::System.EventHandler(this.OnDiacritics);
     this.LautentwicklungAction.Changed                  += new global::Gtk.ChangedHandler(this.OnModusAction);
     this.TranskriptionDerZielspracheAction.Changed      += new global::Gtk.ChangedHandler(this.OnModusAction);
     this.WortformerkennungDerQuellspracheAction.Changed += new global::Gtk.ChangedHandler(this.OnModusAction);
     this.WortformerkennungDerZielspracheAction.Changed  += new global::Gtk.ChangedHandler(this.OnModusAction);
     this.TranskriptionDerQuellspracheAction.Changed     += new global::Gtk.ChangedHandler(this.OnModusAction);
     this.comboboxModus.Changed += new global::System.EventHandler(this.OnModusAction);
 }
コード例 #38
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.NewPojectAction            = new global::Gtk.Action("NewPojectAction", global::Mono.Unix.Catalog.GetString("_New Project"), null, "gtk-new");
     this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New Project");
     w1.Add(this.NewPojectAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open Project"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Project");
     w1.Add(this.openAction, null);
     this.QuitAction            = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.QuitAction, null);
     this.CloseProjectAction            = new global::Gtk.Action("CloseProjectAction", global::Mono.Unix.Catalog.GetString("_Close Project"), null, "gtk-close");
     this.CloseProjectAction.Sensitive  = false;
     this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close Project");
     w1.Add(this.CloseProjectAction, null);
     this.ToolsAction            = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools");
     w1.Add(this.ToolsAction, null);
     this.ProjectsManagerAction            = new global::Gtk.Action("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString("Projects Manager"), null, null);
     this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Database Manager");
     w1.Add(this.ProjectsManagerAction, null);
     this.CategoriesTemplatesManagerAction            = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Categories Templates Manager"), null, null);
     this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Templates Manager");
     w1.Add(this.CategoriesTemplatesManagerAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View");
     w1.Add(this.ViewAction, "<Control>t");
     this.FullScreenAction            = new global::Gtk.ToggleAction("FullScreenAction", global::Mono.Unix.Catalog.GetString("Full Screen"), null, "gtk-fullscreen");
     this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Full Screen");
     w1.Add(this.FullScreenAction, "<Control><Alt>f");
     this.PlaylistAction            = new global::Gtk.ToggleAction("PlaylistAction", global::Mono.Unix.Catalog.GetString("Playlist"), null, null);
     this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Playlist");
     w1.Add(this.PlaylistAction, "<Control>p");
     this.TaggingViewAction            = new global::Gtk.RadioAction("TaggingViewAction", global::Mono.Unix.Catalog.GetString("Tagging view"), null, null, 0);
     this.TaggingViewAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.TaggingViewAction.Sensitive  = false;
     this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture Mode");
     w1.Add(this.TaggingViewAction, "<Control>c");
     this.TimelineViewAction            = new global::Gtk.RadioAction("TimelineViewAction", global::Mono.Unix.Catalog.GetString("Timeline view"), null, null, 0);
     this.TimelineViewAction.Group      = this.TaggingViewAction.Group;
     this.TimelineViewAction.Sensitive  = false;
     this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Analyze Mode");
     w1.Add(this.TimelineViewAction, "<Control>a");
     this.SaveProjectAction            = new global::Gtk.Action("SaveProjectAction", global::Mono.Unix.Catalog.GetString("_Save Project"), null, "gtk-save");
     this.SaveProjectAction.Sensitive  = false;
     this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save Project");
     w1.Add(this.SaveProjectAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w1.Add(this.AboutAction, null);
     this.ExportProjectToCSVFileAction            = new global::Gtk.Action("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString("Export Project To CSV File"), null, null);
     this.ExportProjectToCSVFileAction.Sensitive  = false;
     this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project To CSV File");
     this.ExportProjectToCSVFileAction.Visible    = false;
     w1.Add(this.ExportProjectToCSVFileAction, null);
     this.TeamsTemplatesManagerAction            = new global::Gtk.Action("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Teams Templates Manager"), null, null);
     this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Teams Templates Manager");
     w1.Add(this.TeamsTemplatesManagerAction, null);
     this.HideAllWidgetsAction            = new global::Gtk.ToggleAction("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString("Hide All Widgets"), null, null);
     this.HideAllWidgetsAction.Sensitive  = false;
     this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hide All Widgets");
     w1.Add(this.HideAllWidgetsAction, null);
     this.HelpAction1            = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help");
     this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction1, null);
     this.DrawingToolAction            = new global::Gtk.ToggleAction("DrawingToolAction", global::Mono.Unix.Catalog.GetString("_Drawing Tool"), null, null);
     this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drawing Tool");
     w1.Add(this.DrawingToolAction, "<Control>d");
     this.ImportProjectAction            = new global::Gtk.Action("ImportProjectAction", global::Mono.Unix.Catalog.GetString("_Import Project"), null, "stock-import");
     this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import Project");
     w1.Add(this.ImportProjectAction, "<Control>i");
     this.ManualTaggingViewAction            = new global::Gtk.RadioAction("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString("Manual tagging view"), null, null, 0);
     this.ManualTaggingViewAction.Group      = this.TaggingViewAction.Group;
     this.ManualTaggingViewAction.Sensitive  = false;
     this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Free Capture Mode");
     w1.Add(this.ManualTaggingViewAction, "<Control>f");
     this.GameUnitsViewAction            = new global::Gtk.RadioAction("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString("Game units view"), null, null, 0);
     this.GameUnitsViewAction.Group      = this.TaggingViewAction.Group;
     this.GameUnitsViewAction.Sensitive  = false;
     this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game units view");
     w1.Add(this.GameUnitsViewAction, null);
     this.ExportProjectAction            = new global::Gtk.Action("ExportProjectAction", global::Mono.Unix.Catalog.GetString("Export Project"), null, null);
     this.ExportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project");
     w1.Add(this.ExportProjectAction, null);
     this.ExportProjectAction1            = new global::Gtk.Action("ExportProjectAction1", global::Mono.Unix.Catalog.GetString("Export Project"), null, null);
     this.ExportProjectAction1.Sensitive  = false;
     this.ExportProjectAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project");
     w1.Add(this.ExportProjectAction1, null);
     this.Action = new global::Gtk.Action("Action", null, null, null);
     w1.Add(this.Action, null);
     this.ExportToProjectFileAction            = new global::Gtk.Action("ExportToProjectFileAction", global::Mono.Unix.Catalog.GetString("Export to project file"), null, null);
     this.ExportToProjectFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export to project file");
     w1.Add(this.ExportToProjectFileAction, null);
     this.dialogInfoAction            = new global::Gtk.Action("dialogInfoAction", global::Mono.Unix.Catalog.GetString("Shortcuts"), null, "gtk-dialog-info");
     this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Shortcuts");
     w1.Add(this.dialogInfoAction, null);
     this.ImportFromFileAction            = new global::Gtk.Action("ImportFromFileAction", global::Mono.Unix.Catalog.GetString("Import from file"), null, null);
     this.ImportFromFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Import from file");
     w1.Add(this.ImportFromFileAction, null);
     this.TagSubcategoriesAction            = new global::Gtk.ToggleAction("TagSubcategoriesAction", global::Mono.Unix.Catalog.GetString("Tag subcategories"), null, null);
     this.TagSubcategoriesAction.Active     = true;
     this.TagSubcategoriesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tag subcategories");
     w1.Add(this.TagSubcategoriesAction, null);
     this.VideoConverterToolAction            = new global::Gtk.Action("VideoConverterToolAction", global::Mono.Unix.Catalog.GetString("Video Converter Tool"), null, null);
     this.VideoConverterToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Video Converter Tool");
     w1.Add(this.VideoConverterToolAction, null);
     this.DatabasesManagerAction            = new global::Gtk.Action("DatabasesManagerAction", global::Mono.Unix.Catalog.GetString("Databases Manager"), null, null);
     this.DatabasesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Databases Manager");
     w1.Add(this.DatabasesManagerAction, null);
     this.PreferencesAction            = new global::Gtk.Action("PreferencesAction", global::Mono.Unix.Catalog.GetString("Preferences"), null, null);
     this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Preferences");
     w1.Add(this.PreferencesAction, null);
     this.ShowProjectStatsAction            = new global::Gtk.Action("ShowProjectStatsAction", global::Mono.Unix.Catalog.GetString("Show project stats"), null, null);
     this.ShowProjectStatsAction.Sensitive  = false;
     this.ShowProjectStatsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show project stats");
     w1.Add(this.ShowProjectStatsAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "LongoMatch.Gui.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("LongoMatch");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog);
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Container child LongoMatch.Gui.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.menubox         = new global::Gtk.VBox();
     this.menubox.Name    = "menubox";
     this.menubox.Spacing = 6;
     // Container child menubox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menu name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='DatabasesManagerAction' action='DatabasesManagerAction'/><separator/><menuitem name='ShowProjectStatsAction' action='ShowProjectStatsAction'/><menu name='ExportProjectAction1' action='ExportProjectAction1'><menuitem name='ExportToProjectFileAction' action='ExportToProjectFileAction'/></menu><separator/><menuitem name='VideoConverterToolAction' action='VideoConverterToolAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TagSubcategoriesAction' action='TagSubcategoriesAction'/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/><menuitem name='dialogInfoAction' action='dialogInfoAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.menubox.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox1.Add(this.menubox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned          = new global::Gtk.HPaned();
     this.hpaned.CanFocus = true;
     this.hpaned.Name     = "hpaned";
     this.hpaned.Position = 243;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.leftbox         = new global::Gtk.VBox();
     this.leftbox.Name    = "leftbox";
     this.leftbox.Spacing = 6;
     // Container child leftbox.Gtk.Box+BoxChild
     this.playsSelection        = new global::LongoMatch.Gui.Component.PlaysSelectionWidget();
     this.playsSelection.Events = ((global::Gdk.EventMask)(256));
     this.playsSelection.Name   = "playsSelection";
     this.leftbox.Add(this.playsSelection);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.playsSelection]));
     w4.Position = 0;
     this.hpaned.Add(this.leftbox);
     global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox]));
     w5.Resize = false;
     // Container child hpaned.Gtk.Paned+PanedChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 952;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.downbox         = new global::Gtk.VBox();
     this.downbox.Name    = "downbox";
     this.downbox.Spacing = 6;
     // Container child downbox.Gtk.Box+BoxChild
     this.videowidgetsbox         = new global::Gtk.HBox();
     this.videowidgetsbox.Name    = "videowidgetsbox";
     this.videowidgetsbox.Spacing = 6;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.drawingtoolbox1        = new global::LongoMatch.Gui.Component.DrawingToolBox();
     this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256));
     this.drawingtoolbox1.Name   = "drawingtoolbox1";
     this.videowidgetsbox.Add(this.drawingtoolbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child videowidgetsbox.Gtk.Box+BoxChild
     this.playercapturer            = new global::LongoMatch.Gui.PlayerCapturerBin();
     this.playercapturer.Events     = ((global::Gdk.EventMask)(256));
     this.playercapturer.Name       = "playercapturer";
     this.playercapturer.Detached   = false;
     this.playercapturer.ExpandLogo = false;
     this.playercapturer.Rate       = 0F;
     this.videowidgetsbox.Add(this.playercapturer);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.playercapturer]));
     w7.Position = 1;
     this.downbox.Add(this.videowidgetsbox);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox]));
     w8.Position = 0;
     // Container child downbox.Gtk.Box+BoxChild
     this.buttonswidget        = new global::LongoMatch.Gui.Component.ButtonsWidget();
     this.buttonswidget.Events = ((global::Gdk.EventMask)(256));
     this.buttonswidget.Name   = "buttonswidget";
     this.downbox.Add(this.buttonswidget);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget]));
     w9.Position = 1;
     w9.Expand   = false;
     // Container child downbox.Gtk.Box+BoxChild
     this.gameunitstaggerwidget1        = new global::LongoMatch.Gui.Component.GameUnitsTagger();
     this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256));
     this.gameunitstaggerwidget1.Name   = "gameunitstaggerwidget1";
     this.downbox.Add(this.gameunitstaggerwidget1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1]));
     w10.Position = 2;
     w10.Expand   = false;
     this.hpaned1.Add(this.downbox);
     global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox]));
     w11.Resize = false;
     w11.Shrink = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.righthbox = new global::Gtk.HBox();
     this.righthbox.WidthRequest = 100;
     this.righthbox.Name         = "righthbox";
     this.righthbox.Spacing      = 6;
     // Container child righthbox.Gtk.Box+BoxChild
     this.tagsvbox = new global::Gtk.VBox();
     this.tagsvbox.WidthRequest = 100;
     this.tagsvbox.Name         = "tagsvbox";
     this.tagsvbox.Spacing      = 6;
     // Container child tagsvbox.Gtk.Box+BoxChild
     this.postagger        = new global::LongoMatch.Gui.Component.PlaysCoordinatesTagger();
     this.postagger.Events = ((global::Gdk.EventMask)(256));
     this.postagger.Name   = "postagger";
     this.tagsvbox.Add(this.postagger);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.tagsvbox [this.postagger]));
     w12.Position = 0;
     // Container child tagsvbox.Gtk.Box+BoxChild
     this.notesframe            = new global::Gtk.Frame();
     this.notesframe.Name       = "notesframe";
     this.notesframe.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child notesframe.Gtk.Container+ContainerChild
     this.GtkAlignment22             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment22.Name        = "GtkAlignment22";
     this.GtkAlignment22.LeftPadding = ((uint)(12));
     // Container child GtkAlignment22.Gtk.Container+ContainerChild
     this.notes        = new global::LongoMatch.Gui.Component.NotesWidget();
     this.notes.Events = ((global::Gdk.EventMask)(256));
     this.notes.Name   = "notes";
     this.GtkAlignment22.Add(this.notes);
     this.notesframe.Add(this.GtkAlignment22);
     this.GtkLabel31             = new global::Gtk.Label();
     this.GtkLabel31.Name        = "GtkLabel31";
     this.GtkLabel31.LabelProp   = global::Mono.Unix.Catalog.GetString("<b>Notes</b>");
     this.GtkLabel31.UseMarkup   = true;
     this.notesframe.LabelWidget = this.GtkLabel31;
     this.tagsvbox.Add(this.notesframe);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.tagsvbox [this.notesframe]));
     w15.Position = 1;
     this.righthbox.Add(this.tagsvbox);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.righthbox [this.tagsvbox]));
     w16.Position = 0;
     // Container child righthbox.Gtk.Box+BoxChild
     this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget();
     this.playlist.WidthRequest = 100;
     this.playlist.Events       = ((global::Gdk.EventMask)(256));
     this.playlist.Name         = "playlist";
     this.righthbox.Add(this.playlist);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.righthbox [this.playlist]));
     w17.Position = 1;
     this.hpaned1.Add(this.righthbox);
     global::Gtk.Paned.PanedChild w18 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.righthbox]));
     w18.Resize = false;
     w18.Shrink = false;
     this.hpaned.Add(this.hpaned1);
     global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1]));
     w19.Shrink = false;
     this.vbox1.Add(this.hpaned);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned]));
     w20.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.renderingstatebar1          = new global::LongoMatch.Gui.Component.RenderingStateBar();
     this.renderingstatebar1.Events   = ((global::Gdk.EventMask)(256));
     this.renderingstatebar1.Name     = "renderingstatebar1";
     this.renderingstatebar1.Fraction = 0;
     this.statusbar1.Add(this.renderingstatebar1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1]));
     w21.Position = 2;
     w21.Expand   = false;
     w21.Fill     = false;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w22.Position = 2;
     w22.Expand   = false;
     w22.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1503;
     this.DefaultHeight = 686;
     this.leftbox.Hide();
     this.drawingtoolbox1.Hide();
     this.buttonswidget.Hide();
     this.tagsvbox.Hide();
     this.playlist.Hide();
     this.righthbox.Hide();
     this.renderingstatebar1.Hide();
     this.Show();
     this.NewPojectAction.Activated          += new global::System.EventHandler(this.OnNewActivated);
     this.openAction.Activated               += new global::System.EventHandler(this.OnOpenActivated);
     this.FullScreenAction.Toggled           += new global::System.EventHandler(this.OnFullScreenActionToggled);
     this.PlaylistAction.Toggled             += new global::System.EventHandler(this.OnPlaylistActionToggled);
     this.TaggingViewAction.Toggled          += new global::System.EventHandler(this.OnViewToggled);
     this.TimelineViewAction.Toggled         += new global::System.EventHandler(this.OnViewToggled);
     this.AboutAction.Activated              += new global::System.EventHandler(this.OnAboutActionActivated);
     this.HideAllWidgetsAction.Toggled       += new global::System.EventHandler(this.OnHideAllWidgetsActionToggled);
     this.HelpAction1.Activated              += new global::System.EventHandler(this.OnHelpAction1Activated);
     this.DrawingToolAction.Toggled          += new global::System.EventHandler(this.OnDrawingToolActionToggled);
     this.ManualTaggingViewAction.Toggled    += new global::System.EventHandler(this.OnViewToggled);
     this.GameUnitsViewAction.Toggled        += new global::System.EventHandler(this.OnViewToggled);
     this.dialogInfoAction.Activated         += new global::System.EventHandler(this.OnDialogInfoActionActivated);
     this.TagSubcategoriesAction.Toggled     += new global::System.EventHandler(this.OnTagSubcategoriesActionToggled);
     this.VideoConverterToolAction.Activated += new global::System.EventHandler(this.OnVideoConverterToolActionActivated);
 }
コード例 #39
0
ファイル: MainWindow.cs プロジェクト: pxqr/nanon
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open");
     w1.Add (this.openAction, null);
     this.quitAction = new global::Gtk.ToggleAction ("quitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit");
     w1.Add (this.quitAction, null);
     this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("_"), null, null);
     this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("_");
     w1.Add (this.Action, null);
     this.quitAction1 = new global::Gtk.Action ("quitAction1", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit");
     this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit");
     w1.Add (this.quitAction1, null);
     this.refreshAction = new global::Gtk.Action ("refreshAction", global::Mono.Unix.Catalog.GetString ("_Refresh"), null, "gtk-refresh");
     this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Refresh");
     w1.Add (this.refreshAction, null);
     this.refreshAction1 = new global::Gtk.Action ("refreshAction1", global::Mono.Unix.Catalog.GetString ("_Refresh"), null, "gtk-refresh");
     this.refreshAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Refresh");
     w1.Add (this.refreshAction1, null);
     this.saveAsAction = new global::Gtk.Action ("saveAsAction", global::Mono.Unix.Catalog.GetString ("Save a copy..."), null, "gtk-save-as");
     this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save a copy...");
     w1.Add (this.saveAsAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction, null);
     this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View");
     w1.Add (this.ViewAction, null);
     this.RowWiseAction = new global::Gtk.RadioAction ("RowWiseAction", global::Mono.Unix.Catalog.GetString ("Row-wise"), null, null, 0);
     this.RowWiseAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.RowWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Row-wise");
     w1.Add (this.RowWiseAction, null);
     this.ColWiseAction = new global::Gtk.RadioAction ("ColWiseAction", global::Mono.Unix.Catalog.GetString ("Col-wise"), null, null, 0);
     this.ColWiseAction.Group = this.RowWiseAction.Group;
     this.ColWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Col-wise");
     w1.Add (this.ColWiseAction, null);
     this.RowwiseAction = new global::Gtk.ToggleAction ("RowwiseAction", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null);
     this.RowwiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise");
     w1.Add (this.RowwiseAction, null);
     this.RowwiseSelector = new global::Gtk.ToggleAction ("RowwiseSelector", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null);
     this.RowwiseSelector.Active = true;
     this.RowwiseSelector.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise");
     w1.Add (this.RowwiseSelector, null);
     this.RowwiseAction1 = new global::Gtk.ToggleAction ("RowwiseAction1", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null);
     this.RowwiseAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise");
     w1.Add (this.RowwiseAction1, null);
     this.ViewAction1 = new global::Gtk.Action ("ViewAction1", global::Mono.Unix.Catalog.GetString ("View"), null, null);
     this.ViewAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("View");
     w1.Add (this.ViewAction1, null);
     this.ColumnWiseAction = new global::Gtk.ToggleAction ("ColumnWiseAction", global::Mono.Unix.Catalog.GetString ("Column wise"), null, null);
     this.ColumnWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RowWise");
     w1.Add (this.ColumnWiseAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='refreshAction1' action='refreshAction1'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='ViewAction1' action='ViewAction1'><menuitem name='ColumnWiseAction' action='ColumnWiseAction'/></menu><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.vbox2.Add (this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator2 = new global::Gtk.VSeparator ();
     this.vseparator2.Name = "vseparator2";
     this.hbox1.Add (this.vseparator2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator2]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.WidthRequest = 460;
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.spinbutton = new global::Gtk.SpinButton (0, 100, 1);
     this.spinbutton.Sensitive = false;
     this.spinbutton.CanFocus = true;
     this.spinbutton.Name = "spinbutton";
     this.spinbutton.Adjustment.PageIncrement = 10;
     this.spinbutton.ClimbRate = 1;
     this.spinbutton.Numeric = true;
     this.vbox3.Add (this.spinbutton);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.spinbutton]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.filechooserwidget = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0)));
     this.filechooserwidget.Name = "filechooserwidget";
     this.vbox3.Add (this.filechooserwidget);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.filechooserwidget]));
     w5.Position = 1;
     this.hbox2.Add (this.vbox3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hpaned1 = new global::Gtk.HPaned ();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name = "hpaned1";
     this.hpaned1.Position = 109;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vpaned1 = new global::Gtk.VPaned ();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name = "vpaned1";
     this.vpaned1.Position = 56;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.hpaned3 = new global::Gtk.HPaned ();
     this.hpaned3.CanFocus = true;
     this.hpaned3.Name = "hpaned3";
     this.hpaned3.Position = 418;
     // Container child hpaned3.Gtk.Paned+PanedChild
     this.vpaned2 = new global::Gtk.VPaned ();
     this.vpaned2.CanFocus = true;
     this.vpaned2.Name = "vpaned2";
     this.vpaned2.Position = 386;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.matrixImage = new global::Gtk.Image ();
     this.matrixImage.Name = "matrixImage";
     this.matrixImage.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-missing-image", global::Gtk.IconSize.Menu);
     this.vpaned2.Add (this.matrixImage);
     global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.matrixImage]));
     w7.Resize = false;
     this.hpaned3.Add (this.vpaned2);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned3 [this.vpaned2]));
     w8.Resize = false;
     this.vpaned1.Add (this.hpaned3);
     this.hpaned1.Add (this.vpaned1);
     this.hbox2.Add (this.hpaned1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hpaned1]));
     w11.Position = 1;
     this.hbox1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox2]));
     w12.Position = 1;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w13.Position = 1;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1072;
     this.DefaultHeight = 551;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.quitAction1.Activated += new global::System.EventHandler (this.act);
     this.ColWiseAction.Toggled += new global::System.EventHandler (this.OnColWise);
     this.RowwiseAction.Toggled += new global::System.EventHandler (this.OnRowWise);
     this.RowwiseSelector.Toggled += new global::System.EventHandler (this.RowwiseChanged);
     this.RowwiseAction1.Toggled += new global::System.EventHandler (this.t);
     this.RowwiseAction1.Activated += new global::System.EventHandler (this.a);
     this.RowwiseAction1.Changed += new global::Gtk.ChangedHandler (this.c);
     this.ColumnWiseAction.Toggled += new global::System.EventHandler (this.ModeToggled);
     this.spinbutton.Changed += new global::System.EventHandler (this.SpinChanged);
     this.filechooserwidget.FileActivated += new global::System.EventHandler (this.fileSelected);
 }
コード例 #40
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Nuevo.Window
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.EscenarioAction            = new global::Gtk.Action("EscenarioAction", global::Mono.Unix.Catalog.GetString("Escenario"), null, null);
     this.EscenarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Escenario");
     w1.Add(this.EscenarioAction, null);
     this.NuevoEscenarioAction            = new global::Gtk.Action("NuevoEscenarioAction", global::Mono.Unix.Catalog.GetString("Nuevo escenario"), null, null);
     this.NuevoEscenarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Nuevo escenario");
     w1.Add(this.NuevoEscenarioAction, null);
     this.SimulacinAction            = new global::Gtk.Action("SimulacinAction", global::Mono.Unix.Catalog.GetString("Simulación"), null, null);
     this.SimulacinAction.Sensitive  = false;
     this.SimulacinAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Simulación");
     w1.Add(this.SimulacinAction, null);
     this.NuevaSimulacinAction            = new global::Gtk.Action("NuevaSimulacinAction", global::Mono.Unix.Catalog.GetString("Nueva simulación"), null, null);
     this.NuevaSimulacinAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Nueva simulación");
     w1.Add(this.NuevaSimulacinAction, null);
     this.ConfiguracinAction            = new global::Gtk.Action("ConfiguracinAction", global::Mono.Unix.Catalog.GetString("Configuración"), null, null);
     this.ConfiguracinAction.Sensitive  = false;
     this.ConfiguracinAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Configuración");
     w1.Add(this.ConfiguracinAction, null);
     this.PropiedadesAction            = new global::Gtk.Action("PropiedadesAction", global::Mono.Unix.Catalog.GetString("Propiedades"), null, null);
     this.PropiedadesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Propiedades");
     w1.Add(this.PropiedadesAction, null);
     this.ParmetrosAction            = new global::Gtk.Action("ParmetrosAction", global::Mono.Unix.Catalog.GetString("Parámetros"), null, null);
     this.ParmetrosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Parámetros");
     w1.Add(this.ParmetrosAction, null);
     this.mediaPauseAction            = new global::Gtk.Action("mediaPauseAction", global::Mono.Unix.Catalog.GetString("Pausa"), null, "gtk-media-pause");
     this.mediaPauseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Pausa");
     w1.Add(this.mediaPauseAction, null);
     this.mediaPlayAction            = new global::Gtk.Action("mediaPlayAction", global::Mono.Unix.Catalog.GetString("Play"), null, "gtk-media-play");
     this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Play");
     w1.Add(this.mediaPlayAction, null);
     this.zoomInButton = new global::Gtk.Action("zoomInButton", null, null, "gtk-zoom-in");
     w1.Add(this.zoomInButton, null);
     this.zoomOutButton = new global::Gtk.Action("zoomOutButton", null, null, "gtk-zoom-out");
     w1.Add(this.zoomOutButton, null);
     this.undoAction            = new global::Gtk.Action("undoAction", global::Mono.Unix.Catalog.GetString("Restaurar parámetros"), null, "gtk-undo");
     this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Restaurar parámetros");
     w1.Add(this.undoAction, null);
     this.contornoButton            = new global::Gtk.ToggleAction("contornoButton", global::Mono.Unix.Catalog.GetString("Contorno boids"), null, "gtk-no");
     this.contornoButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Contorno boids");
     w1.Add(this.contornoButton, null);
     this.circuloButton            = new global::Gtk.RadioAction("circuloButton", global::Mono.Unix.Catalog.GetString("Circulo"), null, "gtk-cdrom", 0);
     this.circuloButton.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.circuloButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Circulo");
     w1.Add(this.circuloButton, null);
     this.rectanguloButton            = new global::Gtk.RadioAction("rectanguloButton", global::Mono.Unix.Catalog.GetString("Rectángulo"), null, "gtk-indent", 0);
     this.rectanguloButton.Group      = this.circuloButton.Group;
     this.rectanguloButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Rectángulo");
     w1.Add(this.rectanguloButton, null);
     this.lineaButton            = new global::Gtk.RadioAction("lineaButton", global::Mono.Unix.Catalog.GetString("Línea"), null, "gtk-color-picker", 0);
     this.lineaButton.Group      = this.circuloButton.Group;
     this.lineaButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Línea");
     w1.Add(this.lineaButton, null);
     this.GuardarEscenarioAction            = new global::Gtk.Action("GuardarEscenarioAction", global::Mono.Unix.Catalog.GetString("Guardar escenario"), null, null);
     this.GuardarEscenarioAction.Sensitive  = false;
     this.GuardarEscenarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar escenario");
     w1.Add(this.GuardarEscenarioAction, null);
     this.CargarEscenarioAction            = new global::Gtk.Action("CargarEscenarioAction", global::Mono.Unix.Catalog.GetString("Cargar escenario"), null, null);
     this.CargarEscenarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cargar escenario");
     w1.Add(this.CargarEscenarioAction, null);
     this.EscenarioEnBlancoAction            = new global::Gtk.Action("EscenarioEnBlancoAction", global::Mono.Unix.Catalog.GetString("Escenario en blanco"), null, null);
     this.EscenarioEnBlancoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Escenario en blanco");
     w1.Add(this.EscenarioEnBlancoAction, null);
     this.EscenarioDesdeArchivoAction            = new global::Gtk.Action("EscenarioDesdeArchivoAction", global::Mono.Unix.Catalog.GetString("Escenario desde archivo"), null, null);
     this.EscenarioDesdeArchivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Escenario desde archivo");
     w1.Add(this.EscenarioDesdeArchivoAction, null);
     this.calorButton            = new global::Gtk.ToggleAction("calorButton", global::Mono.Unix.Catalog.GetString("Mapa de calor"), null, "gtk-select-color");
     this.calorButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Mapa de calor");
     w1.Add(this.calorButton, null);
     this.EstadsticaAction            = new global::Gtk.Action("EstadsticaAction", global::Mono.Unix.Catalog.GetString("Estadística"), null, null);
     this.EstadsticaAction.Sensitive  = false;
     this.EstadsticaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Estadistica");
     w1.Add(this.EstadsticaAction, null);
     this.MtricasAction            = new global::Gtk.Action("MtricasAction", global::Mono.Unix.Catalog.GetString("Métricas"), null, null);
     this.MtricasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Métricas");
     w1.Add(this.MtricasAction, null);
     this.grillaButton            = new global::Gtk.ToggleAction("grillaButton", global::Mono.Unix.Catalog.GetString("Grillado"), null, "gtk-leave-fullscreen");
     this.grillaButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Grillado");
     w1.Add(this.grillaButton, null);
     this.puntoInicioAction            = new global::Gtk.RadioAction("puntoInicioAction", global::Mono.Unix.Catalog.GetString("Punto de inicio"), null, "gtk-home", 0);
     this.puntoInicioAction.Group      = this.circuloButton.Group;
     this.puntoInicioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Punto de inicio");
     w1.Add(this.puntoInicioAction, null);
     this.puntoObjetivoAction            = new global::Gtk.RadioAction("puntoObjetivoAction", global::Mono.Unix.Catalog.GetString("Punto objetivo"), null, "gtk-jump-to", 0);
     this.puntoObjetivoAction.Group      = this.circuloButton.Group;
     this.puntoObjetivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Punto objetivo");
     w1.Add(this.puntoObjetivoAction, null);
     this.Action = new global::Gtk.Action("Action", null, null, null);
     w1.Add(this.Action, null);
     this.trayectoriasAction            = new global::Gtk.ToggleAction("trayectoriasAction", global::Mono.Unix.Catalog.GetString("Trayectorias"), null, "gtk-redo");
     this.trayectoriasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Trayectorias");
     w1.Add(this.trayectoriasAction, null);
     this.GrficaAction            = new global::Gtk.Action("GrficaAction", global::Mono.Unix.Catalog.GetString("Gráfica"), null, null);
     this.GrficaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gráfica");
     w1.Add(this.GrficaAction, null);
     this.IniciarOgre3DAction            = new global::Gtk.Action("IniciarOgre3DAction", global::Mono.Unix.Catalog.GetString("Iniciar Ogre3D"), null, null);
     this.IniciarOgre3DAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Iniciar Ogre3D");
     w1.Add(this.IniciarOgre3DAction, null);
     this.ExportarAVTKAction            = new global::Gtk.Action("ExportarAVTKAction", global::Mono.Unix.Catalog.GetString("Exportar a VTK"), null, null);
     this.ExportarAVTKAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar a VTK");
     w1.Add(this.ExportarAVTKAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Nuevo.Window";
     this.Title          = global::Mono.Unix.Catalog.GetString("Window");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Nuevo.Window.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='EscenarioAction' action='EscenarioAction'><menuitem name='NuevoEscenarioAction' action='NuevoEscenarioAction'/><menu name='CargarEscenarioAction' action='CargarEscenarioAction'><menuitem name='EscenarioEnBlancoAction' action='EscenarioEnBlancoAction'/><menuitem name='EscenarioDesdeArchivoAction' action='EscenarioDesdeArchivoAction'/></menu><separator/><menuitem name='GuardarEscenarioAction' action='GuardarEscenarioAction'/></menu><menu name='SimulacinAction' action='SimulacinAction'><menuitem name='NuevaSimulacinAction' action='NuevaSimulacinAction'/></menu><menu name='ConfiguracinAction' action='ConfiguracinAction'><menuitem name='PropiedadesAction' action='PropiedadesAction'/><menuitem name='ParmetrosAction' action='ParmetrosAction'/><menuitem name='IniciarOgre3DAction' action='IniciarOgre3DAction'/></menu><menu name='EstadsticaAction' action='EstadsticaAction'><menuitem name='MtricasAction' action='MtricasAction'/><menuitem name='GrficaAction' action='GrficaAction'/><menuitem name='ExportarAVTKAction' action='ExportarAVTKAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox2.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='mediaPauseAction' action='mediaPauseAction'/><toolitem name='mediaPlayAction' action='mediaPlayAction'/><separator/><toolitem name='zoomInButton' action='zoomInButton'/><toolitem name='zoomOutButton' action='zoomOutButton'/><separator/><toolitem name='undoAction' action='undoAction'/><separator/><toolitem name='contornoButton' action='contornoButton'/><toolitem name='grillaButton' action='grillaButton'/><separator/><toolitem name='calorButton' action='calorButton'/><toolitem name='trayectoriasAction' action='trayectoriasAction'/></toolbar></ui>");
     this.toolbar1              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Sensitive    = false;
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolbar1.IconSize     = ((global::Gtk.IconSize)(2));
     this.hbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar1]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar2'><toolitem name='circuloButton' action='circuloButton'/><toolitem name='rectanguloButton' action='rectanguloButton'/><toolitem name='lineaButton' action='lineaButton'/><separator/><toolitem name='puntoInicioAction' action='puntoInicioAction'/><toolitem name='puntoObjetivoAction' action='puntoObjetivoAction'/></toolbar></ui>");
     this.toolbar2              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2")));
     this.toolbar2.Sensitive    = false;
     this.toolbar2.Name         = "toolbar2";
     this.toolbar2.ShowArrow    = false;
     this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolbar2.IconSize     = ((global::Gtk.IconSize)(2));
     this.hbox1.Add(this.toolbar2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar2]));
     w4.Position = 1;
     w4.Expand   = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2             = new global::Gtk.HBox();
     this.hbox2.Name        = "hbox2";
     this.hbox2.Homogeneous = true;
     this.hbox2.Spacing     = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.labelNivel           = new global::Gtk.Label();
     this.labelNivel.Sensitive = false;
     this.labelNivel.Name      = "labelNivel";
     this.labelNivel.LabelProp = global::Mono.Unix.Catalog.GetString("Nivel del objetivo");
     this.hbox2.Add(this.labelNivel);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelNivel]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.spinbuttonNivel           = new global::Gtk.SpinButton(1D, 1D, 1D);
     this.spinbuttonNivel.Sensitive = false;
     this.spinbuttonNivel.CanFocus  = true;
     this.spinbuttonNivel.Name      = "spinbuttonNivel";
     this.spinbuttonNivel.Adjustment.PageIncrement = 10D;
     this.spinbuttonNivel.ClimbRate = 1D;
     this.spinbuttonNivel.Numeric   = true;
     this.spinbuttonNivel.Value     = 1D;
     this.hbox2.Add(this.spinbuttonNivel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.spinbuttonNivel]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.vbox3.Add(this.hbox2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3             = new global::Gtk.HBox();
     this.hbox3.Name        = "hbox3";
     this.hbox3.Homogeneous = true;
     this.hbox3.Spacing     = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.labelIntermitencia           = new global::Gtk.Label();
     this.labelIntermitencia.Sensitive = false;
     this.labelIntermitencia.Name      = "labelIntermitencia";
     this.labelIntermitencia.LabelProp = global::Mono.Unix.Catalog.GetString("Intermitencia");
     this.hbox3.Add(this.labelIntermitencia);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.labelIntermitencia]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.spinbuttonIntermitencia           = new global::Gtk.SpinButton(0D, 500D, 1D);
     this.spinbuttonIntermitencia.Sensitive = false;
     this.spinbuttonIntermitencia.CanFocus  = true;
     this.spinbuttonIntermitencia.Name      = "spinbuttonIntermitencia";
     this.spinbuttonIntermitencia.Adjustment.PageIncrement = 10D;
     this.spinbuttonIntermitencia.ClimbRate = 1D;
     this.spinbuttonIntermitencia.Numeric   = true;
     this.hbox3.Add(this.spinbuttonIntermitencia);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.spinbuttonIntermitencia]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox3.Add(this.hbox3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.hbox1.Add(this.vbox3);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox2.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1]));
     w13.Position = 2;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.labelRender      = new global::Gtk.Label();
     this.labelRender.Name = "labelRender";
     this.hbox4.Add(this.labelRender);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelRender]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.labelAlgorithm      = new global::Gtk.Label();
     this.labelAlgorithm.Name = "labelAlgorithm";
     this.hbox4.Add(this.labelAlgorithm);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelAlgorithm]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.labelIteraciones        = new global::Gtk.Label();
     this.labelIteraciones.Name   = "labelIteraciones";
     this.labelIteraciones.Xalign = 0F;
     this.hbox4.Add(this.labelIteraciones);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelIteraciones]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.vbox2.Add(this.hbox4);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4]));
     w17.Position = 3;
     w17.Expand   = false;
     w17.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1475;
     this.DefaultHeight = 300;
     this.Show();
     this.NuevoEscenarioAction.Activated        += new global::System.EventHandler(this.OnNuevoEscenarioActionActivated);
     this.NuevaSimulacinAction.Activated        += new global::System.EventHandler(this.OnNuevaSimulacinActionActivated);
     this.PropiedadesAction.Activated           += new global::System.EventHandler(this.OnPropiedadesActionActivated);
     this.ParmetrosAction.Activated             += new global::System.EventHandler(this.OnParmetrosActionActivated);
     this.mediaPauseAction.Activated            += new global::System.EventHandler(this.OnPausaButtonActivated);
     this.mediaPlayAction.Activated             += new global::System.EventHandler(this.OnPlayButtonActivated);
     this.zoomInButton.Activated                += new global::System.EventHandler(this.OnZoomInButtonActivated);
     this.zoomOutButton.Activated               += new global::System.EventHandler(this.OnZoomOutButtonActivated);
     this.undoAction.Activated                  += new global::System.EventHandler(this.OnResetButtonActivated);
     this.GuardarEscenarioAction.Activated      += new global::System.EventHandler(this.OnGuardarEscenarioActionActivated);
     this.EscenarioEnBlancoAction.Activated     += new global::System.EventHandler(this.OnEscenarioEnBlancoActionActivated);
     this.EscenarioDesdeArchivoAction.Activated += new global::System.EventHandler(this.OnEscenarioDesdeArchivoActionActivated);
     this.MtricasAction.Activated               += new global::System.EventHandler(this.OnMtricasActionActivated);
     this.GrficaAction.Activated                += new global::System.EventHandler(this.OnGrficaActionActivated);
     this.IniciarOgre3DAction.Activated         += new global::System.EventHandler(this.OnIniciarOgre3DActionActivated);
     this.ExportarAVTKAction.Activated          += new global::System.EventHandler(this.OnExportarAVTKActionActivated);
 }
コード例 #41
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.EditAction            = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("_Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Edit");
     w1.Add(this.EditAction, null);
     this.ColorAction            = new global::Gtk.Action("ColorAction", global::Mono.Unix.Catalog.GetString("_Color"), null, null);
     this.ColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Color");
     w1.Add(this.ColorAction, null);
     this.goBackAction            = new global::Gtk.Action("goBackAction", global::Mono.Unix.Catalog.GetString("_Back"), null, "gtk-go-back");
     this.goBackAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Undo");
     w1.Add(this.goBackAction, "<Primary>Left");
     this.goForwardAction            = new global::Gtk.Action("goForwardAction", global::Mono.Unix.Catalog.GetString("_Forward"), null, "gtk-go-forward");
     this.goForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Redo");
     w1.Add(this.goForwardAction, "<Primary>Right");
     this.CopyHexColorAction            = new global::Gtk.Action("CopyHexColorAction", global::Mono.Unix.Catalog.GetString("Copy He_x"), null, null);
     this.CopyHexColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy He_x");
     w1.Add(this.CopyHexColorAction, null);
     this.CopyHSLColorAction            = new global::Gtk.Action("CopyHSLColorAction", global::Mono.Unix.Catalog.GetString("Copy HS_L"), null, null);
     this.CopyHSLColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy HS_L");
     w1.Add(this.CopyHSLColorAction, null);
     this.CopyHSVColorAction            = new global::Gtk.Action("CopyHSVColorAction", global::Mono.Unix.Catalog.GetString("Copy HS_V"), null, null);
     this.CopyHSVColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy HS_V");
     w1.Add(this.CopyHSVColorAction, null);
     this.PasteAcquireAction            = new global::Gtk.Action("PasteAcquireAction", global::Mono.Unix.Catalog.GetString("_Paste"), null, null);
     this.PasteAcquireAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste");
     w1.Add(this.PasteAcquireAction, null);
     this.refreshAction            = new global::Gtk.Action("refreshAction", global::Mono.Unix.Catalog.GetString("_Random"), null, "gtk-refresh");
     this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rando_m");
     w1.Add(this.refreshAction, "<Primary>r");
     this.BrightenAction            = new global::Gtk.Action("BrightenAction", global::Mono.Unix.Catalog.GetString("_Brighten"), null, null);
     this.BrightenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Brighten");
     w1.Add(this.BrightenAction, "<Primary>k");
     this.DarkenAction            = new global::Gtk.Action("DarkenAction", global::Mono.Unix.Catalog.GetString("Dar_ken"), null, null);
     this.DarkenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Dar_ken");
     w1.Add(this.DarkenAction, "<Primary>j");
     this.SaturateAction            = new global::Gtk.Action("SaturateAction", global::Mono.Unix.Catalog.GetString("_Saturate"), null, null);
     this.SaturateAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Saturate");
     w1.Add(this.SaturateAction, "<Primary>l");
     this.DesaturateAction            = new global::Gtk.Action("DesaturateAction", global::Mono.Unix.Catalog.GetString("_Desaturate"), null, null);
     this.DesaturateAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Desaturate");
     w1.Add(this.DesaturateAction, "<Primary>h");
     this.InvertAction            = new global::Gtk.Action("InvertAction", global::Mono.Unix.Catalog.GetString("_Invert"), null, null);
     this.InvertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Invert");
     w1.Add(this.InvertAction, null);
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.SaveAsHTMLColorAction            = new global::Gtk.Action("SaveAsHTMLColorAction", global::Mono.Unix.Catalog.GetString("_Save as HTML"), null, null);
     this.SaveAsHTMLColorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save as HTML");
     w1.Add(this.SaveAsHTMLColorAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.executeAction            = new global::Gtk.Action("executeAction", global::Mono.Unix.Catalog.GetString("_Execute"), null, "gtk-execute");
     this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Execute");
     w1.Add(this.executeAction, null);
     this.aboutAction            = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About");
     w1.Add(this.aboutAction, null);
     this.AcquireAction            = new global::Gtk.Action("AcquireAction", global::Mono.Unix.Catalog.GetString("_Acquire"), null, null);
     this.AcquireAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Acquire");
     w1.Add(this.AcquireAction, null);
     this.newAction            = new global::Gtk.Action("newAction", global::Mono.Unix.Catalog.GetString("_New"), null, "gtk-new");
     this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New");
     w1.Add(this.newAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open");
     w1.Add(this.openAction, null);
     this.saveAction            = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Save"), null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save");
     w1.Add(this.saveAction, null);
     this.saveAsAction            = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Save _As"), null, "gtk-save-as");
     this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save _As");
     w1.Add(this.saveAsAction, null);
     this.undoAction            = new global::Gtk.Action("undoAction", global::Mono.Unix.Catalog.GetString("_Undo"), null, "gtk-undo");
     this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Undo");
     w1.Add(this.undoAction, "<Primary>z");
     this.redoAction            = new global::Gtk.Action("redoAction", global::Mono.Unix.Catalog.GetString("_Redo"), null, "gtk-redo");
     this.redoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Redo");
     w1.Add(this.redoAction, "<Primary>y");
     this.addAction            = new global::Gtk.Action("addAction", global::Mono.Unix.Catalog.GetString("_Add"), null, "gtk-add");
     this.addAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Add");
     w1.Add(this.addAction, "<Primary>a");
     this.deleteAction            = new global::Gtk.Action("deleteAction", global::Mono.Unix.Catalog.GetString("_Delete"), null, "gtk-delete");
     this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Delete");
     w1.Add(this.deleteAction, "Delete");
     this.AddAllAction            = new global::Gtk.Action("AddAllAction", global::Mono.Unix.Catalog.GetString("Add A_ll"), null, null);
     this.AddAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add A_ll");
     w1.Add(this.AddAllAction, null);
     this.cutAction            = new global::Gtk.Action("cutAction", global::Mono.Unix.Catalog.GetString("Cu_t"), null, "gtk-cut");
     this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cu_t");
     w1.Add(this.cutAction, null);
     this.copyAction            = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("_Copy"), null, "gtk-copy");
     this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Copy");
     w1.Add(this.copyAction, null);
     this.pasteAction            = new global::Gtk.Action("pasteAction", global::Mono.Unix.Catalog.GetString("_Paste"), null, "gtk-paste");
     this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste");
     w1.Add(this.pasteAction, null);
     this.ExportHTMLAction            = new global::Gtk.Action("ExportHTMLAction", global::Mono.Unix.Catalog.GetString("Export _HTML"), null, null);
     this.ExportHTMLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export HTML");
     w1.Add(this.ExportHTMLAction, null);
     this.propertiesAction            = new global::Gtk.Action("propertiesAction", global::Mono.Unix.Catalog.GetString("_Properties"), null, "gtk-properties");
     this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Properties");
     w1.Add(this.propertiesAction, null);
     this.BlendAction            = new global::Gtk.Action("BlendAction", global::Mono.Unix.Catalog.GetString("_Blend..."), null, null);
     this.BlendAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Blend...");
     w1.Add(this.BlendAction, null);
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View");
     w1.Add(this.ViewAction, null);
     this.ListAction            = new global::Gtk.RadioAction("ListAction", global::Mono.Unix.Catalog.GetString("_List"), null, null, 0);
     this.ListAction.Group      = new global::GLib.SList(global::System.IntPtr.Zero);
     this.ListAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_List");
     w1.Add(this.ListAction, null);
     this.GridAction            = new global::Gtk.RadioAction("GridAction", global::Mono.Unix.Catalog.GetString("_Grid"), null, null, 0);
     this.GridAction.Group      = this.ListAction.Group;
     this.GridAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Grid");
     w1.Add(this.GridAction, null);
     this.RenameAction            = new global::Gtk.Action("RenameAction", global::Mono.Unix.Catalog.GetString("Re_name"), null, null);
     this.RenameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Re_name");
     w1.Add(this.RenameAction, null);
     this.sortAction            = new global::Gtk.Action("sortAction", global::Mono.Unix.Catalog.GetString("S_ort"), null, "gtk-sort-ascending");
     this.sortAction.ShortLabel = global::Mono.Unix.Catalog.GetString("S_ort");
     w1.Add(this.sortAction, null);
     this.ChangeMetadataAction            = new global::Gtk.Action("ChangeMetadataAction", global::Mono.Unix.Catalog.GetString("Change _Metadata"), null, null);
     this.ChangeMetadataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Change _Metadata");
     w1.Add(this.ChangeMetadataAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.mainVbox      = new global::Gtk.VBox();
     this.mainVbox.Name = "mainVbox";
     // Container child mainVbox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar1\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" +
                                    "m name=\'newAction\' action=\'newAction\'/><menuitem name=\'openAction\' action=\'openA" +
                                    "ction\'/><menuitem name=\'saveAction\' action=\'saveAction\'/><menuitem name=\'saveAsA" +
                                    "ction\' action=\'saveAsAction\'/><separator/><menuitem name=\'propertiesAction\' acti" +
                                    "on=\'propertiesAction\'/><separator/><menuitem name=\'ExportHTMLAction\' action=\'Exp" +
                                    "ortHTMLAction\'/><separator/><menuitem name=\'quitAction\' action=\'quitAction\'/></m" +
                                    "enu><menu name=\'EditAction\' action=\'EditAction\'><menuitem name=\'undoAction\' acti" +
                                    "on=\'undoAction\'/><menuitem name=\'redoAction\' action=\'redoAction\'/><separator/><m" +
                                    "enuitem name=\'cutAction\' action=\'cutAction\'/><menuitem name=\'copyAction\' action=" +
                                    "\'copyAction\'/><menuitem name=\'pasteAction\' action=\'pasteAction\'/><separator/><me" +
                                    "nuitem name=\'addAction\' action=\'addAction\'/><menuitem name=\'AddAllAction\' action" +
                                    "=\'AddAllAction\'/><menuitem name=\'deleteAction\' action=\'deleteAction\'/><menuitem " +
                                    "name=\'RenameAction\' action=\'RenameAction\'/><menuitem name=\'ChangeMetadataAction\'" +
                                    " action=\'ChangeMetadataAction\'/><separator/><menuitem name=\'sortAction\' action=\'" +
                                    "sortAction\'/></menu><menu name=\'ViewAction\' action=\'ViewAction\'><menuitem name=\'" +
                                    "ListAction\' action=\'ListAction\'/><menuitem name=\'GridAction\' action=\'GridAction\'" +
                                    "/></menu><menu name=\'AcquireAction\' action=\'AcquireAction\'><menuitem name=\'Paste" +
                                    "AcquireAction\' action=\'PasteAcquireAction\'/><menuitem name=\'refreshAction\' actio" +
                                    "n=\'refreshAction\'/><separator/><menuitem name=\'BlendAction\' action=\'BlendAction\'" +
                                    "/></menu><menu name=\'ColorAction\' action=\'ColorAction\'><menuitem name=\'goBackAct" +
                                    "ion\' action=\'goBackAction\'/><menuitem name=\'goForwardAction\' action=\'goForwardAc" +
                                    "tion\'/><separator/><menuitem name=\'CopyHexColorAction\' action=\'CopyHexColorActio" +
                                    "n\'/><menuitem name=\'CopyHSLColorAction\' action=\'CopyHSLColorAction\'/><menuitem n" +
                                    "ame=\'CopyHSVColorAction\' action=\'CopyHSVColorAction\'/><menuitem name=\'SaveAsHTML" +
                                    "ColorAction\' action=\'SaveAsHTMLColorAction\'/><separator/><menuitem name=\'Brighte" +
                                    "nAction\' action=\'BrightenAction\'/><menuitem name=\'DarkenAction\' action=\'DarkenAc" +
                                    "tion\'/><separator/><menuitem name=\'SaturateAction\' action=\'SaturateAction\'/><men" +
                                    "uitem name=\'DesaturateAction\' action=\'DesaturateAction\'/><separator/><menuitem n" +
                                    "ame=\'InvertAction\' action=\'InvertAction\'/></menu><menu name=\'HelpAction\' action=" +
                                    "\'HelpAction\'><menuitem name=\'aboutAction\' action=\'aboutAction\'/></menu></menubar" +
                                    "></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.mainVbox.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainVbox[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child mainVbox.Gtk.Box+BoxChild
     this.hpaned2          = new global::Gtk.HPaned();
     this.hpaned2.CanFocus = true;
     this.hpaned2.Name     = "hpaned2";
     this.hpaned2.Position = 156;
     // Container child hpaned2.Gtk.Paned+PanedChild
     this.paddedBox             = new global::Gtk.VBox();
     this.paddedBox.Name        = "paddedBox";
     this.paddedBox.Spacing     = 6;
     this.paddedBox.BorderWidth = ((uint)(6));
     // Container child paddedBox.Gtk.Box+BoxChild
     this.schemeBox      = new global::Gtk.ComboBox();
     this.schemeBox.Name = "schemeBox";
     this.paddedBox.Add(this.schemeBox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.paddedBox[this.schemeBox]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child paddedBox.Gtk.Box+BoxChild
     this.colorBox         = new global::Gtk.VBox();
     this.colorBox.Name    = "colorBox";
     this.colorBox.Spacing = 6;
     this.paddedBox.Add(this.colorBox);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.paddedBox[this.colorBox]));
     w4.Position = 1;
     this.hpaned2.Add(this.paddedBox);
     global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.paddedBox]));
     w5.Resize = false;
     // Container child hpaned2.Gtk.Paned+PanedChild
     this.eitherBox      = new global::Gtk.VBox();
     this.eitherBox.Name = "eitherBox";
     // Container child eitherBox.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview1                = new global::Gtk.TreeView();
     this.treeview1.CanFocus       = true;
     this.treeview1.Name           = "treeview1";
     this.treeview1.HeadersVisible = false;
     this.GtkScrolledWindow.Add(this.treeview1);
     this.eitherBox.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.eitherBox[this.GtkScrolledWindow]));
     w7.Position = 0;
     // Container child eitherBox.Gtk.Box+BoxChild
     this.colorgridwidget1           = new global::Colours.ColorGridWidget();
     this.colorgridwidget1.Sensitive = false;
     this.colorgridwidget1.Events    = ((global::Gdk.EventMask)(256));
     this.colorgridwidget1.Name      = "colorgridwidget1";
     this.eitherBox.Add(this.colorgridwidget1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.eitherBox[this.colorgridwidget1]));
     w8.Position = 1;
     w8.Expand   = false;
     this.hpaned2.Add(this.eitherBox);
     this.mainVbox.Add(this.hpaned2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.mainVbox[this.hpaned2]));
     w10.Position = 1;
     this.Add(this.mainVbox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 501;
     this.DefaultHeight = 316;
     this.colorgridwidget1.Hide();
     this.Show();
     this.DeleteEvent                         += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.goBackAction.Activated              += new global::System.EventHandler(this.OnUndoActionActivated);
     this.goForwardAction.Activated           += new global::System.EventHandler(this.OnRedoActionActivated);
     this.CopyHexColorAction.Activated        += new global::System.EventHandler(this.OnCopyHexActionActivated);
     this.CopyHSLColorAction.Activated        += new global::System.EventHandler(this.OnCopyHSLActionActivated);
     this.CopyHSVColorAction.Activated        += new global::System.EventHandler(this.OnCopyHSVActionActivated);
     this.PasteAcquireAction.Activated        += new global::System.EventHandler(this.OnPasteAcquireActionActivated);
     this.refreshAction.Activated             += new global::System.EventHandler(this.OnRandomActionActivated);
     this.BrightenAction.Activated            += new global::System.EventHandler(this.OnBrightenActionActivated);
     this.DarkenAction.Activated              += new global::System.EventHandler(this.OnDarkenActionActivated);
     this.SaturateAction.Activated            += new global::System.EventHandler(this.OnSaturateActionActivated);
     this.DesaturateAction.Activated          += new global::System.EventHandler(this.OnDesaturateActionActivated);
     this.InvertAction.Activated              += new global::System.EventHandler(this.OnInvertActionActivated);
     this.SaveAsHTMLColorAction.Activated     += new global::System.EventHandler(this.OnSaveAsHTMLColorActionActivated);
     this.quitAction.Activated                += new global::System.EventHandler(this.OnQuitActionActivated);
     this.aboutAction.Activated               += new global::System.EventHandler(this.OnAboutActionActivated);
     this.newAction.Activated                 += new global::System.EventHandler(this.OnNewActionActivated);
     this.openAction.Activated                += new global::System.EventHandler(this.OnOpenActionActivated);
     this.saveAction.Activated                += new global::System.EventHandler(this.OnSaveActionActivated);
     this.saveAsAction.Activated              += new global::System.EventHandler(this.OnSaveAsActionActivated);
     this.undoAction.Activated                += new global::System.EventHandler(this.OnPaletteUndoActionActivated);
     this.redoAction.Activated                += new global::System.EventHandler(this.OnPaletteRedoActionActivated);
     this.addAction.Activated                 += new global::System.EventHandler(this.OnAddActionActivated);
     this.deleteAction.Activated              += new global::System.EventHandler(this.OnDeleteActionActivated);
     this.AddAllAction.Activated              += new global::System.EventHandler(this.OnAddAllActionActivated);
     this.cutAction.Activated                 += new global::System.EventHandler(this.OnCutActionActivated);
     this.copyAction.Activated                += new global::System.EventHandler(this.OnCopyActionActivated);
     this.pasteAction.Activated               += new global::System.EventHandler(this.OnPasteActionActivated);
     this.ExportHTMLAction.Activated          += new global::System.EventHandler(this.OnExportHTMLActionActivated);
     this.propertiesAction.Activated          += new global::System.EventHandler(this.OnPropertiesActionActivated);
     this.BlendAction.Activated               += new global::System.EventHandler(this.OnBlendActionActivated);
     this.ListAction.Toggled                  += new global::System.EventHandler(this.OnListActionToggled);
     this.RenameAction.Activated              += new global::System.EventHandler(this.OnRenameActionActivated);
     this.sortAction.Activated                += new global::System.EventHandler(this.OnSortActionActivated);
     this.ChangeMetadataAction.Activated      += new global::System.EventHandler(this.OnChangeMetadataActionActivated);
     this.schemeBox.Changed                   += new global::System.EventHandler(this.OnSchemeBoxChanged);
     this.treeview1.RowActivated              += new global::Gtk.RowActivatedHandler(this.OnTreeview1RowActivated);
     this.treeview1.DragEnd                   += new global::Gtk.DragEndHandler(this.OnTreeview1DragEnd);
     this.treeview1.ButtonPressEvent          += new global::Gtk.ButtonPressEventHandler(this.OnTreeview1ButtonPressEvent);
     this.colorgridwidget1.FocusedColorChange += new global::System.EventHandler <System.EventArgs> (this.OnColorgridwidget1FocusedColorChange);
     this.colorgridwidget1.ColorChange        += new global::System.EventHandler <Colours.ColorGridChangeEventArgs> (this.OnColorgridwidget1ColorChange);
     this.colorgridwidget1.ColorClick         += new global::Gtk.ButtonPressEventHandler(this.OnTreeview1ButtonPressEvent);
 }
コード例 #42
0
ファイル: MainWindow.cs プロジェクト: pmkary/nexear-windows
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new");
     w1.Add (this.newAction, null);
     this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open");
     w1.Add (this.openAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w1.Add (this.saveAction, null);
     this.saveAsAction = new global::Gtk.Action ("saveAsAction", null, null, "gtk-save-as");
     w1.Add (this.saveAsAction, null);
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit");
     w1.Add (this.EditAction, null);
     this.InsertAction = new global::Gtk.Action ("InsertAction", global::Mono.Unix.Catalog.GetString ("Insert"), null, null);
     this.InsertAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert");
     w1.Add (this.InsertAction, null);
     this.PanelAction = new global::Gtk.Action ("PanelAction", global::Mono.Unix.Catalog.GetString ("Panel"), null, null);
     this.PanelAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel");
     w1.Add (this.PanelAction, null);
     this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View");
     w1.Add (this.ViewAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
     w1.Add (this.AboutAction, null);
     this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("New"), null, null);
     this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New");
     w1.Add (this.NewAction, null);
     this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("Open"), null, null);
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open");
     w1.Add (this.OpenAction, null);
     this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save As"), null, null);
     this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save As");
     w1.Add (this.SaveAsAction, null);
     this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, null);
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save");
     w1.Add (this.SaveAction, null);
     this.ReplaceAction = new global::Gtk.Action ("ReplaceAction", global::Mono.Unix.Catalog.GetString ("Replace"), null, null);
     this.ReplaceAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Replace");
     w1.Add (this.ReplaceAction, null);
     this.CommandGuideAction = new global::Gtk.Action ("CommandGuideAction", global::Mono.Unix.Catalog.GetString ("Command Guide"), null, null);
     this.CommandGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Command Guide");
     w1.Add (this.CommandGuideAction, null);
     this.NewWindowAction = new global::Gtk.Action ("NewWindowAction", global::Mono.Unix.Catalog.GetString ("New Window"), null, null);
     this.NewWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Window");
     w1.Add (this.NewWindowAction, null);
     this.FontAction = new global::Gtk.Action ("FontAction", global::Mono.Unix.Catalog.GetString ("Font"), null, null);
     this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Font");
     w1.Add (this.FontAction, null);
     this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play");
     w1.Add (this.mediaPlayAction, null);
     this.mediaPlayAction1 = new global::Gtk.Action ("mediaPlayAction1", null, null, "gtk-media-play");
     w1.Add (this.mediaPlayAction1, null);
     this.propertiesAction = new global::Gtk.Action ("propertiesAction", null, null, "gtk-properties");
     w1.Add (this.propertiesAction, null);
     this.goUpAction = new global::Gtk.Action ("goUpAction", null, null, "gtk-go-up");
     w1.Add (this.goUpAction, null);
     this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, null, "gtk-media-pause");
     w1.Add (this.mediaPauseAction, null);
     this.goDownAction = new global::Gtk.Action ("goDownAction", null, null, "gtk-go-down");
     w1.Add (this.goDownAction, null);
     this.mediaPlayAction2 = new global::Gtk.Action ("mediaPlayAction2", null, null, "gtk-media-play");
     w1.Add (this.mediaPlayAction2, null);
     this.propertiesAction1 = new global::Gtk.Action ("propertiesAction1", null, null, "gtk-properties");
     w1.Add (this.propertiesAction1, null);
     this.goUpAction1 = new global::Gtk.Action ("goUpAction1", null, null, "gtk-go-up");
     w1.Add (this.goUpAction1, null);
     this.mediaPauseAction1 = new global::Gtk.Action ("mediaPauseAction1", null, null, "gtk-media-pause");
     w1.Add (this.mediaPauseAction1, null);
     this.goDownAction1 = new global::Gtk.Action ("goDownAction1", null, null, "gtk-go-down");
     w1.Add (this.goDownAction1, null);
     this.newAction1 = new global::Gtk.Action ("newAction1", null, global::Mono.Unix.Catalog.GetString ("Make new file"), "gtk-new");
     w1.Add (this.newAction1, null);
     this.openAction1 = new global::Gtk.Action ("openAction1", null, global::Mono.Unix.Catalog.GetString ("Open file"), "gtk-open");
     w1.Add (this.openAction1, null);
     this.saveAction1 = new global::Gtk.Action ("saveAction1", null, global::Mono.Unix.Catalog.GetString ("Save"), "gtk-save");
     w1.Add (this.saveAction1, null);
     this.saveAsAction1 = new global::Gtk.Action ("saveAsAction1", null, global::Mono.Unix.Catalog.GetString ("Save as"), "gtk-save-as");
     w1.Add (this.saveAsAction1, null);
     this.goDownAction2 = new global::Gtk.Action ("goDownAction2", null, global::Mono.Unix.Catalog.GetString ("Make Panel 2 like Panel 1"), "gtk-go-down");
     w1.Add (this.goDownAction2, null);
     this.goUpAction2 = new global::Gtk.Action ("goUpAction2", null, global::Mono.Unix.Catalog.GetString ("Make Panel 1 like Panel 2"), "gtk-go-up");
     w1.Add (this.goUpAction2, null);
     this.networkAction = new global::Gtk.Action ("networkAction", null, global::Mono.Unix.Catalog.GetString ("Change Panel's contents"), "gtk-network");
     w1.Add (this.networkAction, null);
     this.findAction = new global::Gtk.Action ("findAction", null, global::Mono.Unix.Catalog.GetString ("Find a text"), "gtk-find");
     w1.Add (this.findAction, null);
     this.findAndReplaceAction = new global::Gtk.Action ("findAndReplaceAction", null, global::Mono.Unix.Catalog.GetString ("Replace a text"), "gtk-find-and-replace");
     w1.Add (this.findAndReplaceAction, null);
     this.Action = new global::Gtk.Action ("Action", null, null, null);
     w1.Add (this.Action, null);
     this.Panel1Action = new global::Gtk.Action ("Panel1Action", global::Mono.Unix.Catalog.GetString ("Panel 1"), null, null);
     this.Panel1Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel 1");
     w1.Add (this.Panel1Action, null);
     this.Panel2Action = new global::Gtk.Action ("Panel2Action", global::Mono.Unix.Catalog.GetString ("Panel 2"), null, null);
     this.Panel2Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel 2");
     w1.Add (this.Panel2Action, null);
     this.OnlineWikiAction = new global::Gtk.Action ("OnlineWikiAction", global::Mono.Unix.Catalog.GetString ("Online Wiki"), null, null);
     this.OnlineWikiAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Online Wiki");
     w1.Add (this.OnlineWikiAction, null);
     this.BugReporterAction = new global::Gtk.Action ("BugReporterAction", global::Mono.Unix.Catalog.GetString ("Bug Reporter"), null, null);
     this.BugReporterAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Bug Reporter");
     w1.Add (this.BugReporterAction, null);
     this.CommandHistoryAction = new global::Gtk.Action ("CommandHistoryAction", global::Mono.Unix.Catalog.GetString ("Command History"), null, null);
     this.CommandHistoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Command History");
     w1.Add (this.CommandHistoryAction, null);
     this.mediaPlayAction3 = new global::Gtk.Action ("mediaPlayAction3", null, null, "gtk-media-play");
     w1.Add (this.mediaPlayAction3, null);
     this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, null);
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit");
     w1.Add (this.ExitAction, null);
     this.ExportToNexearFileAction = new global::Gtk.Action ("ExportToNexearFileAction", global::Mono.Unix.Catalog.GetString ("Export to .nexear file"), null, null);
     this.ExportToNexearFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export to .nexear file");
     w1.Add (this.ExportToNexearFileAction, null);
     this.ImportFromNexearFileAction = new global::Gtk.Action ("ImportFromNexearFileAction", global::Mono.Unix.Catalog.GetString ("Import from .nexear file"), null, null);
     this.ImportFromNexearFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Import from .nexear file");
     w1.Add (this.ImportFromNexearFileAction, null);
     this.convertAction = new global::Gtk.Action ("convertAction", null, global::Mono.Unix.Catalog.GetString ("Open .nexear maker"), "gtk-convert");
     w1.Add (this.convertAction, null);
     this.openAction2 = new global::Gtk.Action ("openAction2", null, global::Mono.Unix.Catalog.GetString ("Open .nexear Importer"), "gtk-open");
     w1.Add (this.openAction2, null);
     this.ClearAction = new global::Gtk.Action ("ClearAction", global::Mono.Unix.Catalog.GetString ("Clear"), null, null);
     this.ClearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Clear");
     w1.Add (this.ClearAction, null);
     this.ChangeContentAction = new global::Gtk.Action ("ChangeContentAction", global::Mono.Unix.Catalog.GetString ("Change content"), null, null);
     this.ChangeContentAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Change content");
     w1.Add (this.ChangeContentAction, null);
     this.PanelToPanelAction = new global::Gtk.Action ("PanelToPanelAction", global::Mono.Unix.Catalog.GetString ("Panel to Panel"), null, null);
     this.PanelToPanelAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel to Panel");
     w1.Add (this.PanelToPanelAction, null);
     this.Panel1Action1 = new global::Gtk.Action ("Panel1Action1", global::Mono.Unix.Catalog.GetString ("Panel 1"), null, null);
     this.Panel1Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel 1");
     w1.Add (this.Panel1Action1, null);
     this.Panel2Action1 = new global::Gtk.Action ("Panel2Action1", global::Mono.Unix.Catalog.GetString ("Panel 2"), null, null);
     this.Panel2Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel 2");
     w1.Add (this.Panel2Action1, null);
     this.FromPanel1To2Action = new global::Gtk.Action ("FromPanel1To2Action", global::Mono.Unix.Catalog.GetString ("From Panel 1 to 2"), null, null);
     this.FromPanel1To2Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("From Panel 1 to 2");
     w1.Add (this.FromPanel1To2Action, null);
     this.FromPanel2To1Action = new global::Gtk.Action ("FromPanel2To1Action", global::Mono.Unix.Catalog.GetString ("From Panel 2 to 1"), null, null);
     this.FromPanel2To1Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("From Panel 2 to 1");
     w1.Add (this.FromPanel2To1Action, null);
     this.ManualAction = new global::Gtk.Action ("ManualAction", global::Mono.Unix.Catalog.GetString ("Manual"), null, null);
     this.ManualAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Manual");
     w1.Add (this.ManualAction, null);
     this.logsAction = new global::Gtk.Action ("logsAction", global::Mono.Unix.Catalog.GetString ("logs"), null, null);
     this.logsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("logs");
     w1.Add (this.logsAction, null);
     this.HideCommandBarAction = new global::Gtk.Action ("HideCommandBarAction", global::Mono.Unix.Catalog.GetString ("Hide Command Bar"), null, null);
     this.HideCommandBarAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hide Command Bar");
     w1.Add (this.HideCommandBarAction, null);
     this.mediaStopAction = new global::Gtk.RadioAction ("mediaStopAction", null, null, "gtk-media-stop", 0);
     this.mediaStopAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     w1.Add (this.mediaStopAction, null);
     this.mediaPlayAction4 = new global::Gtk.Action ("mediaPlayAction4", null, null, "gtk-media-play");
     w1.Add (this.mediaPlayAction4, null);
     this.FindAction = new global::Gtk.Action ("FindAction", global::Mono.Unix.Catalog.GetString ("Find"), null, null);
     this.FindAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Find");
     w1.Add (this.FindAction, null);
     this.PanelReadmodAction = new global::Gtk.Action ("PanelReadmodAction", global::Mono.Unix.Catalog.GetString ("Panel Readmod"), null, null);
     this.PanelReadmodAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel Readmod");
     w1.Add (this.PanelReadmodAction, null);
     this.p1read = new global::Gtk.Action ("p1read", global::Mono.Unix.Catalog.GetString ("Readmod panel1"), null, null);
     this.p1read.ShortLabel = global::Mono.Unix.Catalog.GetString ("Readmod panel1");
     w1.Add (this.p1read, null);
     this.p2read = new global::Gtk.Action ("p2read", global::Mono.Unix.Catalog.GetString ("Readmod panel2"), null, null);
     this.p2read.ShortLabel = global::Mono.Unix.Catalog.GetString ("Readmod panel2");
     w1.Add (this.p2read, null);
     this.ReadmodAction = new global::Gtk.Action ("ReadmodAction", global::Mono.Unix.Catalog.GetString ("Readmod"), null, null);
     this.ReadmodAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Readmod");
     w1.Add (this.ReadmodAction, null);
     this.dndAction = new global::Gtk.RadioAction ("dndAction", null, null, "gtk-dnd", 0);
     this.dndAction.Group = this.mediaStopAction.Group;
     w1.Add (this.dndAction, null);
     this.dndAction1 = new global::Gtk.Action ("dndAction1", null, null, "gtk-dnd");
     w1.Add (this.dndAction1, null);
     this.readmodt = new global::Gtk.ToggleAction ("readmodt", null, null, "gtk-dnd");
     w1.Add (this.readmodt, null);
     this.editmoderadio = new global::Gtk.RadioAction ("editmoderadio", null, null, "gtk-edit", 0);
     this.editmoderadio.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     w1.Add (this.editmoderadio, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString (" Nexear");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     // Container child hbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vs = new global::Gtk.Label ();
     this.vs.Name = "vs";
     this.vs.LabelProp = global::Mono.Unix.Catalog.GetString (" ");
     this.hbox2.Add (this.vs);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vs]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vHelpCommand = new global::Gtk.VBox ();
     this.vHelpCommand.Name = "vHelpCommand";
     this.vHelpCommand.Spacing = 6;
     // Container child vHelpCommand.Gtk.Box+BoxChild
     this.label18 = new global::Gtk.Label ();
     this.label18.Name = "label18";
     this.vHelpCommand.Add (this.label18);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.label18]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vHelpCommand.Gtk.Box+BoxChild
     this.hbox11 = new global::Gtk.HBox ();
     this.hbox11.Name = "hbox11";
     this.hbox11.Spacing = 3;
     // Container child hbox11.Gtk.Box+BoxChild
     this.label17 = new global::Gtk.Label ();
     this.label17.Name = "label17";
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Command Line User Manual");
     this.hbox11.Add (this.label17);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.label17]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     this.vHelpCommand.Add (this.hbox11);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.hbox11]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vHelpCommand.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator ();
     this.hseparator1.Name = "hseparator1";
     this.vHelpCommand.Add (this.hseparator1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.hseparator1]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vHelpCommand.Gtk.Box+BoxChild
     this.scrolledwindow4 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow4.CanFocus = true;
     this.scrolledwindow4.Name = "scrolledwindow4";
     // Container child scrolledwindow4.Gtk.Container+ContainerChild
     global::Gtk.Viewport w7 = new global::Gtk.Viewport ();
     w7.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Yalign = 0F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString (" [ ⌂ help]: To open this Help windows\n \t> [ ⌂ help -e] to close it,\n\n [ ⌂ 1c]: To clear panel 1\n\n [ ⌂ 2c]: To clear panel 2\n\n [ ⌂ p1]: To make panel1 full screen\n\n [ ⌂ p2]: To make panel2 full screen\n\n [ ⌂ ps]: To make screens half size\n\n [ ⌂ e1 {text}]: To write {text} in panel1\n\n [ ⌂ e2 {text}]: To write {text} in panel2\n\n [ ⌂ wma]: To maximaize the screen\n\n [ ⌂ e] or  [ ⌂ exit]: to exit from \n Nexear\n\n [ ⌂ replace {text}]: to make {text} \n what you want to replace\n\t>[ ⌂ replace -e] to close it\n\n [ ⌂ m21]: To make panel1's text like\n panel2\n\n [ ⌂ m21]: To make panel2's text  like\n panel1\n\n [ ⌂ m21]: To make panel1's text  like\n panel2\n\n [ ⌂ mm]: To change panels content\n\n [ ⌂ history]: To view your  command\n history\n\n\t>[ ⌂ history -e]: to close it\n\t>[ ⌂ history -c]: to clear your\n\t   commanding history\n\n [ ⌂ rn1 {text}]: To change panel1  file's\n name to {text}\n\n [ ⌂ rn2 {text}]: To change panel2 file's\n name to {text}\n\n [ ⌂ open1 {file}]: to open {file} into\n panel1\n \n [ ⌂ open2 {file}]: to open {file} into\n panel2\n");
     this.vbox2.Add (this.label11);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label11]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     w7.Add (this.vbox2);
     this.scrolledwindow4.Add (w7);
     this.vHelpCommand.Add (this.scrolledwindow4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.scrolledwindow4]));
     w11.Position = 3;
     // Container child vHelpCommand.Gtk.Box+BoxChild
     this.OnHelpCommClose = new global::Gtk.Button ();
     this.OnHelpCommClose.CanFocus = true;
     this.OnHelpCommClose.Name = "OnHelpCommClose";
     this.OnHelpCommClose.UseUnderline = true;
     this.OnHelpCommClose.Label = global::Mono.Unix.Catalog.GetString ("                                    Close                                    ");
     this.vHelpCommand.Add (this.OnHelpCommClose);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.OnHelpCommClose]));
     w12.Position = 4;
     w12.Expand = false;
     w12.Fill = false;
     this.hbox2.Add (this.vHelpCommand);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vHelpCommand]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.verror = new global::Gtk.VBox ();
     this.verror.Name = "verror";
     this.verror.Spacing = 6;
     // Container child verror.Gtk.Box+BoxChild
     this.label27 = new global::Gtk.Label ();
     this.label27.Name = "label27";
     this.label27.Xalign = 0F;
     this.label27.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Error");
     this.verror.Add (this.label27);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.verror [this.label27]));
     w14.Position = 0;
     w14.Expand = false;
     w14.Fill = false;
     // Container child verror.Gtk.Box+BoxChild
     this.hseparator2 = new global::Gtk.HSeparator ();
     this.hseparator2.Name = "hseparator2";
     this.verror.Add (this.hseparator2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.verror [this.hseparator2]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     // Container child verror.Gtk.Box+BoxChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.Xalign = 0F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString (" Error No:");
     this.verror.Add (this.label12);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.verror [this.label12]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     // Container child verror.Gtk.Box+BoxChild
     this.errornu = new global::Gtk.Label ();
     this.errornu.Name = "errornu";
     this.errornu.Xalign = 0F;
     this.verror.Add (this.errornu);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.verror [this.errornu]));
     w17.Position = 3;
     w17.Expand = false;
     w17.Fill = false;
     // Container child verror.Gtk.Box+BoxChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.Xalign = 0F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString (" Error:");
     this.verror.Add (this.label14);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.verror [this.label14]));
     w18.Position = 4;
     w18.Expand = false;
     w18.Fill = false;
     // Container child verror.Gtk.Box+BoxChild
     this.errorex = new global::Gtk.Label ();
     this.errorex.Name = "errorex";
     this.errorex.Xalign = 0F;
     this.verror.Add (this.errorex);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.verror [this.errorex]));
     w19.Position = 5;
     w19.Expand = false;
     w19.Fill = false;
     // Container child verror.Gtk.Box+BoxChild
     this.OpenBR = new global::Gtk.Button ();
     this.OpenBR.CanFocus = true;
     this.OpenBR.Name = "OpenBR";
     this.OpenBR.UseUnderline = true;
     // Container child OpenBR.Gtk.Container+ContainerChild
     global::Gtk.Alignment w20 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w21 = new global::Gtk.HBox ();
     w21.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w22 = new global::Gtk.Image ();
     w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_internet", global::Gtk.IconSize.Menu);
     w21.Add (w22);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w24 = new global::Gtk.Label ();
     w24.LabelProp = global::Mono.Unix.Catalog.GetString ("Report it");
     w24.UseUnderline = true;
     w21.Add (w24);
     w20.Add (w21);
     this.OpenBR.Add (w20);
     this.verror.Add (this.OpenBR);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.verror [this.OpenBR]));
     w28.Position = 6;
     w28.Expand = false;
     w28.Fill = false;
     // Container child verror.Gtk.Box+BoxChild
     this.button2 = new global::Gtk.Button ();
     this.button2.CanFocus = true;
     this.button2.Name = "button2";
     this.button2.UseUnderline = true;
     // Container child button2.Gtk.Container+ContainerChild
     global::Gtk.Alignment w29 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w30 = new global::Gtk.HBox ();
     w30.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w31 = new global::Gtk.Image ();
     w31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-question", global::Gtk.IconSize.Menu);
     w30.Add (w31);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w33 = new global::Gtk.Label ();
     w33.LabelProp = global::Mono.Unix.Catalog.GetString ("Read our help");
     w33.UseUnderline = true;
     w30.Add (w33);
     w29.Add (w30);
     this.button2.Add (w29);
     this.verror.Add (this.button2);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.verror [this.button2]));
     w37.Position = 7;
     w37.Expand = false;
     w37.Fill = false;
     // Container child verror.Gtk.Box+BoxChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     this.verror.Add (this.hbox6);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.verror [this.hbox6]));
     w38.Position = 8;
     // Container child verror.Gtk.Box+BoxChild
     this.OnCloseError12 = new global::Gtk.Button ();
     this.OnCloseError12.CanFocus = true;
     this.OnCloseError12.Name = "OnCloseError12";
     this.OnCloseError12.UseUnderline = true;
     this.OnCloseError12.Label = global::Mono.Unix.Catalog.GetString ("Close");
     this.verror.Add (this.OnCloseError12);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.verror [this.OnCloseError12]));
     w39.Position = 9;
     w39.Expand = false;
     w39.Fill = false;
     this.hbox2.Add (this.verror);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.verror]));
     w40.Position = 2;
     w40.Expand = false;
     w40.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vsettings = new global::Gtk.VBox ();
     this.vsettings.Name = "vsettings";
     this.vsettings.Spacing = 6;
     // Container child vsettings.Gtk.Box+BoxChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Settings\n ―—–―――――――—–――――—―");
     this.vsettings.Add (this.label8);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.label8]));
     w41.Position = 0;
     w41.Expand = false;
     w41.Fill = false;
     // Container child vsettings.Gtk.Box+BoxChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Font:");
     this.hbox7.Add (this.label10);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label10]));
     w42.Position = 0;
     w42.Expand = false;
     w42.Fill = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.fontbutton2 = new global::Gtk.FontButton ();
     this.fontbutton2.CanFocus = true;
     this.fontbutton2.Name = "fontbutton2";
     this.hbox7.Add (this.fontbutton2);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.fontbutton2]));
     w43.Position = 1;
     this.vsettings.Add (this.hbox7);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.hbox7]));
     w44.Position = 1;
     w44.Expand = false;
     w44.Fill = false;
     // Container child vsettings.Gtk.Box+BoxChild
     this.hbox8 = new global::Gtk.HBox ();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Your name:");
     this.hbox8.Add (this.label13);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label13]));
     w45.Position = 0;
     w45.Expand = false;
     w45.Fill = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.entry5 = new global::Gtk.Entry ();
     this.entry5.CanFocus = true;
     this.entry5.Name = "entry5";
     this.entry5.IsEditable = true;
     this.entry5.InvisibleChar = '•';
     this.hbox8.Add (this.entry5);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.entry5]));
     w46.Position = 1;
     this.vsettings.Add (this.hbox8);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.hbox8]));
     w47.Position = 2;
     w47.Expand = false;
     w47.Fill = false;
     // Container child vsettings.Gtk.Box+BoxChild
     this.hbox9 = new global::Gtk.HBox ();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label15 = new global::Gtk.Label ();
     this.label15.Name = "label15";
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("label7");
     this.hbox9.Add (this.label15);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label15]));
     w48.Position = 0;
     w48.Expand = false;
     w48.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.entry6 = new global::Gtk.Entry ();
     this.entry6.CanFocus = true;
     this.entry6.Name = "entry6";
     this.entry6.IsEditable = true;
     this.entry6.InvisibleChar = '•';
     this.hbox9.Add (this.entry6);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.entry6]));
     w49.Position = 1;
     this.vsettings.Add (this.hbox9);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.hbox9]));
     w50.Position = 3;
     w50.Expand = false;
     w50.Fill = false;
     // Container child vsettings.Gtk.Box+BoxChild
     this.button5 = new global::Gtk.Button ();
     this.button5.CanFocus = true;
     this.button5.Name = "button5";
     this.button5.UseUnderline = true;
     this.button5.Label = global::Mono.Unix.Catalog.GetString ("GtkButton");
     this.vsettings.Add (this.button5);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.button5]));
     w51.Position = 5;
     w51.Expand = false;
     w51.Fill = false;
     this.hbox2.Add (this.vsettings);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vsettings]));
     w52.Position = 3;
     w52.Expand = false;
     w52.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vkary = new global::Gtk.VBox ();
     this.vkary.Name = "vkary";
     this.vkary.Spacing = 6;
     // Container child vkary.Gtk.Box+BoxChild
     this.scrolledwindow3 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow3.CanFocus = true;
     this.scrolledwindow3.Name = "scrolledwindow3";
     // Container child scrolledwindow3.Gtk.Container+ContainerChild
     global::Gtk.Viewport w53 = new global::Gtk.Viewport ();
     w53.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 0F;
     this.label9.Yalign = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Pouya Kary\n ―—–――――――――――――――\n Hi! this is Pouya Kary, main writer of\n this tiny text editor!\n\n You may used  [⌂ kary] or [⌂ pouya]\n to find this page!\n\n However! this is my page in Nexear\n I'm a GNU, Free Software, LEGO fan\n and a Hacker , BaseKiteer, LEGO Pro\n Pianist and CEO of a tiny foundation\n called \"Pouya Animation\" as a non-\n profit workspace for everyone who\n love software!\n\n I'm also a part of GNU Project, (I'm\n main maintainer of GNU Gleem) &\n a translator in Sugar on a Strick &\n head of devs in Pouya Animation\n\n If you want to contact me this is my \n contact:\n Email:\n [email protected] or [email protected]\n Website:\n www.thepa.mx/~kary\n\n Regards!");
     w53.Add (this.label9);
     this.scrolledwindow3.Add (w53);
     this.vkary.Add (this.scrolledwindow3);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vkary [this.scrolledwindow3]));
     w56.Position = 0;
     // Container child vkary.Gtk.Box+BoxChild
     this.KaryClose = new global::Gtk.Button ();
     this.KaryClose.CanFocus = true;
     this.KaryClose.Name = "KaryClose";
     this.KaryClose.UseUnderline = true;
     this.KaryClose.Label = global::Mono.Unix.Catalog.GetString ("                                    Close                                    ");
     this.vkary.Add (this.KaryClose);
     global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vkary [this.KaryClose]));
     w57.Position = 1;
     w57.Expand = false;
     w57.Fill = false;
     this.hbox2.Add (this.vkary);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vkary]));
     w58.Position = 4;
     w58.Expand = false;
     w58.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vreplace = new global::Gtk.VBox ();
     this.vreplace.Name = "vreplace";
     this.vreplace.Spacing = 4;
     // Container child vreplace.Gtk.Box+BoxChild
     this.label28 = new global::Gtk.Label ();
     this.label28.Name = "label28";
     this.label28.Xalign = 0F;
     this.label28.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Replace");
     this.vreplace.Add (this.label28);
     global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.label28]));
     w59.Position = 0;
     w59.Expand = false;
     w59.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.hseparator3 = new global::Gtk.HSeparator ();
     this.hseparator3.Name = "hseparator3";
     this.vreplace.Add (this.hseparator3);
     global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.hseparator3]));
     w60.Position = 1;
     w60.Expand = false;
     w60.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString (" replace:");
     this.vreplace.Add (this.label6);
     global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.label6]));
     w61.Position = 2;
     w61.Expand = false;
     w61.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.hbox14 = new global::Gtk.HBox ();
     this.hbox14.Name = "hbox14";
     this.hbox14.Spacing = 6;
     // Container child hbox14.Gtk.Box+BoxChild
     this.ReplaceName = new global::Gtk.Entry ();
     this.ReplaceName.CanFocus = true;
     this.ReplaceName.Name = "ReplaceName";
     this.ReplaceName.IsEditable = true;
     this.ReplaceName.InvisibleChar = '•';
     this.hbox14.Add (this.ReplaceName);
     global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.ReplaceName]));
     w62.Position = 0;
     // Container child hbox14.Gtk.Box+BoxChild
     this.button11 = new global::Gtk.Button ();
     this.button11.CanFocus = true;
     this.button11.Name = "button11";
     this.button11.UseUnderline = true;
     this.button11.Label = global::Mono.Unix.Catalog.GetString ("↵");
     this.hbox14.Add (this.button11);
     global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.button11]));
     w63.Position = 1;
     w63.Expand = false;
     w63.Fill = false;
     // Container child hbox14.Gtk.Box+BoxChild
     this.button13 = new global::Gtk.Button ();
     this.button13.CanFocus = true;
     this.button13.Name = "button13";
     this.button13.UseUnderline = true;
     this.button13.Label = global::Mono.Unix.Catalog.GetString ("✖");
     this.hbox14.Add (this.button13);
     global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.button13]));
     w64.Position = 2;
     w64.Expand = false;
     w64.Fill = false;
     this.vreplace.Add (this.hbox14);
     global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.hbox14]));
     w65.Position = 3;
     w65.Expand = false;
     w65.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 0F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString (" with:");
     this.vreplace.Add (this.label7);
     global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.label7]));
     w66.Position = 4;
     w66.Expand = false;
     w66.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.hbox15 = new global::Gtk.HBox ();
     this.hbox15.Name = "hbox15";
     this.hbox15.Spacing = 6;
     // Container child hbox15.Gtk.Box+BoxChild
     this.ReplaceWith = new global::Gtk.Entry ();
     this.ReplaceWith.CanFocus = true;
     this.ReplaceWith.Name = "ReplaceWith";
     this.ReplaceWith.IsEditable = true;
     this.ReplaceWith.InvisibleChar = '•';
     this.hbox15.Add (this.ReplaceWith);
     global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.ReplaceWith]));
     w67.Position = 0;
     // Container child hbox15.Gtk.Box+BoxChild
     this.button15 = new global::Gtk.Button ();
     this.button15.CanFocus = true;
     this.button15.Name = "button15";
     this.button15.UseUnderline = true;
     this.button15.Label = global::Mono.Unix.Catalog.GetString ("↵");
     this.hbox15.Add (this.button15);
     global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.button15]));
     w68.Position = 1;
     w68.Expand = false;
     w68.Fill = false;
     // Container child hbox15.Gtk.Box+BoxChild
     this.button14 = new global::Gtk.Button ();
     this.button14.CanFocus = true;
     this.button14.Name = "button14";
     this.button14.UseUnderline = true;
     this.button14.Label = global::Mono.Unix.Catalog.GetString ("✖");
     this.hbox15.Add (this.button14);
     global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.button14]));
     w69.Position = 2;
     w69.Expand = false;
     w69.Fill = false;
     this.vreplace.Add (this.hbox15);
     global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.hbox15]));
     w70.Position = 5;
     w70.Expand = false;
     w70.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.label8976 = new global::Gtk.Label ();
     this.label8976.Name = "label8976";
     this.label8976.Xalign = 0F;
     this.label8976.LabelProp = global::Mono.Unix.Catalog.GetString (" Replace into panel:");
     this.vreplace.Add (this.label8976);
     global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.label8976]));
     w71.Position = 6;
     w71.Expand = false;
     w71.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.ReplacePanelNo = global::Gtk.ComboBox.NewText ();
     this.ReplacePanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 1"));
     this.ReplacePanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 2"));
     this.ReplacePanelNo.Name = "ReplacePanelNo";
     this.ReplacePanelNo.Active = 0;
     this.vreplace.Add (this.ReplacePanelNo);
     global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.ReplacePanelNo]));
     w72.Position = 7;
     w72.Expand = false;
     w72.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.ReplaceGo = new global::Gtk.Button ();
     this.ReplaceGo.CanFocus = true;
     this.ReplaceGo.Name = "ReplaceGo";
     this.ReplaceGo.UseUnderline = true;
     // Container child ReplaceGo.Gtk.Container+ContainerChild
     global::Gtk.Alignment w73 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w74 = new global::Gtk.HBox ();
     w74.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w75 = new global::Gtk.Image ();
     w75.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_repeat", global::Gtk.IconSize.Menu);
     w74.Add (w75);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w77 = new global::Gtk.Label ();
     w77.LabelProp = global::Mono.Unix.Catalog.GetString ("Replace!");
     w77.UseUnderline = true;
     w74.Add (w77);
     w73.Add (w74);
     this.ReplaceGo.Add (w73);
     this.vreplace.Add (this.ReplaceGo);
     global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.ReplaceGo]));
     w81.Position = 8;
     w81.Expand = false;
     w81.Fill = false;
     // Container child vreplace.Gtk.Box+BoxChild
     this.hbox12 = new global::Gtk.HBox ();
     this.hbox12.Name = "hbox12";
     this.hbox12.Spacing = 6;
     this.vreplace.Add (this.hbox12);
     global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.hbox12]));
     w82.Position = 9;
     // Container child vreplace.Gtk.Box+BoxChild
     this.ReplaceCancel = new global::Gtk.Button ();
     this.ReplaceCancel.CanFocus = true;
     this.ReplaceCancel.Name = "ReplaceCancel";
     this.ReplaceCancel.UseUnderline = true;
     this.ReplaceCancel.Label = global::Mono.Unix.Catalog.GetString ("Cancel");
     this.vreplace.Add (this.ReplaceCancel);
     global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.ReplaceCancel]));
     w83.Position = 10;
     w83.Expand = false;
     w83.Fill = false;
     this.hbox2.Add (this.vreplace);
     global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vreplace]));
     w84.Position = 5;
     w84.Expand = false;
     w84.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vsave = new global::Gtk.VBox ();
     this.vsave.Name = "vsave";
     this.vsave.Spacing = 4;
     // Container child vsave.Gtk.Box+BoxChild
     this.label29 = new global::Gtk.Label ();
     this.label29.Name = "label29";
     this.label29.Xalign = 0F;
     this.label29.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Save File");
     this.vsave.Add (this.label29);
     global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.vsave [this.label29]));
     w85.Position = 0;
     w85.Expand = false;
     w85.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.hseparator4 = new global::Gtk.HSeparator ();
     this.hseparator4.Name = "hseparator4";
     this.vsave.Add (this.hseparator4);
     global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.vsave [this.hseparator4]));
     w86.Position = 1;
     w86.Expand = false;
     w86.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 0F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString (" Your file's name:");
     this.vsave.Add (this.label4);
     global::Gtk.Box.BoxChild w87 = ((global::Gtk.Box.BoxChild)(this.vsave [this.label4]));
     w87.Position = 2;
     w87.Expand = false;
     w87.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.SaveFileName = new global::Gtk.Entry ();
     this.SaveFileName.CanFocus = true;
     this.SaveFileName.Name = "SaveFileName";
     this.SaveFileName.IsEditable = true;
     this.SaveFileName.InvisibleChar = '•';
     this.vsave.Add (this.SaveFileName);
     global::Gtk.Box.BoxChild w88 = ((global::Gtk.Box.BoxChild)(this.vsave [this.SaveFileName]));
     w88.Position = 3;
     w88.Expand = false;
     w88.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.label19 = new global::Gtk.Label ();
     this.label19.Name = "label19";
     this.label19.Xalign = 0F;
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString (" Select where you want to save");
     this.vsave.Add (this.label19);
     global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.vsave [this.label19]));
     w89.Position = 4;
     w89.Expand = false;
     w89.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.wheretosave = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(2)));
     this.wheretosave.Name = "wheretosave";
     this.vsave.Add (this.wheretosave);
     global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.vsave [this.wheretosave]));
     w90.Position = 5;
     w90.Expand = false;
     w90.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString (" Your file's panel:");
     this.vsave.Add (this.label5);
     global::Gtk.Box.BoxChild w91 = ((global::Gtk.Box.BoxChild)(this.vsave [this.label5]));
     w91.Position = 6;
     w91.Expand = false;
     w91.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.SavePanelNo = global::Gtk.ComboBox.NewText ();
     this.SavePanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 1"));
     this.SavePanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 2"));
     this.SavePanelNo.TooltipMarkup = "Use this button to select with panel's content have to save in your file";
     this.SavePanelNo.Name = "SavePanelNo";
     this.SavePanelNo.Active = 0;
     this.vsave.Add (this.SavePanelNo);
     global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(this.vsave [this.SavePanelNo]));
     w92.Position = 7;
     w92.Expand = false;
     w92.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.SaveButton = new global::Gtk.Button ();
     this.SaveButton.CanFocus = true;
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.UseUnderline = true;
     // Container child SaveButton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w93 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w94 = new global::Gtk.HBox ();
     w94.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w95 = new global::Gtk.Image ();
     w95.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     w94.Add (w95);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w97 = new global::Gtk.Label ();
     w97.LabelProp = global::Mono.Unix.Catalog.GetString ("Save!");
     w97.UseUnderline = true;
     w94.Add (w97);
     w93.Add (w94);
     this.SaveButton.Add (w93);
     this.vsave.Add (this.SaveButton);
     global::Gtk.Box.BoxChild w101 = ((global::Gtk.Box.BoxChild)(this.vsave [this.SaveButton]));
     w101.Position = 8;
     w101.Expand = false;
     w101.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.button3 = new global::Gtk.Button ();
     this.button3.CanFocus = true;
     this.button3.Name = "button3";
     this.button3.UseUnderline = true;
     this.button3.Label = global::Mono.Unix.Catalog.GetString ("                          Cancel                          ");
     this.vsave.Add (this.button3);
     global::Gtk.Box.BoxChild w102 = ((global::Gtk.Box.BoxChild)(this.vsave [this.button3]));
     w102.PackType = ((global::Gtk.PackType)(1));
     w102.Position = 9;
     w102.Expand = false;
     w102.Fill = false;
     // Container child vsave.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     this.vsave.Add (this.hbox5);
     global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.vsave [this.hbox5]));
     w103.PackType = ((global::Gtk.PackType)(1));
     w103.Position = 10;
     // Container child vsave.Gtk.Box+BoxChild
     this.oexists = new global::Gtk.Frame ();
     this.oexists.Name = "oexists";
     this.oexists.ShadowType = ((global::Gtk.ShadowType)(4));
     this.oexists.LabelXalign = 0.5F;
     // Container child oexists.Gtk.Container+ContainerChild
     this.GtkAlignment6 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment6.Name = "GtkAlignment6";
     this.GtkAlignment6.LeftPadding = ((uint)(12));
     // Container child GtkAlignment6.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("This file is really exists");
     this.vbox1.Add (this.label3);
     global::Gtk.Box.BoxChild w104 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label3]));
     w104.Position = 0;
     w104.Expand = false;
     w104.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.button1 = new global::Gtk.Button ();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label = global::Mono.Unix.Catalog.GetString ("Replace it");
     this.vbox1.Add (this.button1);
     global::Gtk.Box.BoxChild w105 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button1]));
     w105.Position = 1;
     w105.Expand = false;
     w105.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.button6 = new global::Gtk.Button ();
     this.button6.CanFocus = true;
     this.button6.Name = "button6";
     this.button6.UseUnderline = true;
     this.button6.Label = global::Mono.Unix.Catalog.GetString ("No cancel it!");
     this.vbox1.Add (this.button6);
     global::Gtk.Box.BoxChild w106 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button6]));
     w106.Position = 2;
     w106.Expand = false;
     w106.Fill = false;
     this.GtkAlignment6.Add (this.vbox1);
     this.oexists.Add (this.GtkAlignment6);
     this.GtkLabel26 = new global::Gtk.Label ();
     this.GtkLabel26.Name = "GtkLabel26";
     this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString ("Opps!");
     this.GtkLabel26.UseMarkup = true;
     this.oexists.LabelWidget = this.GtkLabel26;
     this.vsave.Add (this.oexists);
     global::Gtk.Box.BoxChild w109 = ((global::Gtk.Box.BoxChild)(this.vsave [this.oexists]));
     w109.PackType = ((global::Gtk.PackType)(1));
     w109.Position = 11;
     w109.Expand = false;
     w109.Fill = false;
     this.hbox2.Add (this.vsave);
     global::Gtk.Box.BoxChild w110 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vsave]));
     w110.Position = 6;
     w110.Expand = false;
     w110.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vopen = new global::Gtk.VBox ();
     this.vopen.Name = "vopen";
     this.vopen.Spacing = 3;
     // Container child vopen.Gtk.Box+BoxChild
     this.label30 = new global::Gtk.Label ();
     this.label30.Name = "label30";
     this.label30.Xalign = 0F;
     this.label30.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Open File");
     this.vopen.Add (this.label30);
     global::Gtk.Box.BoxChild w111 = ((global::Gtk.Box.BoxChild)(this.vopen [this.label30]));
     w111.Position = 0;
     w111.Expand = false;
     w111.Fill = false;
     // Container child vopen.Gtk.Box+BoxChild
     this.hseparator5 = new global::Gtk.HSeparator ();
     this.hseparator5.Name = "hseparator5";
     this.vopen.Add (this.hseparator5);
     global::Gtk.Box.BoxChild w112 = ((global::Gtk.Box.BoxChild)(this.vopen [this.hseparator5]));
     w112.Position = 1;
     w112.Expand = false;
     w112.Fill = false;
     // Container child vopen.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     // Container child vbox3.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString (" Select your file");
     this.vbox3.Add (this.label1);
     global::Gtk.Box.BoxChild w113 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1]));
     w113.Position = 0;
     w113.Expand = false;
     w113.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.openwhere = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(0)));
     this.openwhere.TooltipMarkup = "Use this button to select your file";
     this.openwhere.Name = "openwhere";
     this.vbox3.Add (this.openwhere);
     global::Gtk.Box.BoxChild w114 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.openwhere]));
     w114.Position = 1;
     w114.Expand = false;
     w114.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString (" Open Into:");
     this.vbox3.Add (this.label2);
     global::Gtk.Box.BoxChild w115 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2]));
     w115.Position = 2;
     w115.Expand = false;
     w115.Fill = false;
     this.vopen.Add (this.vbox3);
     global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.vopen [this.vbox3]));
     w116.Position = 2;
     w116.Expand = false;
     w116.Fill = false;
     // Container child vopen.Gtk.Box+BoxChild
     this.OpenPanelNo = global::Gtk.ComboBox.NewText ();
     this.OpenPanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 1"));
     this.OpenPanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 2"));
     this.OpenPanelNo.TooltipMarkup = "Select what Panel you want to use to open your file into";
     this.OpenPanelNo.Name = "OpenPanelNo";
     this.OpenPanelNo.Active = 0;
     this.vopen.Add (this.OpenPanelNo);
     global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.vopen [this.OpenPanelNo]));
     w117.Position = 3;
     w117.Expand = false;
     w117.Fill = false;
     // Container child vopen.Gtk.Box+BoxChild
     this.OpenButton = new global::Gtk.Button ();
     this.OpenButton.CanFocus = true;
     this.OpenButton.Name = "OpenButton";
     this.OpenButton.UseUnderline = true;
     // Container child OpenButton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w118 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w119 = new global::Gtk.HBox ();
     w119.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w120 = new global::Gtk.Image ();
     w120.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-directory", global::Gtk.IconSize.Menu);
     w119.Add (w120);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w122 = new global::Gtk.Label ();
     w122.LabelProp = global::Mono.Unix.Catalog.GetString ("Open!");
     w122.UseUnderline = true;
     w119.Add (w122);
     w118.Add (w119);
     this.OpenButton.Add (w118);
     this.vopen.Add (this.OpenButton);
     global::Gtk.Box.BoxChild w126 = ((global::Gtk.Box.BoxChild)(this.vopen [this.OpenButton]));
     w126.Position = 4;
     w126.Expand = false;
     w126.Fill = false;
     // Container child vopen.Gtk.Box+BoxChild
     this.odsave = new global::Gtk.Frame ();
     this.odsave.Name = "odsave";
     this.odsave.LabelXalign = 0.5F;
     // Container child odsave.Gtk.Container+ContainerChild
     this.GtkAlignment7 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment7.Name = "GtkAlignment7";
     this.GtkAlignment7.LeftPadding = ((uint)(12));
     // Container child GtkAlignment7.Gtk.Container+ContainerChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.label20 = new global::Gtk.Label ();
     this.label20.Name = "label20";
     this.label20.LabelProp = global::Mono.Unix.Catalog.GetString ("You didn't saved the content\nof this panel are you sure you\nwant to open a new file?");
     this.vbox4.Add (this.label20);
     global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label20]));
     w127.Position = 0;
     w127.Expand = false;
     w127.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.button7 = new global::Gtk.Button ();
     this.button7.CanFocus = true;
     this.button7.Name = "button7";
     this.button7.UseUnderline = true;
     this.button7.Label = global::Mono.Unix.Catalog.GetString ("Open The New File");
     this.vbox4.Add (this.button7);
     global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.button7]));
     w128.Position = 1;
     w128.Expand = false;
     w128.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.button8 = new global::Gtk.Button ();
     this.button8.CanFocus = true;
     this.button8.Name = "button8";
     this.button8.UseUnderline = true;
     this.button8.Label = global::Mono.Unix.Catalog.GetString ("Save that text");
     this.vbox4.Add (this.button8);
     global::Gtk.Box.BoxChild w129 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.button8]));
     w129.Position = 2;
     w129.Expand = false;
     w129.Fill = false;
     this.GtkAlignment7.Add (this.vbox4);
     this.odsave.Add (this.GtkAlignment7);
     this.GtkLabel29 = new global::Gtk.Label ();
     this.GtkLabel29.Name = "GtkLabel29";
     this.GtkLabel29.LabelProp = global::Mono.Unix.Catalog.GetString ("Oops!");
     this.GtkLabel29.UseMarkup = true;
     this.odsave.LabelWidget = this.GtkLabel29;
     this.vopen.Add (this.odsave);
     global::Gtk.Box.BoxChild w132 = ((global::Gtk.Box.BoxChild)(this.vopen [this.odsave]));
     w132.Position = 5;
     w132.Expand = false;
     w132.Fill = false;
     // Container child vopen.Gtk.Box+BoxChild
     this.odotnexear = new global::Gtk.Frame ();
     this.odotnexear.Name = "odotnexear";
     this.odotnexear.LabelXalign = 0.5F;
     // Container child odotnexear.Gtk.Container+ContainerChild
     this.GtkAlignment12 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment12.Name = "GtkAlignment12";
     this.GtkAlignment12.LeftPadding = ((uint)(12));
     // Container child GtkAlignment12.Gtk.Container+ContainerChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label25 = new global::Gtk.Label ();
     this.label25.Name = "label25";
     this.label25.LabelProp = global::Mono.Unix.Catalog.GetString ("This is a \".nexear\" file do you \nwant to open it with \" .nexear\" \nimporter?");
     this.vbox6.Add (this.label25);
     global::Gtk.Box.BoxChild w133 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label25]));
     w133.Position = 0;
     w133.Expand = false;
     w133.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.button21 = new global::Gtk.Button ();
     this.button21.CanFocus = true;
     this.button21.Name = "button21";
     this.button21.UseUnderline = true;
     this.button21.Label = global::Mono.Unix.Catalog.GetString ("Open it with Importer");
     this.vbox6.Add (this.button21);
     global::Gtk.Box.BoxChild w134 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.button21]));
     w134.Position = 1;
     w134.Expand = false;
     w134.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.button22 = new global::Gtk.Button ();
     this.button22.CanFocus = true;
     this.button22.Name = "button22";
     this.button22.UseUnderline = true;
     this.button22.Label = global::Mono.Unix.Catalog.GetString ("Continue with normal opener");
     this.vbox6.Add (this.button22);
     global::Gtk.Box.BoxChild w135 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.button22]));
     w135.Position = 2;
     w135.Expand = false;
     w135.Fill = false;
     this.GtkAlignment12.Add (this.vbox6);
     this.odotnexear.Add (this.GtkAlignment12);
     this.GtkLabel46 = new global::Gtk.Label ();
     this.GtkLabel46.Name = "GtkLabel46";
     this.GtkLabel46.LabelProp = global::Mono.Unix.Catalog.GetString ("Oops!");
     this.GtkLabel46.UseMarkup = true;
     this.odotnexear.LabelWidget = this.GtkLabel46;
     this.vopen.Add (this.odotnexear);
     global::Gtk.Box.BoxChild w138 = ((global::Gtk.Box.BoxChild)(this.vopen [this.odotnexear]));
     w138.Position = 6;
     w138.Expand = false;
     w138.Fill = false;
     // Container child vopen.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     this.vopen.Add (this.hbox4);
     global::Gtk.Box.BoxChild w139 = ((global::Gtk.Box.BoxChild)(this.vopen [this.hbox4]));
     w139.Position = 7;
     // Container child vopen.Gtk.Box+BoxChild
     this.button4 = new global::Gtk.Button ();
     this.button4.CanFocus = true;
     this.button4.Name = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label = global::Mono.Unix.Catalog.GetString ("                          Cancel                          ");
     this.vopen.Add (this.button4);
     global::Gtk.Box.BoxChild w140 = ((global::Gtk.Box.BoxChild)(this.vopen [this.button4]));
     w140.PackType = ((global::Gtk.PackType)(1));
     w140.Position = 8;
     w140.Expand = false;
     w140.Fill = false;
     this.hbox2.Add (this.vopen);
     global::Gtk.Box.BoxChild w141 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vopen]));
     w141.Position = 7;
     w141.Expand = false;
     w141.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vhistory = new global::Gtk.VBox ();
     this.vhistory.Name = "vhistory";
     this.vhistory.Spacing = 6;
     // Container child vhistory.Gtk.Box+BoxChild
     this.label16 = new global::Gtk.Label ();
     this.label16.Name = "label16";
     this.label16.Xalign = 0F;
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Command History");
     this.vhistory.Add (this.label16);
     global::Gtk.Box.BoxChild w142 = ((global::Gtk.Box.BoxChild)(this.vhistory [this.label16]));
     w142.Position = 0;
     w142.Expand = false;
     w142.Fill = false;
     // Container child vhistory.Gtk.Box+BoxChild
     this.hseparator6 = new global::Gtk.HSeparator ();
     this.hseparator6.Name = "hseparator6";
     this.vhistory.Add (this.hseparator6);
     global::Gtk.Box.BoxChild w143 = ((global::Gtk.Box.BoxChild)(this.vhistory [this.hseparator6]));
     w143.Position = 1;
     w143.Expand = false;
     w143.Fill = false;
     // Container child vhistory.Gtk.Box+BoxChild
     this.scrolledwindow5 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow5.CanFocus = true;
     this.scrolledwindow5.Name = "scrolledwindow5";
     // Container child scrolledwindow5.Gtk.Container+ContainerChild
     global::Gtk.Viewport w144 = new global::Gtk.Viewport ();
     w144.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport2.Gtk.Container+ContainerChild
     this.lhistory = new global::Gtk.Label ();
     this.lhistory.Name = "lhistory";
     this.lhistory.Xalign = 0F;
     this.lhistory.Yalign = 0F;
     w144.Add (this.lhistory);
     this.scrolledwindow5.Add (w144);
     this.vhistory.Add (this.scrolledwindow5);
     global::Gtk.Box.BoxChild w147 = ((global::Gtk.Box.BoxChild)(this.vhistory [this.scrolledwindow5]));
     w147.Position = 2;
     // Container child vhistory.Gtk.Box+BoxChild
     this.OnHistoryCloseB = new global::Gtk.Button ();
     this.OnHistoryCloseB.CanFocus = true;
     this.OnHistoryCloseB.Name = "OnHistoryCloseB";
     this.OnHistoryCloseB.UseUnderline = true;
     this.OnHistoryCloseB.Label = global::Mono.Unix.Catalog.GetString ("                                    Close                                    ");
     this.vhistory.Add (this.OnHistoryCloseB);
     global::Gtk.Box.BoxChild w148 = ((global::Gtk.Box.BoxChild)(this.vhistory [this.OnHistoryCloseB]));
     w148.Position = 3;
     w148.Expand = false;
     w148.Fill = false;
     this.hbox2.Add (this.vhistory);
     global::Gtk.Box.BoxChild w149 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vhistory]));
     w149.Position = 8;
     w149.Expand = false;
     w149.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vNexMaker = new global::Gtk.VBox ();
     this.vNexMaker.Name = "vNexMaker";
     this.vNexMaker.Spacing = 6;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.label31 = new global::Gtk.Label ();
     this.label31.Name = "label31";
     this.label31.Xalign = 0F;
     this.label31.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Nexear Maker");
     this.vNexMaker.Add (this.label31);
     global::Gtk.Box.BoxChild w150 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.label31]));
     w150.Position = 0;
     w150.Expand = false;
     w150.Fill = false;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.hseparator7 = new global::Gtk.HSeparator ();
     this.hseparator7.Name = "hseparator7";
     this.vNexMaker.Add (this.hseparator7);
     global::Gtk.Box.BoxChild w151 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.hseparator7]));
     w151.Position = 1;
     w151.Expand = false;
     w151.Fill = false;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.label22 = new global::Gtk.Label ();
     this.label22.Name = "label22";
     this.label22.Xalign = 0F;
     this.label22.LabelProp = global::Mono.Unix.Catalog.GetString (" Writer a name for your file:");
     this.vNexMaker.Add (this.label22);
     global::Gtk.Box.BoxChild w152 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.label22]));
     w152.Position = 2;
     w152.Expand = false;
     w152.Fill = false;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.SaveNexearName = new global::Gtk.Entry ();
     this.SaveNexearName.CanFocus = true;
     this.SaveNexearName.Name = "SaveNexearName";
     this.SaveNexearName.IsEditable = true;
     this.SaveNexearName.InvisibleChar = '•';
     this.vNexMaker.Add (this.SaveNexearName);
     global::Gtk.Box.BoxChild w153 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.SaveNexearName]));
     w153.Position = 3;
     w153.Expand = false;
     w153.Fill = false;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.label23 = new global::Gtk.Label ();
     this.label23.Name = "label23";
     this.label23.Xalign = 0F;
     this.label23.LabelProp = global::Mono.Unix.Catalog.GetString (" Select where you want to save\n your file");
     this.vNexMaker.Add (this.label23);
     global::Gtk.Box.BoxChild w154 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.label23]));
     w154.Position = 4;
     w154.Expand = false;
     w154.Fill = false;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.SaveNexearWhere = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(2)));
     this.SaveNexearWhere.Name = "SaveNexearWhere";
     this.vNexMaker.Add (this.SaveNexearWhere);
     global::Gtk.Box.BoxChild w155 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.SaveNexearWhere]));
     w155.Position = 5;
     w155.Expand = false;
     w155.Fill = false;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.button17 = new global::Gtk.Button ();
     this.button17.CanFocus = true;
     this.button17.Name = "button17";
     this.button17.UseUnderline = true;
     // Container child button17.Gtk.Container+ContainerChild
     global::Gtk.Alignment w156 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w157 = new global::Gtk.HBox ();
     w157.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w158 = new global::Gtk.Image ();
     w158.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-convert", global::Gtk.IconSize.Menu);
     w157.Add (w158);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w160 = new global::Gtk.Label ();
     w160.LabelProp = global::Mono.Unix.Catalog.GetString ("Make the file");
     w160.UseUnderline = true;
     w157.Add (w160);
     w156.Add (w157);
     this.button17.Add (w156);
     this.vNexMaker.Add (this.button17);
     global::Gtk.Box.BoxChild w164 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.button17]));
     w164.Position = 6;
     w164.Expand = false;
     w164.Fill = false;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.onexearexists = new global::Gtk.Frame ();
     this.onexearexists.Name = "onexearexists";
     this.onexearexists.LabelXalign = 0.5F;
     // Container child onexearexists.Gtk.Container+ContainerChild
     this.GtkAlignment13 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment13.Name = "GtkAlignment13";
     this.GtkAlignment13.LeftPadding = ((uint)(12));
     // Container child GtkAlignment13.Gtk.Container+ContainerChild
     this.vbox7 = new global::Gtk.VBox ();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.label26 = new global::Gtk.Label ();
     this.label26.Name = "label26";
     this.label26.LabelProp = global::Mono.Unix.Catalog.GetString ("The file exists");
     this.vbox7.Add (this.label26);
     global::Gtk.Box.BoxChild w165 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.label26]));
     w165.Position = 0;
     w165.Expand = false;
     w165.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.button23 = new global::Gtk.Button ();
     this.button23.CanFocus = true;
     this.button23.Name = "button23";
     this.button23.UseUnderline = true;
     this.button23.Label = global::Mono.Unix.Catalog.GetString ("Replace It");
     this.vbox7.Add (this.button23);
     global::Gtk.Box.BoxChild w166 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.button23]));
     w166.Position = 1;
     w166.Expand = false;
     w166.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.button24 = new global::Gtk.Button ();
     this.button24.CanFocus = true;
     this.button24.Name = "button24";
     this.button24.UseUnderline = true;
     this.button24.Label = global::Mono.Unix.Catalog.GetString ("No Cancel It!");
     this.vbox7.Add (this.button24);
     global::Gtk.Box.BoxChild w167 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.button24]));
     w167.Position = 2;
     w167.Expand = false;
     w167.Fill = false;
     this.GtkAlignment13.Add (this.vbox7);
     this.onexearexists.Add (this.GtkAlignment13);
     this.GtkLabel49 = new global::Gtk.Label ();
     this.GtkLabel49.Name = "GtkLabel49";
     this.GtkLabel49.LabelProp = global::Mono.Unix.Catalog.GetString ("Oops!");
     this.GtkLabel49.UseMarkup = true;
     this.onexearexists.LabelWidget = this.GtkLabel49;
     this.vNexMaker.Add (this.onexearexists);
     global::Gtk.Box.BoxChild w170 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.onexearexists]));
     w170.Position = 7;
     w170.Expand = false;
     w170.Fill = false;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.hbox17 = new global::Gtk.HBox ();
     this.hbox17.Name = "hbox17";
     this.hbox17.Spacing = 6;
     this.vNexMaker.Add (this.hbox17);
     global::Gtk.Box.BoxChild w171 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.hbox17]));
     w171.Position = 8;
     // Container child vNexMaker.Gtk.Box+BoxChild
     this.button18 = new global::Gtk.Button ();
     this.button18.CanFocus = true;
     this.button18.Name = "button18";
     this.button18.UseUnderline = true;
     this.button18.Label = global::Mono.Unix.Catalog.GetString ("                             Cancel                             ");
     this.vNexMaker.Add (this.button18);
     global::Gtk.Box.BoxChild w172 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.button18]));
     w172.Position = 9;
     w172.Expand = false;
     w172.Fill = false;
     this.hbox2.Add (this.vNexMaker);
     global::Gtk.Box.BoxChild w173 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vNexMaker]));
     w173.Position = 9;
     w173.Expand = false;
     w173.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vNexImporter = new global::Gtk.VBox ();
     this.vNexImporter.Name = "vNexImporter";
     this.vNexImporter.Spacing = 6;
     // Container child vNexImporter.Gtk.Box+BoxChild
     this.label32 = new global::Gtk.Label ();
     this.label32.Name = "label32";
     this.label32.Xalign = 0F;
     this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Nexear Importer");
     this.vNexImporter.Add (this.label32);
     global::Gtk.Box.BoxChild w174 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.label32]));
     w174.Position = 0;
     w174.Expand = false;
     w174.Fill = false;
     // Container child vNexImporter.Gtk.Box+BoxChild
     this.hseparator8 = new global::Gtk.HSeparator ();
     this.hseparator8.Name = "hseparator8";
     this.vNexImporter.Add (this.hseparator8);
     global::Gtk.Box.BoxChild w175 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.hseparator8]));
     w175.Position = 1;
     w175.Expand = false;
     w175.Fill = false;
     // Container child vNexImporter.Gtk.Box+BoxChild
     this.label24 = new global::Gtk.Label ();
     this.label24.Name = "label24";
     this.label24.Xalign = 0F;
     this.label24.LabelProp = global::Mono.Unix.Catalog.GetString (" Select the file you want to open");
     this.vNexImporter.Add (this.label24);
     global::Gtk.Box.BoxChild w176 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.label24]));
     w176.Position = 2;
     w176.Expand = false;
     w176.Fill = false;
     // Container child vNexImporter.Gtk.Box+BoxChild
     this.OpenNexearWhere = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(0)));
     this.OpenNexearWhere.Name = "OpenNexearWhere";
     this.vNexImporter.Add (this.OpenNexearWhere);
     global::Gtk.Box.BoxChild w177 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.OpenNexearWhere]));
     w177.Position = 3;
     w177.Expand = false;
     w177.Fill = false;
     // Container child vNexImporter.Gtk.Box+BoxChild
     this.button19 = new global::Gtk.Button ();
     this.button19.CanFocus = true;
     this.button19.Name = "button19";
     this.button19.UseUnderline = true;
     // Container child button19.Gtk.Container+ContainerChild
     global::Gtk.Alignment w178 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w179 = new global::Gtk.HBox ();
     w179.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w180 = new global::Gtk.Image ();
     w180.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_folder", global::Gtk.IconSize.Menu);
     w179.Add (w180);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w182 = new global::Gtk.Label ();
     w182.LabelProp = global::Mono.Unix.Catalog.GetString ("Import the file");
     w182.UseUnderline = true;
     w179.Add (w182);
     w178.Add (w179);
     this.button19.Add (w178);
     this.vNexImporter.Add (this.button19);
     global::Gtk.Box.BoxChild w186 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.button19]));
     w186.Position = 4;
     w186.Expand = false;
     w186.Fill = false;
     // Container child vNexImporter.Gtk.Box+BoxChild
     this.hbox18 = new global::Gtk.HBox ();
     this.hbox18.Name = "hbox18";
     this.hbox18.Spacing = 6;
     this.vNexImporter.Add (this.hbox18);
     global::Gtk.Box.BoxChild w187 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.hbox18]));
     w187.Position = 5;
     // Container child vNexImporter.Gtk.Box+BoxChild
     this.button20 = new global::Gtk.Button ();
     this.button20.CanFocus = true;
     this.button20.Name = "button20";
     this.button20.UseUnderline = true;
     this.button20.Label = global::Mono.Unix.Catalog.GetString ("                             Cancel                             ");
     this.vNexImporter.Add (this.button20);
     global::Gtk.Box.BoxChild w188 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.button20]));
     w188.Position = 6;
     w188.Expand = false;
     w188.Fill = false;
     this.hbox2.Add (this.vNexImporter);
     global::Gtk.Box.BoxChild w189 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vNexImporter]));
     w189.Position = 10;
     w189.Expand = false;
     w189.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vhome = new global::Gtk.VBox ();
     this.vhome.Name = "vhome";
     // Container child vhome.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menu name='NewAction' action='NewAction'><menuitem name='Panel1Action' action='Panel1Action'/><menuitem name='Panel2Action' action='Panel2Action'/></menu><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><menuitem name='SaveAction' action='SaveAction'/><separator/><menuitem name='ExportToNexearFileAction' action='ExportToNexearFileAction'/><menuitem name='ImportFromNexearFileAction' action='ImportFromNexearFileAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='ReplaceAction' action='ReplaceAction'/><menuitem name='FindAction' action='FindAction'/></menu><menu name='PanelAction' action='PanelAction'><menu name='ClearAction' action='ClearAction'><menuitem name='Panel1Action1' action='Panel1Action1'/><menuitem name='Panel2Action1' action='Panel2Action1'/></menu><menuitem name='ChangeContentAction' action='ChangeContentAction'/><menu name='PanelToPanelAction' action='PanelToPanelAction'><menuitem name='FromPanel1To2Action' action='FromPanel1To2Action'/><menuitem name='FromPanel2To1Action' action='FromPanel2To1Action'/></menu><menu name='PanelReadmodAction' action='PanelReadmodAction'><menuitem name='p1read' action='p1read'/><menuitem name='p2read' action='p2read'/></menu></menu><menu name='ViewAction' action='ViewAction'><menuitem name='CommandHistoryAction' action='CommandHistoryAction'/><menuitem name='HideCommandBarAction' action='HideCommandBarAction'/><menuitem name='ReadmodAction' action='ReadmodAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><separator/><menuitem name='ManualAction' action='ManualAction'/><menuitem name='CommandGuideAction' action='CommandGuideAction'/><menuitem name='OnlineWikiAction' action='OnlineWikiAction'/><separator/><menuitem name='BugReporterAction' action='BugReporterAction'/><menuitem name='logsAction' action='logsAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vhome.Add (this.menubar1);
     global::Gtk.Box.BoxChild w190 = ((global::Gtk.Box.BoxChild)(this.vhome [this.menubar1]));
     w190.Position = 0;
     w190.Expand = false;
     w190.Fill = false;
     // Container child vhome.Gtk.Box+BoxChild
     this.hbox10 = new global::Gtk.HBox ();
     this.hbox10.Name = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar5'><toolitem name='openAction2' action='openAction2'/><toolitem name='convertAction' action='convertAction'/><separator/><toolitem name='newAction1' action='newAction1'/><toolitem name='openAction1' action='openAction1'/><toolitem name='saveAction1' action='saveAction1'/><toolitem name='saveAsAction1' action='saveAsAction1'/><separator/><toolitem name='goDownAction2' action='goDownAction2'/><toolitem name='networkAction' action='networkAction'/><toolitem name='goUpAction2' action='goUpAction2'/><separator/><toolitem name='readmodt' action='readmodt'/><separator/><toolitem name='findAction' action='findAction'/><toolitem name='findAndReplaceAction' action='findAndReplaceAction'/><separator/><toolitem/></toolbar></ui>");
     this.toolbar5 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar5")));
     this.toolbar5.Name = "toolbar5";
     this.toolbar5.ShowArrow = false;
     this.toolbar5.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbar5.IconSize = ((global::Gtk.IconSize)(2));
     this.hbox10.Add (this.toolbar5);
     global::Gtk.Box.BoxChild w191 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.toolbar5]));
     w191.Position = 0;
     this.vhome.Add (this.hbox10);
     global::Gtk.Box.BoxChild w192 = ((global::Gtk.Box.BoxChild)(this.vhome [this.hbox10]));
     w192.Position = 1;
     w192.Expand = false;
     w192.Fill = false;
     // Container child vhome.Gtk.Box+BoxChild
     this.hs = new global::Gtk.HSeparator ();
     this.hs.Name = "hs";
     this.vhome.Add (this.hs);
     global::Gtk.Box.BoxChild w193 = ((global::Gtk.Box.BoxChild)(this.vhome [this.hs]));
     w193.Position = 2;
     w193.Expand = false;
     w193.Fill = false;
     // Container child vhome.Gtk.Box+BoxChild
     this.hexit = new global::Gtk.HBox ();
     this.hexit.Name = "hexit";
     this.hexit.Spacing = 6;
     // Container child hexit.Gtk.Box+BoxChild
     this.image113 = new global::Gtk.Image ();
     this.image113.Name = "image113";
     this.image113.Xpad = 4;
     this.image113.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Menu);
     this.hexit.Add (this.image113);
     global::Gtk.Box.BoxChild w194 = ((global::Gtk.Box.BoxChild)(this.hexit [this.image113]));
     w194.Position = 0;
     w194.Expand = false;
     w194.Fill = false;
     // Container child hexit.Gtk.Box+BoxChild
     this.label21 = new global::Gtk.Label ();
     this.label21.Name = "label21";
     this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Are you sure you want to exit?");
     this.hexit.Add (this.label21);
     global::Gtk.Box.BoxChild w195 = ((global::Gtk.Box.BoxChild)(this.hexit [this.label21]));
     w195.Position = 1;
     w195.Expand = false;
     w195.Fill = false;
     // Container child hexit.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     this.hexit.Add (this.vbox5);
     global::Gtk.Box.BoxChild w196 = ((global::Gtk.Box.BoxChild)(this.hexit [this.vbox5]));
     w196.Position = 2;
     // Container child hexit.Gtk.Box+BoxChild
     this.button10 = new global::Gtk.Button ();
     this.button10.CanFocus = true;
     this.button10.Name = "button10";
     this.button10.UseUnderline = true;
     // Container child button10.Gtk.Container+ContainerChild
     global::Gtk.Alignment w197 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w198 = new global::Gtk.HBox ();
     w198.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w199 = new global::Gtk.Image ();
     w199.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     w198.Add (w199);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w201 = new global::Gtk.Label ();
     w201.LabelProp = global::Mono.Unix.Catalog.GetString ("No!");
     w201.UseUnderline = true;
     w198.Add (w201);
     w197.Add (w198);
     this.button10.Add (w197);
     this.hexit.Add (this.button10);
     global::Gtk.Box.BoxChild w205 = ((global::Gtk.Box.BoxChild)(this.hexit [this.button10]));
     w205.Position = 3;
     w205.Expand = false;
     w205.Fill = false;
     // Container child hexit.Gtk.Box+BoxChild
     this.button9 = new global::Gtk.Button ();
     this.button9.CanFocus = true;
     this.button9.Name = "button9";
     this.button9.UseUnderline = true;
     // Container child button9.Gtk.Container+ContainerChild
     global::Gtk.Alignment w206 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w207 = new global::Gtk.HBox ();
     w207.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w208 = new global::Gtk.Image ();
     w208.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu);
     w207.Add (w208);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w210 = new global::Gtk.Label ();
     w210.LabelProp = global::Mono.Unix.Catalog.GetString ("Yes!");
     w210.UseUnderline = true;
     w207.Add (w210);
     w206.Add (w207);
     this.button9.Add (w206);
     this.hexit.Add (this.button9);
     global::Gtk.Box.BoxChild w214 = ((global::Gtk.Box.BoxChild)(this.hexit [this.button9]));
     w214.Position = 4;
     w214.Expand = false;
     w214.Fill = false;
     this.vhome.Add (this.hexit);
     global::Gtk.Box.BoxChild w215 = ((global::Gtk.Box.BoxChild)(this.vhome [this.hexit]));
     w215.Position = 3;
     w215.Expand = false;
     w215.Fill = false;
     // Container child vhome.Gtk.Box+BoxChild
     this.herrorbox = new global::Gtk.HBox ();
     this.herrorbox.Name = "herrorbox";
     this.herrorbox.Spacing = 6;
     // Container child herrorbox.Gtk.Box+BoxChild
     this.image101 = new global::Gtk.Image ();
     this.image101.Name = "image101";
     this.image101.Xpad = 4;
     this.image101.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Menu);
     this.herrorbox.Add (this.image101);
     global::Gtk.Box.BoxChild w216 = ((global::Gtk.Box.BoxChild)(this.herrorbox [this.image101]));
     w216.Position = 0;
     w216.Expand = false;
     w216.Fill = false;
     // Container child herrorbox.Gtk.Box+BoxChild
     this.errormname = new global::Gtk.Label ();
     this.errormname.Name = "errormname";
     this.herrorbox.Add (this.errormname);
     global::Gtk.Box.BoxChild w217 = ((global::Gtk.Box.BoxChild)(this.herrorbox [this.errormname]));
     w217.Position = 1;
     w217.Expand = false;
     w217.Fill = false;
     // Container child herrorbox.Gtk.Box+BoxChild
     this.vbox8 = new global::Gtk.VBox ();
     this.vbox8.Name = "vbox8";
     this.vbox8.Spacing = 6;
     this.herrorbox.Add (this.vbox8);
     global::Gtk.Box.BoxChild w218 = ((global::Gtk.Box.BoxChild)(this.herrorbox [this.vbox8]));
     w218.Position = 2;
     // Container child herrorbox.Gtk.Box+BoxChild
     this.button25 = new global::Gtk.Button ();
     this.button25.CanFocus = true;
     this.button25.Name = "button25";
     this.button25.UseUnderline = true;
     // Container child button25.Gtk.Container+ContainerChild
     global::Gtk.Alignment w219 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w220 = new global::Gtk.HBox ();
     w220.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w221 = new global::Gtk.Image ();
     w221.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     w220.Add (w221);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w223 = new global::Gtk.Label ();
     w223.LabelProp = global::Mono.Unix.Catalog.GetString ("Close");
     w223.UseUnderline = true;
     w220.Add (w223);
     w219.Add (w220);
     this.button25.Add (w219);
     this.herrorbox.Add (this.button25);
     global::Gtk.Box.BoxChild w227 = ((global::Gtk.Box.BoxChild)(this.herrorbox [this.button25]));
     w227.Position = 3;
     w227.Expand = false;
     w227.Fill = false;
     this.vhome.Add (this.herrorbox);
     global::Gtk.Box.BoxChild w228 = ((global::Gtk.Box.BoxChild)(this.vhome [this.herrorbox]));
     w228.Position = 4;
     w228.Expand = false;
     w228.Fill = false;
     // Container child vhome.Gtk.Box+BoxChild
     this.vpaned2 = new global::Gtk.VPaned ();
     this.vpaned2.CanFocus = true;
     this.vpaned2.Name = "vpaned2";
     this.vpaned2.Position = 202;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.panel1 = new global::Gtk.TextView ();
     this.panel1.CanFocus = true;
     this.panel1.Name = "panel1";
     this.GtkScrolledWindow.Add (this.panel1);
     this.vpaned2.Add (this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w230 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.GtkScrolledWindow]));
     w230.Resize = false;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.panel2 = new global::Gtk.TextView ();
     this.panel2.CanFocus = true;
     this.panel2.Name = "panel2";
     this.GtkScrolledWindow1.Add (this.panel2);
     this.vpaned2.Add (this.GtkScrolledWindow1);
     this.vhome.Add (this.vpaned2);
     global::Gtk.Box.BoxChild w233 = ((global::Gtk.Box.BoxChild)(this.vhome [this.vpaned2]));
     w233.Position = 5;
     // Container child vhome.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     // Container child hbox3.Gtk.Box+BoxChild
     this.Command = new global::Gtk.Entry ();
     this.Command.TooltipMarkup = "This is Command Line Frame you can use it to use Nexear with Command";
     this.Command.Name = "Command";
     this.Command.IsEditable = true;
     this.Command.InvisibleChar = '•';
     this.hbox3.Add (this.Command);
     global::Gtk.Box.BoxChild w234 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.Command]));
     w234.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.CommandClear = new global::Gtk.Button ();
     this.CommandClear.TooltipMarkup = "Clear commnad button";
     this.CommandClear.CanFocus = true;
     this.CommandClear.Name = "CommandClear";
     this.CommandClear.UseUnderline = true;
     // Container child CommandClear.Gtk.Container+ContainerChild
     global::Gtk.Alignment w235 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w236 = new global::Gtk.HBox ();
     w236.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w237 = new global::Gtk.Image ();
     w237.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     w236.Add (w237);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w239 = new global::Gtk.Label ();
     w236.Add (w239);
     w235.Add (w236);
     this.CommandClear.Add (w235);
     this.hbox3.Add (this.CommandClear);
     global::Gtk.Box.BoxChild w243 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.CommandClear]));
     w243.Position = 1;
     w243.Expand = false;
     w243.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.CommandPlay = new global::Gtk.Button ();
     this.CommandPlay.TooltipMarkup = "Run Commnad";
     this.CommandPlay.CanFocus = true;
     this.CommandPlay.Name = "CommandPlay";
     this.CommandPlay.UseUnderline = true;
     this.CommandPlay.Label = global::Mono.Unix.Catalog.GetString ("Run");
     this.hbox3.Add (this.CommandPlay);
     global::Gtk.Box.BoxChild w244 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.CommandPlay]));
     w244.PackType = ((global::Gtk.PackType)(1));
     w244.Position = 2;
     w244.Expand = false;
     w244.Fill = false;
     this.vhome.Add (this.hbox3);
     global::Gtk.Box.BoxChild w245 = ((global::Gtk.Box.BoxChild)(this.vhome [this.hbox3]));
     w245.Position = 6;
     w245.Expand = false;
     w245.Fill = false;
     this.hbox2.Add (this.vhome);
     global::Gtk.Box.BoxChild w246 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vhome]));
     w246.Position = 11;
     this.hbox1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w247 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox2]));
     w247.Position = 0;
     this.Add (this.hbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 3095;
     this.DefaultHeight = 582;
     this.vs.Hide ();
     this.vHelpCommand.Hide ();
     this.verror.Hide ();
     this.vsettings.Hide ();
     this.vkary.Hide ();
     this.vreplace.Hide ();
     this.oexists.Hide ();
     this.vsave.Hide ();
     this.odsave.Hide ();
     this.odotnexear.Hide ();
     this.vopen.Hide ();
     this.vhistory.Hide ();
     this.onexearexists.Hide ();
     this.vNexMaker.Hide ();
     this.vNexImporter.Hide ();
     this.hs.Hide ();
     this.hexit.Hide ();
     this.herrorbox.Hide ();
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.AboutAction.Activated += new global::System.EventHandler (this.OnAbout);
     this.OpenAction.Activated += new global::System.EventHandler (this.OnOpenShow);
     this.SaveAsAction.Activated += new global::System.EventHandler (this.OnSaveShow);
     this.ReplaceAction.Activated += new global::System.EventHandler (this.OnReplaceShow);
     this.CommandGuideAction.Activated += new global::System.EventHandler (this.OnCommHelpShow);
     this.NewWindowAction.Activated += new global::System.EventHandler (this.OnNewWindow);
     this.mediaPlayAction2.Activated += new global::System.EventHandler (this.OnComkmSH);
     this.propertiesAction1.Activated += new global::System.EventHandler (this.OnSettingShow);
     this.goUpAction1.Activated += new global::System.EventHandler (this.OnPUP);
     this.mediaPauseAction1.Activated += new global::System.EventHandler (this.OnPS);
     this.goDownAction1.Activated += new global::System.EventHandler (this.OnPDOWB);
     this.newAction1.Activated += new global::System.EventHandler (this.OnP1N);
     this.openAction1.Activated += new global::System.EventHandler (this.OnOpenShow);
     this.saveAsAction1.Activated += new global::System.EventHandler (this.OnSaveShow);
     this.goDownAction2.Activated += new global::System.EventHandler (this.OnM12);
     this.goUpAction2.Activated += new global::System.EventHandler (this.OnM21);
     this.networkAction.Activated += new global::System.EventHandler (this.OnMM);
     this.findAndReplaceAction.Activated += new global::System.EventHandler (this.OnReplaceShow);
     this.Panel1Action.Activated += new global::System.EventHandler (this.OnP1N);
     this.Panel2Action.Activated += new global::System.EventHandler (this.OnP2N);
     this.OnlineWikiAction.Activated += new global::System.EventHandler (this.OnWiki);
     this.BugReporterAction.Activated += new global::System.EventHandler (this.OnReport);
     this.CommandHistoryAction.Activated += new global::System.EventHandler (this.OnHistoryShow);
     this.ExitAction.Activated += new global::System.EventHandler (this.OnExit);
     this.ExportToNexearFileAction.Activated += new global::System.EventHandler (this.OnNMShoe);
     this.ImportFromNexearFileAction.Activated += new global::System.EventHandler (this.OnNexIMShow);
     this.convertAction.Activated += new global::System.EventHandler (this.OnNMShoe);
     this.openAction2.Activated += new global::System.EventHandler (this.OnNexIMShow);
     this.ChangeContentAction.Activated += new global::System.EventHandler (this.OnMM);
     this.HideCommandBarAction.Activated += new global::System.EventHandler (this.OnComkmSH);
     this.p1read.Activated += new global::System.EventHandler (this.OnReadmod1);
     this.p2read.Activated += new global::System.EventHandler (this.OnReadmod2);
     this.ReadmodAction.Activated += new global::System.EventHandler (this.OnFullReadMode);
     this.readmodt.Activated += new global::System.EventHandler (this.OnFullReadMode);
     this.OnHelpCommClose.Clicked += new global::System.EventHandler (this.OnVClose);
     this.OpenBR.Clicked += new global::System.EventHandler (this.OnReport);
     this.button2.Clicked += new global::System.EventHandler (this.OnWiki);
     this.OnCloseError12.Clicked += new global::System.EventHandler (this.OnVClose);
     this.button5.Clicked += new global::System.EventHandler (this.OnVClose);
     this.KaryClose.Clicked += new global::System.EventHandler (this.OnVClose);
     this.button11.Clicked += new global::System.EventHandler (this.OnReplaceIncertEnter);
     this.button13.Clicked += new global::System.EventHandler (this.OnReplaceClear);
     this.button15.Entered += new global::System.EventHandler (this.OnReplaceWithIncertEnter);
     this.button14.Clicked += new global::System.EventHandler (this.OnReplaceWithNameClear);
     this.ReplaceGo.Clicked += new global::System.EventHandler (this.OnReplace);
     this.ReplaceCancel.Clicked += new global::System.EventHandler (this.OnVClose);
     this.SaveButton.Clicked += new global::System.EventHandler (this.OnSaveAs);
     this.button1.Clicked += new global::System.EventHandler (this.OnSaveReplace);
     this.button6.Clicked += new global::System.EventHandler (this.OnSaveNeverMind);
     this.button3.Clicked += new global::System.EventHandler (this.OnVClose);
     this.OpenButton.Clicked += new global::System.EventHandler (this.OnOpen);
     this.button7.Clicked += new global::System.EventHandler (this.OnOpenAnyway);
     this.button8.Clicked += new global::System.EventHandler (this.OnSaveShow);
     this.button21.Clicked += new global::System.EventHandler (this.OnOpenWithImporter);
     this.button22.Clicked += new global::System.EventHandler (this.OnNormalOpen);
     this.button4.Clicked += new global::System.EventHandler (this.OnVClose);
     this.OnHistoryCloseB.Clicked += new global::System.EventHandler (this.OnVClose);
     this.button17.Clicked += new global::System.EventHandler (this.OnMakeNex);
     this.button23.Clicked += new global::System.EventHandler (this.OnReplaceMaker);
     this.button24.Clicked += new global::System.EventHandler (this.OnNoCancelMaker);
     this.button18.Clicked += new global::System.EventHandler (this.OnVClose);
     this.button19.Clicked += new global::System.EventHandler (this.OnNexImport);
     this.button20.Clicked += new global::System.EventHandler (this.OnVClose);
     this.button10.Clicked += new global::System.EventHandler (this.OnExitNo);
     this.button9.Clicked += new global::System.EventHandler (this.OnExitSure);
     this.button25.Clicked += new global::System.EventHandler (this.OnHerrorClose);
     this.Command.EditingDone += new global::System.EventHandler (this.OnRun);
     this.Command.Activated += new global::System.EventHandler (this.OnRun);
 }
コード例 #43
0
ファイル: MainWindow.cs プロジェクト: zenogantner/MML-KDD
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FilterAction = new global::Gtk.Action ("FilterAction", global::Mono.Unix.Catalog.GetString ("Filter"), null, null);
     this.FilterAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Filter");
     w1.Add (this.FilterAction, null);
     this.LanguageAction = new global::Gtk.Action ("LanguageAction", global::Mono.Unix.Catalog.GetString ("Language"), null, null);
     this.LanguageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Language");
     w1.Add (this.LanguageAction, null);
     this.UserAction = new global::Gtk.Action ("UserAction", global::Mono.Unix.Catalog.GetString ("User"), null, null);
     this.UserAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("User");
     w1.Add (this.UserAction, null);
     this.SaveRatingsAsAction = new global::Gtk.Action ("SaveRatingsAsAction", global::Mono.Unix.Catalog.GetString ("Save Ratings As ..."), null, null);
     this.SaveRatingsAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Ratings As ...");
     w1.Add (this.SaveRatingsAsAction, null);
     this.SaveRatingsAnonymouslyAction = new global::Gtk.Action ("SaveRatingsAnonymouslyAction", global::Mono.Unix.Catalog.GetString ("Save Ratings Anonymously"), null, null);
     this.SaveRatingsAnonymouslyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Ratings Anonymously");
     w1.Add (this.SaveRatingsAnonymouslyAction, null);
     this.DiscardRatingsAction = new global::Gtk.Action ("DiscardRatingsAction", global::Mono.Unix.Catalog.GetString ("Discard Ratings"), null, null);
     this.DiscardRatingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Discard Ratings");
     w1.Add (this.DiscardRatingsAction, null);
     this.OnlyShow200MostPopularMoviesAction = new global::Gtk.ToggleAction ("OnlyShow200MostPopularMoviesAction", global::Mono.Unix.Catalog.GetString ("Only Show 200 Most Popular Movies "), null, null);
     this.OnlyShow200MostPopularMoviesAction.Active = true;
     this.OnlyShow200MostPopularMoviesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Only Show 200 Most Popular Movies ");
     w1.Add (this.OnlyShow200MostPopularMoviesAction, null);
     this.ByGenreAction = new global::Gtk.Action ("ByGenreAction", global::Mono.Unix.Catalog.GetString ("By Genre ..."), null, null);
     this.ByGenreAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("By Genre ...");
     w1.Add (this.ByGenreAction, null);
     this.ActionAction = new global::Gtk.ToggleAction ("ActionAction", global::Mono.Unix.Catalog.GetString ("Action"), null, null);
     this.ActionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Action");
     w1.Add (this.ActionAction, null);
     this.TODORestByProgramAction = new global::Gtk.Action ("TODORestByProgramAction", global::Mono.Unix.Catalog.GetString ("TODO: rest by program ..."), null, null);
     this.TODORestByProgramAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("TODO: rest by program ...");
     w1.Add (this.TODORestByProgramAction, null);
     this.EnglishAction = new global::Gtk.RadioAction ("EnglishAction", global::Mono.Unix.Catalog.GetString ("English"), null, null, 0);
     this.EnglishAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.EnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("English");
     w1.Add (this.EnglishAction, null);
     this.DeutschAction = new global::Gtk.RadioAction ("DeutschAction", global::Mono.Unix.Catalog.GetString ("Deutsch"), null, null, 0);
     this.DeutschAction.Group = this.EnglishAction.Group;
     this.DeutschAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Deutsch");
     w1.Add (this.DeutschAction, null);
     this.LoadUserAction = new global::Gtk.Action ("LoadUserAction", global::Mono.Unix.Catalog.GetString ("Load User"), null, null);
     this.LoadUserAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Load User");
     w1.Add (this.LoadUserAction, null);
     this.AndrAction = new global::Gtk.Action ("AndrAction", global::Mono.Unix.Catalog.GetString ("André"), null, null);
     this.AndrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("André");
     w1.Add (this.AndrAction, null);
     this.ArtusAction = new global::Gtk.Action ("ArtusAction", global::Mono.Unix.Catalog.GetString ("Artus"), null, null);
     this.ArtusAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Artus");
     w1.Add (this.ArtusAction, null);
     this.ChristophAction = new global::Gtk.Action ("ChristophAction", global::Mono.Unix.Catalog.GetString ("Christoph"), null, null);
     this.ChristophAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Christoph");
     w1.Add (this.ChristophAction, null);
     this.LucasAction = new global::Gtk.Action ("LucasAction", global::Mono.Unix.Catalog.GetString ("Lucas"), null, null);
     this.LucasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Lucas");
     w1.Add (this.LucasAction, null);
     this.KrisztianAction = new global::Gtk.Action ("KrisztianAction", global::Mono.Unix.Catalog.GetString ("Krisztian"), null, null);
     this.KrisztianAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Krisztian");
     w1.Add (this.KrisztianAction, null);
     this.NgheAction = new global::Gtk.Action ("NgheAction", global::Mono.Unix.Catalog.GetString ("Nghe"), null, null);
     this.NgheAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Nghe");
     w1.Add (this.NgheAction, null);
     this.OsmanAction = new global::Gtk.Action ("OsmanAction", global::Mono.Unix.Catalog.GetString ("Osman"), null, null);
     this.OsmanAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Osman");
     w1.Add (this.OsmanAction, null);
     this.RasoulAction = new global::Gtk.Action ("RasoulAction", global::Mono.Unix.Catalog.GetString ("Rasoul"), null, null);
     this.RasoulAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rasoul");
     w1.Add (this.RasoulAction, null);
     this.SabrinaAction = new global::Gtk.Action ("SabrinaAction", global::Mono.Unix.Catalog.GetString ("Sabrina"), null, null);
     this.SabrinaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sabrina");
     w1.Add (this.SabrinaAction, null);
     this.TomasAction = new global::Gtk.Action ("TomasAction", global::Mono.Unix.Catalog.GetString ("Tomas"), null, null);
     this.TomasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Tomas");
     w1.Add (this.TomasAction, null);
     this.ZenoAction = new global::Gtk.Action ("ZenoAction", global::Mono.Unix.Catalog.GetString ("Zeno"), null, null);
     this.ZenoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Zeno");
     w1.Add (this.ZenoAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MyMediaLite Movie Demo");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_animation", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FilterAction' action='FilterAction'><menuitem name='OnlyShow200MostPopularMoviesAction' action='OnlyShow200MostPopularMoviesAction'/></menu><menu name='LanguageAction' action='LanguageAction'><menuitem name='EnglishAction' action='EnglishAction'/><menuitem name='DeutschAction' action='DeutschAction'/></menu><menu name='UserAction' action='UserAction'><menuitem name='SaveRatingsAnonymouslyAction' action='SaveRatingsAnonymouslyAction'/><menuitem name='DiscardRatingsAction' action='DiscardRatingsAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.filter_entry = new global::Gtk.Entry ();
     this.filter_entry.TooltipMarkup = "Enter string to filter the movie list";
     this.filter_entry.CanFocus = true;
     this.filter_entry.Name = "filter_entry";
     this.filter_entry.IsEditable = true;
     this.filter_entry.InvisibleChar = '●';
     this.vbox1.Add (this.filter_entry);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.filter_entry]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.scrolledwindow2 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow2.CanFocus = true;
     this.scrolledwindow2.Name = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.treeview1 = new global::Gtk.TreeView ();
     this.treeview1.TooltipMarkup = "Click in column 'Rating' to enter ratings";
     this.treeview1.CanFocus = true;
     this.treeview1.Name = "treeview1";
     this.scrolledwindow2.Add (this.treeview1);
     this.hbox1.Add (this.scrolledwindow2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow2]));
     w5.Position = 0;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w6.Position = 2;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 635;
     this.DefaultHeight = 580;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.SaveRatingsAsAction.Activated += new global::System.EventHandler (this.OnSaveRatingsAsActionActivated);
     this.SaveRatingsAnonymouslyAction.Activated += new global::System.EventHandler (this.OnSaveRatingsAnonymouslyActionActivated);
     this.DiscardRatingsAction.Activated += new global::System.EventHandler (this.OnDiscardRatingsActionActivated);
     this.OnlyShow200MostPopularMoviesAction.Toggled += new global::System.EventHandler (this.OnOnlyShow200MostPopularMoviesActionToggled);
     this.EnglishAction.Activated += new global::System.EventHandler (this.OnEnglishActionActivated);
     this.DeutschAction.Activated += new global::System.EventHandler (this.OnDeutschActionActivated);
 }
コード例 #44
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget SQLGrenadineGui.MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.FileAction, null);
     this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("New Query"), null, "gtk-new");
     this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New");
     w1.Add (this.newAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit");
     w1.Add (this.EditAction, null);
     this.DatabaseAction = new global::Gtk.Action ("DatabaseAction", global::Mono.Unix.Catalog.GetString ("Database"), null, null);
     this.DatabaseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Database");
     w1.Add (this.DatabaseAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.HelpAction, null);
     this.PreferencesAction = new global::Gtk.Action ("PreferencesAction", global::Mono.Unix.Catalog.GetString ("Preferences"), null, null);
     this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Preferences");
     w1.Add (this.PreferencesAction, null);
     this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit");
     w1.Add (this.quitAction, null);
     this.executeAction = new global::Gtk.Action ("executeAction", null, null, "gtk-execute");
     this.executeAction.ShortLabel = "";
     w1.Add (this.executeAction, null);
     this.NewConAction = new global::Gtk.Action ("NewConAction", global::Mono.Unix.Catalog.GetString ("New Con"), null, null);
     this.NewConAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Con");
     w1.Add (this.NewConAction, null);
     this.connectAction1 = new global::Gtk.Action ("connectAction1", global::Mono.Unix.Catalog.GetString ("New Connection"), global::Mono.Unix.Catalog.GetString ("Open a new database connection and add it to the tree."), "gtk-connect");
     this.connectAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Connection");
     w1.Add (this.connectAction1, null);
     this.newButtonQuery = new global::Gtk.Action ("newButtonQuery", global::Mono.Unix.Catalog.GetString ("New Query"), global::Mono.Unix.Catalog.GetString ("Open a new query tab."), "gtk-new");
     this.newButtonQuery.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Query");
     w1.Add (this.newButtonQuery, null);
     this.closeAction = new global::Gtk.Action ("closeAction", global::Mono.Unix.Catalog.GetString ("Close"), null, "gtk-close");
     this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close");
     w1.Add (this.closeAction, null);
     this.connectAction = new global::Gtk.Action ("connectAction", global::Mono.Unix.Catalog.GetString ("Connect to Database"), null, "gtk-connect");
     this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Connect to Database");
     w1.Add (this.connectAction, null);
     this.MySqlAction = new global::Gtk.Action ("MySqlAction", global::Mono.Unix.Catalog.GetString ("MySql"), null, null);
     this.MySqlAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("MySql");
     w1.Add (this.MySqlAction, null);
     this.executeQuery = new global::Gtk.Action ("executeQuery", null, global::Mono.Unix.Catalog.GetString ("Execute SQL commands of current tab."), "gtk-execute");
     this.executeQuery.ShortLabel = "";
     w1.Add (this.executeQuery, null);
     this.parseQuery = new global::Gtk.Action ("parseQuery", null, null, "gtk-apply");
     this.parseQuery.ShortLabel = "";
     w1.Add (this.parseQuery, null);
     this.propertiesAction = new global::Gtk.Action ("propertiesAction", null, null, "gtk-properties");
     this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Properties");
     w1.Add (this.propertiesAction, null);
     this.Action = new global::Gtk.Action ("Action", null, null, null);
     this.Action.ShortLabel = "";
     w1.Add (this.Action, null);
     this.Action1 = new global::Gtk.RadioAction ("Action1", null, null, null, 0);
     this.Action1.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.Action1.ShortLabel = "";
     w1.Add (this.Action1, null);
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open ..."), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open ...");
     w1.Add (this.openAction, null);
     this.saveAsAction = new global::Gtk.Action ("saveAsAction", global::Mono.Unix.Catalog.GetString ("Save As ..."), null, "gtk-save-as");
     this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save As ...");
     w1.Add (this.saveAsAction, null);
     this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, null);
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save");
     w1.Add (this.SaveAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save");
     w1.Add (this.saveAction, null);
     this.loadButtonFile = new global::Gtk.Action ("loadButtonFile", null, null, "gtk-open");
     this.loadButtonFile.ShortLabel = "";
     w1.Add (this.loadButtonFile, null);
     this.saveButtonFile = new global::Gtk.Action ("saveButtonFile", null, null, "gtk-save");
     this.saveButtonFile.ShortLabel = "";
     w1.Add (this.saveButtonFile, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "SQLGrenadineGui.MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("SQLGrenadine");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child SQLGrenadineGui.MainWindow.Gtk.Container+ContainerChild
     this.vboxMain = new global::Gtk.VBox ();
     this.vboxMain.Name = "vboxMain";
     this.vboxMain.Spacing = 6;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubarMain'><menu name='FileAction' action='FileAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='closeAction' action='closeAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditAction' action='EditAction'/><menu name='DatabaseAction' action='DatabaseAction'><menuitem name='connectAction' action='connectAction'/></menu><menu name='PreferencesAction' action='PreferencesAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubarMain = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubarMain")));
     this.menubarMain.Name = "menubarMain";
     this.vboxMain.Add (this.menubarMain);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.menubarMain]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hboxToolbar = new global::Gtk.HBox ();
     this.hboxToolbar.Name = "hboxToolbar";
     this.hboxToolbar.Spacing = 6;
     // Container child hboxToolbar.Gtk.Box+BoxChild
     this.comboboxConnections = global::Gtk.ComboBox.NewText ();
     this.comboboxConnections.AppendText (global::Mono.Unix.Catalog.GetString ("Not connected"));
     this.comboboxConnections.Name = "comboboxConnections";
     this.comboboxConnections.Active = 0;
     this.hboxToolbar.Add (this.comboboxConnections);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxToolbar [this.comboboxConnections]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hboxToolbar.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbarMain'><toolitem name='newButtonQuery' action='newButtonQuery'/><toolitem name='loadButtonFile' action='loadButtonFile'/><toolitem name='saveButtonFile' action='saveButtonFile'/><separator/><toolitem name='executeQuery' action='executeQuery'/><toolitem name='parseQuery' action='parseQuery'/></toolbar></ui>");
     this.toolbarMain = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarMain")));
     this.toolbarMain.Events = ((global::Gdk.EventMask)(8992));
     this.toolbarMain.Name = "toolbarMain";
     this.toolbarMain.ShowArrow = false;
     this.hboxToolbar.Add (this.toolbarMain);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxToolbar [this.toolbarMain]));
     w4.Position = 1;
     this.vboxMain.Add (this.hboxToolbar);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.hboxToolbar]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hpanedMain = new global::Gtk.HPaned ();
     this.hpanedMain.CanFocus = true;
     this.hpanedMain.Name = "hpanedMain";
     this.hpanedMain.Position = 179;
     // Container child hpanedMain.Gtk.Paned+PanedChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbarDatabaseTree'><toolitem name='connectAction1' action='connectAction1'/><toolitem name='propertiesAction' action='propertiesAction'/></toolbar></ui>");
     this.toolbarDatabaseTree = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarDatabaseTree")));
     this.toolbarDatabaseTree.Events = ((global::Gdk.EventMask)(8992));
     this.toolbarDatabaseTree.Name = "toolbarDatabaseTree";
     this.toolbarDatabaseTree.ShowArrow = false;
     this.toolbarDatabaseTree.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.vbox1.Add (this.toolbarDatabaseTree);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbarDatabaseTree]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewDatabase = new global::Gtk.TreeView ();
     this.treeviewDatabase.CanFocus = true;
     this.treeviewDatabase.Name = "treeviewDatabase";
     this.GtkScrolledWindow.Add (this.treeviewDatabase);
     this.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w8.Position = 1;
     this.hpanedMain.Add (this.vbox1);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpanedMain [this.vbox1]));
     w9.Resize = false;
     // Container child hpanedMain.Gtk.Paned+PanedChild
     this.notebookContent = new global::Gtk.Notebook ();
     this.notebookContent.CanFocus = true;
     this.notebookContent.Name = "notebookContent";
     this.notebookContent.CurrentPage = -1;
     this.notebookContent.EnablePopup = true;
     this.notebookContent.ShowBorder = false;
     this.notebookContent.Scrollable = true;
     this.hpanedMain.Add (this.notebookContent);
     this.vboxMain.Add (this.hpanedMain);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.hpanedMain]));
     w11.Position = 2;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.statusbarMain = new global::Gtk.Statusbar ();
     this.statusbarMain.Name = "statusbarMain";
     this.statusbarMain.Spacing = 6;
     this.vboxMain.Add (this.statusbarMain);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.statusbarMain]));
     w12.Position = 3;
     w12.Expand = false;
     w12.Fill = false;
     this.Add (this.vboxMain);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 995;
     this.DefaultHeight = 598;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnKeyPressed);
     this.newAction.Activated += new global::System.EventHandler (this.OnNewQuery);
     this.quitAction.Activated += new global::System.EventHandler (this.OnQuit);
     this.connectAction1.Activated += new global::System.EventHandler (this.OnConnect);
     this.newButtonQuery.Activated += new global::System.EventHandler (this.OnNewQuery);
     this.closeAction.Activated += new global::System.EventHandler (this.OnClose);
     this.connectAction.Activated += new global::System.EventHandler (this.OnConnect);
     this.executeQuery.Activated += new global::System.EventHandler (this.OnExecuteQuery);
     this.comboboxConnections.Changed += new global::System.EventHandler (this.OnConnectionsChanged);
     this.notebookContent.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnSwitchPage);
 }