// ------------------------------------------------------------------------------ // // This code was generated by a tool. // Mono Runtime Version: 2.0.50727.42 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ namespace ThePimp { public partial class MainWindow { private Gtk.Action newAction; private Gtk.Action openAction; private Gtk.Action saveAction; private Gtk.Action FileAction; private Gtk.Action EditAction; private Gtk.Action ViewAction; private Gtk.Action HelpAction; private Gtk.Action NewAction; private Gtk.Action OpenAction; private Gtk.Action SaveAction; private Gtk.Action SaveAsAction; private Gtk.Action QuitAction; private Gtk.Action HelpAction1; private Gtk.Action AboutAction; private Gtk.Action UndoAction; private Gtk.Action RedoAction; private Gtk.Action BestFitAction; private Gtk.Action NormalSizeAction; private Gtk.Action ZoomOutAction; private Gtk.Action ZoomInAction; private Gtk.Action undoAction; private Gtk.Action redoAction; private Gtk.Action zoom100Action; private Gtk.Action zoomFitAction; private Gtk.Action zoomOutAction; private Gtk.Action zoomInAction; private Gtk.Action helpAction; private Gtk.Action saveAsAction; private Gtk.Action FullscreenAction; private Gtk.VBox vbox1; private Gtk.MenuBar menubar1; private Gtk.Toolbar toolbar1; private Gtk.HPaned hpaned1; private Gtk.VPaned vpaned1; private Gtk.HPaned hpaned2; private Gtk.Notebook notebook1; private Gtk.VPaned vpaned2; private Gtk.Statusbar statusbar1; protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ThePimp.MainWindow Gtk.UIManager w1 = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); this.newAction = new Gtk.Action("newAction", null, Mono.Unix.Catalog.GetString("Create a new image"), "gtk-new"); w2.Add(this.newAction, null); this.openAction = new Gtk.Action("openAction", null, Mono.Unix.Catalog.GetString("Open an image"), "gtk-open"); w2.Add(this.openAction, null); this.saveAction = new Gtk.Action("saveAction", null, Mono.Unix.Catalog.GetString("Save active image"), "gtk-save"); this.saveAction.Sensitive = false; w2.Add(this.saveAction, null); this.FileAction = new Gtk.Action("FileAction", Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = Mono.Unix.Catalog.GetString("File"); w2.Add(this.FileAction, null); this.EditAction = new Gtk.Action("EditAction", Mono.Unix.Catalog.GetString("Edit"), null, null); this.EditAction.ShortLabel = Mono.Unix.Catalog.GetString("Edit"); w2.Add(this.EditAction, null); this.ViewAction = new Gtk.Action("ViewAction", Mono.Unix.Catalog.GetString("View"), null, null); this.ViewAction.ShortLabel = Mono.Unix.Catalog.GetString("View"); w2.Add(this.ViewAction, null); this.HelpAction = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w2.Add(this.HelpAction, null); this.NewAction = new Gtk.Action("NewAction", Mono.Unix.Catalog.GetString("_New..."), null, "gtk-new"); this.NewAction.ShortLabel = Mono.Unix.Catalog.GetString("_New"); w2.Add(this.NewAction, null); this.OpenAction = new Gtk.Action("OpenAction", Mono.Unix.Catalog.GetString("_Open..."), null, "gtk-open"); this.OpenAction.ShortLabel = Mono.Unix.Catalog.GetString("_Open"); w2.Add(this.OpenAction, null); this.SaveAction = new Gtk.Action("SaveAction", Mono.Unix.Catalog.GetString("_Save"), null, "gtk-save"); this.SaveAction.Sensitive = false; this.SaveAction.ShortLabel = Mono.Unix.Catalog.GetString("_Save"); w2.Add(this.SaveAction, null); this.SaveAsAction = new Gtk.Action("SaveAsAction", Mono.Unix.Catalog.GetString("Save _As..."), null, "gtk-save-as"); this.SaveAsAction.ShortLabel = Mono.Unix.Catalog.GetString("Save _As"); w2.Add(this.SaveAsAction, null); this.QuitAction = new Gtk.Action("QuitAction", Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = Mono.Unix.Catalog.GetString("_Quit"); w2.Add(this.QuitAction, null); this.HelpAction1 = new Gtk.Action("HelpAction1", Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help"); this.HelpAction1.Sensitive = false; this.HelpAction1.ShortLabel = Mono.Unix.Catalog.GetString("_Help"); w2.Add(this.HelpAction1, null); this.AboutAction = new Gtk.Action("AboutAction", Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = Mono.Unix.Catalog.GetString("_About"); w2.Add(this.AboutAction, null); this.UndoAction = new Gtk.Action("UndoAction", Mono.Unix.Catalog.GetString("_Undo"), null, "gtk-undo"); this.UndoAction.Sensitive = false; this.UndoAction.ShortLabel = Mono.Unix.Catalog.GetString("_Undo"); w2.Add(this.UndoAction, null); this.RedoAction = new Gtk.Action("RedoAction", Mono.Unix.Catalog.GetString("_Redo"), null, "gtk-redo"); this.RedoAction.Sensitive = false; this.RedoAction.ShortLabel = Mono.Unix.Catalog.GetString("_Redo"); w2.Add(this.RedoAction, null); this.BestFitAction = new Gtk.Action("BestFitAction", Mono.Unix.Catalog.GetString("Best _Fit"), null, "gtk-zoom-fit"); this.BestFitAction.Sensitive = false; this.BestFitAction.ShortLabel = Mono.Unix.Catalog.GetString("Best _Fit"); w2.Add(this.BestFitAction, null); this.NormalSizeAction = new Gtk.Action("NormalSizeAction", Mono.Unix.Catalog.GetString("_Normal Size"), null, "gtk-zoom-100"); this.NormalSizeAction.Sensitive = false; this.NormalSizeAction.ShortLabel = Mono.Unix.Catalog.GetString("_Normal Size"); w2.Add(this.NormalSizeAction, null); this.ZoomOutAction = new Gtk.Action("ZoomOutAction", Mono.Unix.Catalog.GetString("Zoom _Out"), null, "gtk-zoom-out"); this.ZoomOutAction.Sensitive = false; this.ZoomOutAction.ShortLabel = Mono.Unix.Catalog.GetString("Zoom _Out"); w2.Add(this.ZoomOutAction, null); this.ZoomInAction = new Gtk.Action("ZoomInAction", Mono.Unix.Catalog.GetString("Zoom _In"), null, "gtk-zoom-in"); this.ZoomInAction.Sensitive = false; this.ZoomInAction.ShortLabel = Mono.Unix.Catalog.GetString("Zoom _In"); w2.Add(this.ZoomInAction, null); this.undoAction = new Gtk.Action("undoAction", null, Mono.Unix.Catalog.GetString("Undo action"), "gtk-undo"); this.undoAction.Sensitive = false; w2.Add(this.undoAction, null); this.redoAction = new Gtk.Action("redoAction", null, Mono.Unix.Catalog.GetString("Redo action"), "gtk-redo"); this.redoAction.Sensitive = false; w2.Add(this.redoAction, null); this.zoom100Action = new Gtk.Action("zoom100Action", null, null, "gtk-zoom-100"); this.zoom100Action.Sensitive = false; w2.Add(this.zoom100Action, null); this.zoomFitAction = new Gtk.Action("zoomFitAction", null, null, "gtk-zoom-fit"); this.zoomFitAction.Sensitive = false; w2.Add(this.zoomFitAction, null); this.zoomOutAction = new Gtk.Action("zoomOutAction", null, null, "gtk-zoom-out"); this.zoomOutAction.Sensitive = false; w2.Add(this.zoomOutAction, null); this.zoomInAction = new Gtk.Action("zoomInAction", null, null, "gtk-zoom-in"); this.zoomInAction.Sensitive = false; w2.Add(this.zoomInAction, null); this.helpAction = new Gtk.Action("helpAction", null, null, "gtk-help"); this.helpAction.Sensitive = false; w2.Add(this.helpAction, null); this.saveAsAction = new Gtk.Action("saveAsAction", null, Mono.Unix.Catalog.GetString("Save active image "), "gtk-save-as"); w2.Add(this.saveAsAction, null); this.FullscreenAction = new Gtk.Action("FullscreenAction", Mono.Unix.Catalog.GetString("Fullscreen"), null, "gtk-fullscreen"); this.FullscreenAction.ShortLabel = Mono.Unix.Catalog.GetString("Fullscreen"); w2.Add(this.FullscreenAction, null); w1.InsertActionGroup(w2, 0); this.AddAccelGroup(w1.AccelGroup); this.Name = "ThePimp.MainWindow"; this.Title = Mono.Unix.Catalog.GetString("The Pimp"); this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_insert_image", Gtk.IconSize.Menu, 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child ThePimp.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString(""); this.menubar1 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString(""); this.toolbar1 = ((Gtk.Toolbar)(w1.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.vbox1.Add(this.toolbar1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 33; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 41; this.hpaned1.Add(this.vpaned1); Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.vpaned1])); w5.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.hpaned2 = new Gtk.HPaned(); this.hpaned2.CanFocus = true; this.hpaned2.Name = "hpaned2"; this.hpaned2.Position = 886; // Container child hpaned2.Gtk.Paned+PanedChild this.notebook1 = new Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.BorderWidth = ((uint)(5)); this.hpaned2.Add(this.notebook1); Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.hpaned2[this.notebook1])); w6.Resize = false; // Container child hpaned2.Gtk.Paned+PanedChild this.vpaned2 = new Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 41; this.hpaned2.Add(this.vpaned2); Gtk.Paned.PanedChild w7 = ((Gtk.Paned.PanedChild)(this.hpaned2[this.vpaned2])); w7.Resize = false; w7.Shrink = false; this.hpaned1.Add(this.hpaned2); this.vbox1.Add(this.hpaned1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w9.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 954; this.DefaultHeight = 680; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.newAction.Activated += new System.EventHandler(this.OnNewActionActivated); this.openAction.Activated += new System.EventHandler(this.OnOpenActionActivated); this.saveAction.Activated += new System.EventHandler(this.OnSaveActionActivated); this.NewAction.Activated += new System.EventHandler(this.OnNewActionActivated); this.OpenAction.Activated += new System.EventHandler(this.OnOpenActionActivated); this.SaveAction.Activated += new System.EventHandler(this.OnSaveActionActivated); this.SaveAsAction.Activated += new System.EventHandler(this.OnSaveAsActionActivated); this.QuitAction.Activated += new System.EventHandler(this.OnQuitActionActivated); this.AboutAction.Activated += new System.EventHandler(this.OnAboutActionActivated); this.saveAsAction.Activated += new System.EventHandler(this.OnSaveAsActionActivated); this.FullscreenAction.Activated += new System.EventHandler(this.OnFullscreenActionActivated); } } }