private Gtk.Widget CreateTileList() { Gtk.VBox box = new Gtk.VBox(); box.Homogeneous = false; Gtk.Adjustment vadjustment = new Gtk.Adjustment(0, 0, 100, 1, 10, 10); tileList = new TileListWidget(this, selection, vadjustment); TilegroupSelector selector = new TilegroupSelector(this, tileList); Gtk.HBox hbox = new Gtk.HBox(false, 0); Gtk.VScrollbar scrollbar = new Gtk.VScrollbar(vadjustment); hbox.PackStart(tileList, true, true, 0); hbox.PackEnd(scrollbar, false, true, 0); box.PackStart(selector, false, true, 0); box.PackStart(hbox, true, true, 0); return(box); }
private Widget CreateTileList() { VBox box = new VBox(); box.Homogeneous = false; tileList = new TileListWidget(this, selection); TilegroupSelector selector = new TilegroupSelector(this, tileList); box.PackStart(selector, false, true, 0); box.PackStart(tileList, true, true, 0); return box; }
private Gtk.Widget CreateTileList() { Gtk.VBox box = new Gtk.VBox(); box.Homogeneous = false; Gtk.Adjustment vadjustment = new Gtk.Adjustment(0, 0, 100, 1, 10, 10); tileList = new TileListWidget(this, selection, vadjustment); TilegroupSelector selector = new TilegroupSelector(this, tileList); Gtk.HBox hbox = new Gtk.HBox(false, 0); Gtk.VScrollbar scrollbar = new Gtk.VScrollbar(vadjustment); hbox.PackStart(tileList, true, true, 0); hbox.PackEnd(scrollbar, false, true, 0); box.PackStart(selector, false, true, 0); box.PackStart(hbox, true, true, 0); return box; }