wxDataViewVirtualListModel Class Reference
[wxDataViewCtrl Related Classes]

#include <wx/dataview.h>

Inheritance diagram for wxDataViewVirtualListModel:
Inheritance graph
[legend]

Detailed Description

wxDataViewVirtualListModel is a specialized data model which lets you address an item by its position (row) rather than its wxDataViewItem and as such offers the exact same interface as wxDataViewIndexListModel.

The important difference is that under platforms other than OS X, using this model will result in a truly virtual control able to handle millions of items as the control doesn't store any item (a feature not supported by the Carbon API under OS X).

See also:
wxDataViewIndexListModel for the API.

Library:  wxAdvanced
Category:  wxDataViewCtrl Related Classes

Public Member Functions

 wxDataViewVirtualListModel (unsigned int initial_size=0)
 Constructor.
unsigned int GetCount () const
 Returns the number of virtual items (i.e.

List of all members.


Constructor & Destructor Documentation

wxDataViewVirtualListModel::wxDataViewVirtualListModel ( unsigned int  initial_size = 0  ) 

Constructor.


Member Function Documentation

unsigned int wxDataViewVirtualListModel::GetCount (  )  const

Returns the number of virtual items (i.e.

rows) in the list.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



wxWidgets logo

[ top ]