Ejemplo n.º 1
0
    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();
    }
Ejemplo n.º 2
0
    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 ();
    }