Add toolbar tab to the toolbar of the given name or by pointer to existing toolbar tab.
local toolbar = mainWindow:toolbar() local tab1 = toolbar:addTab("Tab1")
local tab1 = gui.ToolbarTab("Tab1") local toolbar = mainWindow:toolbar() toolbar:addTab(tab1)
Remove toolbar tab from the toolbar of the given name or by pointer to existing toolbar tab.
local toolbar = mainWindow:toolbar() toolbar:removeTab("Tab1")
local toolbar = mainWindow:toolbar() toolbar:removeTab(tab1)
Find tab by label.
local tab1 = toolbar:tabByName("Tab1")
Remove toolbar group by name in given tab. Second parameter is optionaly and by default is the “Quick Access” tab.
toolbar:removeGroupByName("Group1", "Tab1")