Files
@ fc8ed9e3786e
Branch filter:
Location: ATITD-Tools/Desert-Paint-Lab/gtk-gui/MainWindow.cs
fc8ed9e3786e
9.8 KiB
text/x-csharp
Update version string
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
// This file has been generated by the GUI designer. Do not modify.
public partial class MainWindow
{
private global::Gtk.UIManager UIManager;
private global::Gtk.Action FileAction;
private global::Gtk.Action HelpAction;
private global::Gtk.Action AboutAction;
private global::Gtk.Action ExitAction;
private global::Gtk.Action DebugAction;
private global::Gtk.Action ScreenshotAction;
private global::Gtk.Action ReactionStatusAction;
private global::Gtk.Action ViewAction;
private global::Gtk.RadioAction CaptureAction;
private global::Gtk.RadioAction SimulatorAction;
private global::Gtk.RadioAction RecipeGeneratorAction;
private global::Gtk.Action RecipesAction;
private global::Gtk.Action ExportRecipesAction;
private global::Gtk.Action CopyRecipesToClipboardAction;
private global::Gtk.Action ProfileAction;
private global::Gtk.Action NewProfileAction;
private global::Gtk.Action OpenProfileAction;
private global::Gtk.Action ImportProfileAction;
private global::Gtk.Action ExportProfileAction;
private global::Gtk.Action ExportForPracticalPaintAction;
private global::Gtk.VBox vbox1;
private global::Gtk.MenuBar menu;
private global::Gtk.Alignment contentContainer;
private global::Gtk.Statusbar statusBar;
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, "<Alt>f");
this.HelpAction = new global::Gtk.Action ("HelpAction", "_Help", null, null);
this.HelpAction.ShortLabel = "_Help";
w1.Add (this.HelpAction, "<Alt>a");
this.AboutAction = new global::Gtk.Action ("AboutAction", "_About...", null, null);
this.AboutAction.ShortLabel = "_About...";
w1.Add (this.AboutAction, "<Alt>a");
this.ExitAction = new global::Gtk.Action ("ExitAction", "E_xit", null, null);
this.ExitAction.ShortLabel = "E_xit";
w1.Add (this.ExitAction, "<Alt>x");
this.DebugAction = new global::Gtk.Action ("DebugAction", "Debug", null, null);
this.DebugAction.ShortLabel = "Debug";
w1.Add (this.DebugAction, null);
this.ScreenshotAction = new global::Gtk.Action ("ScreenshotAction", "Screenshot", null, null);
this.ScreenshotAction.ShortLabel = "Screenshot";
w1.Add (this.ScreenshotAction, null);
this.ReactionStatusAction = new global::Gtk.Action ("ReactionStatusAction", "Reaction Status", null, null);
this.ReactionStatusAction.ShortLabel = "Reaction Status";
w1.Add (this.ReactionStatusAction, null);
this.ViewAction = new global::Gtk.Action ("ViewAction", "View", null, null);
this.ViewAction.ShortLabel = "View";
w1.Add (this.ViewAction, null);
this.CaptureAction = new global::Gtk.RadioAction ("CaptureAction", "Capture", null, null, 0);
this.CaptureAction.Group = new global::GLib.SList (global::System.IntPtr.Zero);
this.CaptureAction.ShortLabel = "Capture";
w1.Add (this.CaptureAction, null);
this.SimulatorAction = new global::Gtk.RadioAction ("SimulatorAction", "Simulator", null, null, 0);
this.SimulatorAction.Group = this.CaptureAction.Group;
this.SimulatorAction.ShortLabel = "Simulator";
w1.Add (this.SimulatorAction, null);
this.RecipeGeneratorAction = new global::Gtk.RadioAction ("RecipeGeneratorAction", "Recipe Generator", null, null, 0);
this.RecipeGeneratorAction.Group = this.SimulatorAction.Group;
this.RecipeGeneratorAction.ShortLabel = "Recipe Generator";
w1.Add (this.RecipeGeneratorAction, null);
this.RecipesAction = new global::Gtk.Action ("RecipesAction", "Recipes...", null, null);
this.RecipesAction.ShortLabel = "Recipes...";
w1.Add (this.RecipesAction, null);
this.ExportRecipesAction = new global::Gtk.Action ("ExportRecipesAction", "Export Recipes", null, null);
this.ExportRecipesAction.ShortLabel = "Export Recipes";
w1.Add (this.ExportRecipesAction, null);
this.CopyRecipesToClipboardAction = new global::Gtk.Action ("CopyRecipesToClipboardAction", "Copy to Clipboard", null, null);
this.CopyRecipesToClipboardAction.ShortLabel = "Copy to Clipboard";
w1.Add (this.CopyRecipesToClipboardAction, null);
this.ProfileAction = new global::Gtk.Action ("ProfileAction", "Profile...", null, null);
this.ProfileAction.ShortLabel = "Profile...";
w1.Add (this.ProfileAction, null);
this.NewProfileAction = new global::Gtk.Action ("NewProfileAction", "New Profile", null, null);
this.NewProfileAction.ShortLabel = "New Profile";
w1.Add (this.NewProfileAction, null);
this.OpenProfileAction = new global::Gtk.Action ("OpenProfileAction", "Open Profile", null, null);
this.OpenProfileAction.ShortLabel = "Open Profile";
w1.Add (this.OpenProfileAction, null);
this.ImportProfileAction = new global::Gtk.Action ("ImportProfileAction", "Import Profile", null, null);
this.ImportProfileAction.ShortLabel = "Import Profile";
w1.Add (this.ImportProfileAction, null);
this.ExportProfileAction = new global::Gtk.Action ("ExportProfileAction", "Export Profile", null, null);
this.ExportProfileAction.ShortLabel = "Export Profile";
w1.Add (this.ExportProfileAction, null);
this.ExportForPracticalPaintAction = new global::Gtk.Action ("ExportForPracticalPaintAction", "Export for PracticalPaint", null, null);
this.ExportForPracticalPaintAction.ShortLabel = "Export for PracticalPaint";
w1.Add (this.ExportForPracticalPaintAction, null);
this.UIManager.InsertActionGroup (w1, 0);
this.AddAccelGroup (this.UIManager.AccelGroup);
this.Name = "MainWindow";
this.Title = "Desert Paint Lab";
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
// Container child MainWindow.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='menu'><menu name='FileAction' action='FileAction'><menu name='ProfileAction' action='ProfileAction'><menuitem name='NewProfileAction' action='NewProfileAction'/><menuitem name='OpenProfileAction' action='OpenProfileAction'/><menuitem name='ImportProfileAction' action='ImportProfileAction'/><menuitem name='ExportProfileAction' action='ExportProfileAction'/><menuitem name='ExportForPracticalPaintAction' action='ExportForPracticalPaintAction'/></menu><menu name='RecipesAction' action='RecipesAction'><menuitem name='ExportRecipesAction' action='ExportRecipesAction'/><menuitem name='CopyRecipesToClipboardAction' action='CopyRecipesToClipboardAction'/></menu><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='CaptureAction' action='CaptureAction'/><menuitem name='SimulatorAction' action='SimulatorAction'/><menuitem name='RecipeGeneratorAction' action='RecipeGeneratorAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='ReactionStatusAction' action='ReactionStatusAction'/></menu><menu name='DebugAction' action='DebugAction'><menuitem name='ScreenshotAction' action='ScreenshotAction'/></menu></menubar></ui>");
this.menu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menu")));
this.menu.Name = "menu";
this.vbox1.Add (this.menu);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menu]));
w2.Position = 0;
w2.Expand = false;
w2.Fill = false;
// Container child vbox1.Gtk.Box+BoxChild
this.contentContainer = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
this.contentContainer.Name = "contentContainer";
this.contentContainer.LeftPadding = ((uint)(8));
this.contentContainer.TopPadding = ((uint)(6));
this.contentContainer.RightPadding = ((uint)(8));
this.contentContainer.BottomPadding = ((uint)(5));
this.vbox1.Add (this.contentContainer);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.contentContainer]));
w3.Position = 1;
// Container child vbox1.Gtk.Box+BoxChild
this.statusBar = new global::Gtk.Statusbar ();
this.statusBar.Name = "statusBar";
this.statusBar.Spacing = 6;
this.vbox1.Add (this.statusBar);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusBar]));
w4.Position = 2;
w4.Expand = false;
w4.Fill = false;
this.Add (this.vbox1);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.DefaultWidth = 732;
this.DefaultHeight = 384;
this.Show ();
this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
this.AboutAction.Activated += new global::System.EventHandler (this.OnAbout);
this.ExitAction.Activated += new global::System.EventHandler (this.OnMenuExit);
this.ScreenshotAction.Activated += new global::System.EventHandler (this.OnDebugScreenshot);
this.ReactionStatusAction.Activated += new global::System.EventHandler (this.OnShowReactionStatus);
this.CaptureAction.Toggled += new global::System.EventHandler (this.OnSelectCaptureView);
this.SimulatorAction.Toggled += new global::System.EventHandler (this.OnSelectSimulatorView);
this.RecipeGeneratorAction.Toggled += new global::System.EventHandler (this.OnSelectRecipeGeneratorView);
this.ExportRecipesAction.Activated += new global::System.EventHandler (this.OnExportRecipeListToWiki);
this.CopyRecipesToClipboardAction.Activated += new global::System.EventHandler (this.OnCopyRecipeListToClipboard);
this.NewProfileAction.Activated += new global::System.EventHandler (this.OnNewProfile);
this.OpenProfileAction.Activated += new global::System.EventHandler (this.OnOpenProfile);
this.ImportProfileAction.Activated += new global::System.EventHandler (this.OnImportProfile);
this.ExportProfileAction.Activated += new global::System.EventHandler (this.OnExportProfile);
this.ExportForPracticalPaintAction.Activated += new global::System.EventHandler (this.OnExportToPracticalPaint);
}
}
|