示例#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
}
示例#2
0
func (e *Editor) CreatePanelTab() mixins.PanelTab {
	return basic.CreatePanelTab(e.theme)
}