/************************************************************************* Set the selected tab by window ID *************************************************************************/ void TabControl::setSelectedTab(uint ID) { // get window Window* wnd = d_tabContentPane->getChild(ID); selectTab_impl(wnd); }
/************************************************************************* Set the selected tab by window name *************************************************************************/ void TabControl::setSelectedTab(const String &name) { // get window Window* wnd = d_tabContentPane->getChild(name); selectTab_impl(wnd); }
/************************************************************************* Set the selected tab by window name *************************************************************************/ void TabControl::setSelectedTabAtIndex(size_t index) { selectTab_impl(getTabContentsAtIndex(index)); }
/************************************************************************* Set the selected tab by window ID *************************************************************************/ void TabControl::setSelectedTab(uint ID) { selectTab_impl(getTabPane()->getChild(ID)); }
/************************************************************************* Set the selected tab by window name *************************************************************************/ void TabControl::setSelectedTab(const String &name) { selectTab_impl(getTabPane()->getChild(name)); }
/************************************************************************* Set the selected tab by window name *************************************************************************/ void TabControl::setSelectedTabAtIndex(uint index) { Window* wnd = getTabContentsAtIndex(index); selectTab_impl(wnd); }