Example #1
0
func (e *TabbedEditor) CreatePanelTab() mixins.PanelTab {
	tab := basic.CreatePanelTab(e.theme)
	tab.OnMouseUp(func(gxui.MouseEvent) {
		e.driver.Call(e.Focus)
	})
	return tab
}
Example #2
0
func (e *Editor) CreatePanelTab() mixins.PanelTab {
	return basic.CreatePanelTab(e.theme)
}