comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 46:3314f6a46661

Fixes #138: Re-implement menu for undo/redo * Replace WinForms code with equivalent GTK objects to construct menu and handle multi-undo/redo Re #86: Complete initial GTK# UI * Make tabs re-orderable * Make tabs scrollable when we get too many
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Aug 2010 19:25:08 +0000
parents 5584860fb44b
children
comparison
equal deleted inserted replaced
45:5584860fb44b 46:3314f6a46661
188 // Container child hpaned2.Gtk.Paned+PanedChild 188 // Container child hpaned2.Gtk.Paned+PanedChild
189 this.unitsNotebook = new global::Gtk.Notebook(); 189 this.unitsNotebook = new global::Gtk.Notebook();
190 this.unitsNotebook.CanFocus = true; 190 this.unitsNotebook.CanFocus = true;
191 this.unitsNotebook.Name = "unitsNotebook"; 191 this.unitsNotebook.Name = "unitsNotebook";
192 this.unitsNotebook.CurrentPage = -1; 192 this.unitsNotebook.CurrentPage = -1;
193 this.unitsNotebook.Scrollable = true;
193 this.hpaned2.Add(this.unitsNotebook); 194 this.hpaned2.Add(this.unitsNotebook);
194 this.vbox1.Add(this.hpaned2); 195 this.vbox1.Add(this.hpaned2);
195 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned2])); 196 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned2]));
196 w6.Position = 2; 197 w6.Position = 2;
197 // Container child vbox1.Gtk.Box+BoxChild 198 // Container child vbox1.Gtk.Box+BoxChild