TabItem.enabled readwrite

Get or set the TabItem content ability to respond to mouse, and any other events.

Example

--! luart-extensions import ui -- create a simple Window local win = ui.Window("TabItem.owner sample", "fixed", 320, 250) local tab = ui.Tab(win, {"Tab 1", "Tab 2", "Tab 3"}) for i=1,3 do ui.Button(tab.items[i], "Button "..i, 110,70) end -- disable second TabItem tab.items[2].enabled = false win:status("Tab.items[2] content is disabled !") win:show() -- update user interface repeat ui.update() until not win.visible