Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This file has been generated by the GUI designer. Do not modify.
- namespace GameOfLifeProgram {
- public partial class MainWindow
- {
- private global::Gtk.UIManager UIManager;
- private global::Gtk.Action FileAction;
- private global::Gtk.Action EditAction;
- private global::Gtk.Action AboutAction;
- private global::Gtk.Action GenerateAction;
- private global::Gtk.VPaned Splitter;
- private global::Gtk.MenuBar mainMenu;
- private global::Gtk.DrawingArea display;
- 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.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.GenerateAction = new global::Gtk.Action ("GenerateAction", global::Mono.Unix.Catalog.GetString ("Generate"), null, null);
- this.GenerateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Generate");
- w1.Add (this.GenerateAction, 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.Splitter = new global::Gtk.VPaned ();
- this.Splitter.CanFocus = true;
- this.Splitter.Name = "Splitter";
- this.Splitter.Position = 27;
- // Container child Splitter.Gtk.Paned+PanedChild
- this.UIManager.AddUiFromString ("<ui><menubar name='mainMenu'><menu name='FileAction' action='FileAction'><menuitem name='GenerateAction' action='GenerateAction'/></menu><menu name='EditAction' action='EditAction'/><menu name='AboutAction' action='AboutAction'/></menubar></ui>");
- this.mainMenu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/mainMenu")));
- this.mainMenu.Name = "mainMenu";
- this.Splitter.Add (this.mainMenu);
- global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.Splitter[this.mainMenu]));
- w2.Resize = false;
- // Container child Splitter.Gtk.Paned+PanedChild
- this.display = new global::Gtk.DrawingArea ();
- this.display.Name = "display";
- this.Splitter.Add (this.display);
- this.Add (this.Splitter);
- if ((this.Child != null)) {
- this.Child.ShowAll ();
- }
- this.DefaultWidth = 430;
- this.DefaultHeight = 300;
- this.Show ();
- this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
- this.GenerateAction.Activated += new global::System.EventHandler (this.OnGenerateActionActivated);
- this.display.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDisplayExposeEvent);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement