Version: 2.9.4
Public Member Functions
wxToolbook Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/toolbook.h>

Inheritance diagram for wxToolbook:

Detailed Description

wxToolbook is a class similar to wxNotebook but which uses a wxToolBar to show the labels instead of the tabs.

There is no documentation for this class yet but its usage is identical to wxNotebook (except for the features clearly related to tabs only), so please refer to that class documentation for now. You can also use the Notebook Sample to see wxToolbook in action.

Styles

This class supports the following styles:

The common wxBookCtrl styles described in the wxBookCtrl Overview are also supported.

Events emitted by this class

The following event handler macros redirect the events to member function handlers 'func' with prototypes like:

void handlerFuncName(wxBookCtrlEvent& event)

Event macros for events emitted by this class:

Library:  wxCore
Category:  Book Controls
参照:
wxBookCtrl Overview, wxBookCtrlBase, wxNotebook, Notebook Sample

Public Member Functions

bool Create (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxEmptyString)
 Create the tool book control that has already been constructed with the default constructor.
wxToolBarBase * GetToolBar () const
 Returns the wxToolBarBase associated with the control.
 wxToolbook ()
 Constructs a choicebook control.
 wxToolbook (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxEmptyString)
 Constructs a choicebook control.

List of all members.


Constructor & Destructor Documentation

wxToolbook::wxToolbook ( )

Constructs a choicebook control.

wxToolbook::wxToolbook ( wxWindow parent,
wxWindowID  id,
const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize,
long  style = 0,
const wxString name = wxEmptyString 
)

Constructs a choicebook control.


Member Function Documentation

bool wxToolbook::Create ( wxWindow parent,
wxWindowID  id,
const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize,
long  style = 0,
const wxString name = wxEmptyString 
)

Create the tool book control that has already been constructed with the default constructor.

Reimplemented from wxBookCtrlBase.

wxToolBarBase* wxToolbook::GetToolBar ( ) const

Returns the wxToolBarBase associated with the control.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines