internal TabStrip() { var xbox = new HBox(); Add(xbox); vBox = new TabStripVBox() { TabStrip = this }; hBox = new TabStripHBox() { TabStrip = this }; box = hBox; xbox.PackStart(hBox as Widget, false, false, 0); xbox.PackStart(vBox as Widget, false, false, 0); ShowAll(); vBox.Hide(); bottomFiller.Hide(); BottomPadding = 3; WidthRequest = 0; box.TabRemoved += HandleRemoved; }
public TabStrip(DockFrame frame) { xbox = new HBox(); Add(xbox); vBox = new TabStripVBox() { TabStrip = this }; hBox = new TabStripHBox() { TabStrip = this }; box = hBox; xbox.PackStart(hBox, false, false, 0); xbox.PackStart(vBox, false, false, 0); ShowAll(); vBox.Hide(); bottomFiller.Hide(); BottomPadding = 3; WidthRequest = 0; box.Removed += HandleRemoved; }