Public Methods |
| TabView (const Rect &cFrame, const char *pzTitle, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_FULL_UPDATE_ON_RESIZE) |
| Contruct the TabView. More...
|
int | AppendTab (const char *pzTitle, View *pcView=NULL) |
| Add a tab at the end of the list. More...
|
int | InsertTab (uint nIndex, const char *pzTitle, View *pcView=NULL) |
| Insert tabs at a given position. More...
|
View * | DeleteTab (uint nIndex) |
| Delete a given tab. More...
|
View * | GetTabView (uint nIndex) const |
| Get the View associated with a given tab. More...
|
int | GetTabCount () const |
| Get number of tabs currently added to the view. More...
|
int | SetTabTitle (uint nIndex, const std::string &cTitle) |
const std::string & | GetTabTitle (uint nIndex) const |
| Get the title of a given tab. More...
|
uint | GetSelection () |
| Get the current selection. More...
|
void | SetSelection (uint nIndex, bool bNotify=true) |
| Select a tab, and optionally notify the target. More...
|
virtual void | FrameSized (const Point &cDelta) |
| Virtual hook called by the system when the view is resized. More...
|
virtual void | MouseMove (const Point &cNewPos, int nCode, uint32 nButtons, Message *pcData) |
| Hook called by the system when the mouse is moved. More...
|
virtual void | MouseDown (const Point &cPosition, uint32 nButtons) |
| Hook called by the system when a mouse button is pressed. More...
|
virtual void | MouseUp (const Point &cPosition, uint32 nButtons, Message *pcData) |
| Hook called by the system when a mouse button is release. More...
|
virtual void | KeyDown (const char *pzString, const char *pzRawString, uint32 nQualifiers) |
| Hook called by the system when a key is pressed while the view has focus. More...
|
virtual Point | GetPreferredSize (bool bLargest) const |
virtual void | Paint (const Rect &cUpdateRect) |
| Called by the system update "damaged" areas of the view. More...
|
virtual void | AllAttached () |