public MainWindow() : base(Gtk.WindowType.Toplevel) { Build(); box = new VBox(false, 2); Add(box); UnitEditor.MainMenu mb = new UnitEditor.MainMenu(); this.AddAccelGroup(mb.uim.AccelGroup); box.PackStart(mb.instance, false, false, 0); nb = new Notebook(); box.PackStart(nb, false, false, 0); ShowAll(); }
public MainWindow() : base(Gtk.WindowType.Toplevel) { Build (); box = new VBox (false, 2); Add (box); UnitEditor.MainMenu mb = new UnitEditor.MainMenu (); this.AddAccelGroup (mb.uim.AccelGroup); box.PackStart(mb.instance, false, false, 0); nb = new Notebook (); box.PackStart (nb, false, false, 0); ShowAll (); }