2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: listbook.h
|
2008-03-10 11:24:38 -04:00
|
|
|
// Purpose: interface of wxListbook
|
2008-03-08 08:52:38 -05:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxListbook
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
wxListbook is a class similar to wxNotebook but which
|
|
|
|
uses a wxListCtrl to show the labels instead of the
|
|
|
|
tabs.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-06-06 19:50:21 -04:00
|
|
|
The underlying wxListCtrl displays page labels in a one-column report view
|
|
|
|
by default. Calling wxListbook::SetImageList will implicitly switch the
|
|
|
|
control to use an icon view.
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
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 @ref overview_samplenotebook "notebook sample" to see wxListbook in
|
|
|
|
action.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@beginStyleTable
|
2008-04-06 10:43:04 -04:00
|
|
|
@style{wxLB_DEFAULT}
|
2008-03-08 08:52:38 -05:00
|
|
|
Choose the default location for the labels depending on the current
|
|
|
|
platform (left everywhere except Mac where it is top).
|
2008-04-06 10:43:04 -04:00
|
|
|
@style{wxLB_TOP}
|
2008-03-08 08:52:38 -05:00
|
|
|
Place labels above the page area.
|
2008-04-06 10:43:04 -04:00
|
|
|
@style{wxLB_LEFT}
|
2008-03-08 08:52:38 -05:00
|
|
|
Place labels on the left side.
|
2008-04-06 10:43:04 -04:00
|
|
|
@style{wxLB_RIGHT}
|
2008-03-08 08:52:38 -05:00
|
|
|
Place labels on the right side.
|
2008-04-06 10:43:04 -04:00
|
|
|
@style{wxLB_BOTTOM}
|
2008-03-08 08:52:38 -05:00
|
|
|
Place labels below the page area.
|
|
|
|
@endStyleTable
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxcore}
|
|
|
|
@category{miscwnd}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
@see wxBookCtrl(), wxNotebook, @ref overview_samplenotebook "notebook sample"
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxListbook : public wxBookCtrl overview
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
//@{
|
|
|
|
/**
|
|
|
|
Constructs a listbook control.
|
|
|
|
*/
|
|
|
|
wxListbook();
|
2008-03-08 09:43:31 -05:00
|
|
|
wxListbook(wxWindow* parent, wxWindowID id,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxEmptyStr);
|
2008-03-08 08:52:38 -05:00
|
|
|
//@}
|
|
|
|
};
|
2008-03-10 11:24:38 -04:00
|
|
|
|