---@meta ---@class ccui.TabControl :ccui.Widget local TabControl={ } ccui.TabControl=TabControl ---* set header width, affect all tab
---* param headerWidth each tab header's width ---@param headerWidth float ---@return self function TabControl:setHeaderWidth (headerWidth) end ---* remove the tab from this TabControl
---* param index The index of tab ---@param index int ---@return self function TabControl:removeTab (index) end ---* get the count of tabs in this TabControl
---* return the count of tabs ---@return unsigned_int function TabControl:getTabCount () end ---* ---@return int function TabControl:getHeaderDockPlace () end ---* get current selected tab's index
---* return the current selected tab index ---@return int function TabControl:getSelectedTabIndex () end ---* insert tab, and init the position of header and container
---* param index The index tab should be
---* param header The header Button, will be a protected child in TabControl
---* param container The container, will be a protected child in TabControl ---@param index int ---@param header ccui.TabHeader ---@param container ccui.Layout ---@return self function TabControl:insertTab (index,header,container) end ---* ignore the textures' size in header, scale them with _headerWidth and _headerHeight
---* param ignore is `true`, the header's texture scale with _headerWidth and _headerHeight
---* ignore is `false`, use the texture's size, do not scale them ---@param ignore boolean ---@return self function TabControl:ignoreHeadersTextureSize (ignore) end ---* get tab header's width
---* return header's width ---@return float function TabControl:getHeaderWidth () end ---* the header dock place of header in TabControl
---* param dockPlace The strip place ---@param dockPlace int ---@return self function TabControl:setHeaderDockPlace (dockPlace) end ---@overload fun(int0:ccui.TabHeader):self ---@overload fun(int:int):self ---@param index int ---@return self function TabControl:setSelectTab (index) end ---* get TabHeader
---* param index The index of tab ---@param index int ---@return ccui.TabHeader function TabControl:getTabHeader (index) end ---* get whether ignore the textures' size in header, scale them with _headerWidth and _headerHeight
---* return whether ignore the textures' size in header ---@return boolean function TabControl:isIgnoreHeadersTextureSize () end ---* Add a callback function which would be called when selected tab changed
---* param callback A std::function with type @see `ccTabControlCallback` ---@param callback function ---@return self function TabControl:setTabChangedEventListener (callback) end ---* set the delta zoom of selected tab
---* param zoom The delta zoom ---@param zoom float ---@return self function TabControl:setHeaderSelectedZoom (zoom) end ---* set header height, affect all tab
---* param headerHeight each tab header's height ---@param headerHeight float ---@return self function TabControl:setHeaderHeight (headerHeight) end ---* get the index of tabCell in TabView, return -1 if not exists in.
---* return the index of tabCell in TabView, `-1` means not exists in. ---@param tabCell ccui.TabHeader ---@return int function TabControl:indexOfTabHeader (tabCell) end ---* get Container
---* param index The index of tab ---@param index int ---@return ccui.Layout function TabControl:getTabContainer (index) end ---* get the delta zoom of selected tab
---* return zoom, the delta zoom ---@return float function TabControl:getHeaderSelectedZoom () end ---* get tab header's height
---* return header's height ---@return int function TabControl:getHeaderHeight () end ---* ---@return self function TabControl:create () end