#include <tabview.h>
Inheritance diagram for os::TabView:
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... | |
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 void | MouseMove (const Point &cNewPos, int nCode, uint32 nButtons, Message *pcData) |
virtual void | MouseDown (const Point &cPosition, uint32 nButtons) |
virtual void | MouseUp (const Point &cPosition, uint32 nButtons, Message *pcData) |
virtual void | KeyDown (const char *pzString, const char *pzRawString, uint32 nQualifiers) |
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 () |
|
Contruct the TabView.
|
|
Reimplemented from os::View. |
|
Add a tab at the end of the list.
When a view is associated with a tab, the view will be resized to fit the interiour of the TabView.
|
|
Delete a given tab.
|
|
Reimplemented from os::View. |
|
Reimplemented from os::View. |
|
Get the current selection.
|
|
Get the title of a given tab.
|
|
Get the View associated with a given tab.
|
|
Insert tabs at a given position.
|
|
Reimplemented from os::View. |
|
Reimplemented from os::View. |
|
Reimplemented from os::View. |
|
Reimplemented from os::View. |
|
Called by the system update "damaged" areas of the view.
Reimplemented from os::View. |
|
Select a tab, and optionally notify the target.
|