|
vdk 2.4.0
|
Provides a notebook widget. More...
#include <notebook.h>
Provides a notebook widget.
| VDKNotebook::VDKNotebook | ( | VDKForm * | owner = NULL | ) |
Constructor
| owner |
| VDKNotebook::~VDKNotebook | ( | ) | [virtual] |
Destructor
| void VDKNotebook::Add | ( | VDKObject * | obj, |
| int | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) | [inline, virtual] |
| void VDKNotebook::AddPage | ( | VDKObject * | obj, |
| const char * | label, | ||
| char ** | pixmap_closed = NULL, |
||
| char ** | pixmap_open = NULL |
||
| ) |
Add a page containing <obj>
| obj | widget to be added (normally a container) |
| label | tab label |
| pixmap_closed | |
| pixmap_open |
| void VDKNotebook::RemovePage | ( | int | page, |
| bool | removechild = true |
||
| ) |
Remove a page from notebook
| page | page to be removed |
| removechild | if false page child won't be removed |
| ActivePageProperty VDKNotebook::ActivePage |
Sets/gets currently active page
book->ActivePage++;
book->ActivePage--;
Return a list of notebook pages You can access to a single page like this:
// disables last page book->Pages[book->Pages.size()-1]->TabLabel->Enabled = false;
(run-time read only)
| VDKReadWriteValueProp<VDKNotebook,bool> VDKNotebook::PopUp |
Setting to true enables pop menu on notebook
| VDKReadOnlyValueProp<VDKNotebook,int> VDKNotebook::PreviousActivePage |
Gets previous active page
| VDKReadWriteValueProp<VDKNotebook,bool> VDKNotebook::Scrollable |
Sets/gets notebook scrollable flags
| NotebookTabPosProperty VDKNotebook::TabPosition |
Sets/gets notebook tabs position
1.7.6.1