Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/tutorialHS09/src/external/ceguilua/ceguilua-0.5.0/package/elements/TabControl.pkg

Last change on this file was 5738, checked in by landauf, 15 years ago

merged libraries2 back to trunk

  • Property svn:eol-style set to native
File size: 850 bytes
Line 
1/***********************************************************************
2        TabControl
3***********************************************************************/
4class TabControl : public Window
5{
6        unsigned int getTabCount() const;
7
8        void setSelectedTab(string name);
9        void setSelectedTab(unsigned int ID);
10        void setSelectedTabAtIndex(unsigned int index);
11
12        Window* getTabContentsAtIndex(unsigned int index) const;
13        Window* getTabContents(string name) const;
14        Window* getTabContents(unsigned int ID) const;
15
16        bool isTabContentsSelected(Window* wnd) const;
17        unsigned int getSelectedTabIndex() const;
18
19        const UDim& getTabHeight() const;
20        const UDim& getTabTextPadding() const;
21
22        void setTabHeight(const UDim& height);
23        void setTabTextPadding(const UDim& pad);
24
25        void addTab(Window* wnd);
26
27        void removeTab(unsigned int ID);
28        void removeTab(string name);
29};
Note: See TracBrowser for help on using the repository browser.