source:
code/trunk/src/external/ceguilua/ceguilua-0.5.0/package/elements/TabControl.pkg
@
6188
| Last change on this file since 6188 was 5781, checked in by rgrieder, 16 years ago | |
|---|---|
|
|
| File size: 850 bytes | |
| Line | |
|---|---|
| 1 | /*********************************************************************** |
| 2 | TabControl |
| 3 | ***********************************************************************/ |
| 4 | class 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.










