コード例 #1
0
ファイル: CEGUITabControl.cpp プロジェクト: gitrider/wxsj2
/*************************************************************************
Set the selected tab by window ID
*************************************************************************/
void TabControl::setSelectedTab(uint ID)
{
    // get window
    Window* wnd = d_tabContentPane->getChild(ID);

    selectTab_impl(wnd);
}
コード例 #2
0
ファイル: CEGUITabControl.cpp プロジェクト: gitrider/wxsj2
/*************************************************************************
Set the selected tab by window name
*************************************************************************/
void TabControl::setSelectedTab(const String &name)
{
    // get window
    Window* wnd = d_tabContentPane->getChild(name);

    selectTab_impl(wnd);
}
コード例 #3
0
/*************************************************************************
Set the selected tab by window name
*************************************************************************/
void TabControl::setSelectedTabAtIndex(size_t index)
{
	selectTab_impl(getTabContentsAtIndex(index));
}
コード例 #4
0
/*************************************************************************
Set the selected tab by window ID
*************************************************************************/
void TabControl::setSelectedTab(uint ID)
{
    selectTab_impl(getTabPane()->getChild(ID));
}
コード例 #5
0
/*************************************************************************
Set the selected tab by window name
*************************************************************************/
void TabControl::setSelectedTab(const String &name)
{
    selectTab_impl(getTabPane()->getChild(name));
}
コード例 #6
0
ファイル: CEGUITabControl.cpp プロジェクト: gitrider/wxsj2
/*************************************************************************
Set the selected tab by window name
*************************************************************************/
void TabControl::setSelectedTabAtIndex(uint index)
{
	Window* wnd = getTabContentsAtIndex(index);
	selectTab_impl(wnd);
}