back to gui
wxBookCtrl
generated from ../src/mod_gui/control/bookctrl.cpp
This class represents a standard book control.
wxBookCtrl is mapped to the class best suited for a given platform.
Constants
Styles
| Name |
Description |
| DEFAULT |
|
| TOP |
|
| BOTTOM |
|
| LEFT |
|
| RIGHT |
|
wxBookCtrlHittest
| Name |
Description |
| NOWHERE |
There was no tab under this point. |
| ONICON |
The point was over an icon (currently wxMSW only). |
| ONLABEL |
The point was over a label (currently wxMSW only). |
| ONITEM |
The point was over an item, but not on the label or icon. |
| ONPAGE |
The point was over a currently selected page, not over any tab. Note that this flag is present only if -1 is returned. |
wxBookCtrlHittest is ported as a separate class.
Constructor
wxBookCtrl
wxBookCtrl()
wxBookCtrl(Parent,
Id,
Pos = wxDefaultPosition,
Size = wxDefaultSize,
Style = 0)
| Name |
Type |
Default |
Description |
| Parent |
wxWindow |
|
The parent of the notebook. |
| Id |
Integer |
|
An window identifier. Use -1 when you don't need it.
|
| Pos |
wxPoint |
wxDefaultPosition |
The position of the notebook on the given parent.
|
| Size |
wxSize |
wxDefaultSize |
The size of the notebook.
|
| Style |
Integer |
0 |
The notebook style
|
Constructs a new wxNotebook.
Methods
create
create(Parent,
Id,
Pos = wxDefaultPosition,
Size = wxDefaultSize,
Style = 0) : Boolean
| Name |
Type |
Default |
Description |
| Parent |
wxWindow |
|
The parent of the notebook. |
| Id |
Integer |
|
An window identifier. Use -1 when you don't need it.
|
| Pos |
wxPoint |
wxDefaultPosition |
The position of the notebook on the given parent.
|
| Size |
wxSize |
wxDefaultSize |
The size of the notebook.
|
| Style |
Integer |
0 |
The notebook style
|
Creates a notebook.
Events
| onPageChanged |
|
| onPageChanging |
|