Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

VDKNotebook Class Reference

Provides a notebook widget. More...

#include <notebook.h>

Inheritance diagram for VDKNotebook:

VDKObjectContainer VDKObject VDKNotCopyAble List of all members.

Public Member Functions

Public Attributes


Detailed Description

Provides a notebook widget.

SIGNALS
TIP
Add the notebook to the parent container before adding pages.
EXAMPLES
In ./testvdk/nbookwin.cc


Constructor & Destructor Documentation

VDKNotebook::VDKNotebook VDKForm owner = NULL  ) 
 

Constructor

Parameters:
owner 

VDKNotebook::~VDKNotebook  )  [virtual]
 

Destructor


Member Function Documentation

void VDKNotebook::Add VDKObject obj,
int  ,
int  ,
int  ,
int 
[inline, virtual]
 

Add a page containing

Parameters:
obj 
others unused

Reimplemented from VDKObjectContainer.

void VDKNotebook::AddPage VDKObject obj,
const char *  label,
char **  pixmap_closed = NULL,
char **  pixmap_open = NULL
 

Add a page containing

Parameters:
obj widget to be added (normally a container)
label tab label
pixmap_closed 
pixmap_open 
TIP
Tabs can show two different pixmaps, opened (when page is selected) or closed (when unselected)

void VDKNotebook::RemovePage int  page,
bool  removechild = true
 

Remove a page from notebook

Parameters:
page page to be removed
removechild if false page child won't be removed
Tip
Normal user doesn't care about arg and let it be as default. Used to better support VDKBuilder notebook handling.


Member Data Documentation

ActivePageProperty VDKNotebook::ActivePage
 

Sets/gets currently active page

TIP
This property has also increment/decrement operator
    book->ActivePage++;
    book->ActivePage--;

PageList VDKNotebook::Pages
 

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


The documentation for this class was generated from the following files:
Generated on Wed Aug 6 11:01:57 2003 for vdk 2.0.3 by doxygen 1.3.2