wx.dataview

The classes in this module provide views and data models for viewing tabular or hierarchical data in a more advanced way than what is provided by classes such as wx.ListCtrl, wx.TreeCtrl, etc.

Class Summary

Class

Short Description

DataViewBitmapRenderer

This class is used by wx.dataview.DataViewCtrl to render bitmap controls.

DataViewCheckIconTextRenderer

This renderer class shows a checkbox in addition to the icon and text shown by the base class and also allows the user to toggle this checkbox.

DataViewChoiceRenderer

A wx.dataview.DataViewCtrl renderer using wx.Choice control and values of strings in it.

DataViewColumn

This class represents a column in a wx.dataview.DataViewCtrl.

DataViewCtrl

wx.dataview.DataViewCtrl is a control to display data either in a tree like fashion or in a tabular form or both.

DataViewCustomRenderer

You need to derive a new class from wx.dataview.DataViewCustomRenderer in order to write a new renderer.

DataViewDateRenderer

This class is used by wx.dataview.DataViewCtrl to render calendar controls.

DataViewEvent

This is the event class for the wx.dataview.DataViewCtrl notifications.

DataViewIconText

wx.dataview.DataViewIconText is used by wx.dataview.DataViewIconTextRenderer for data transfer.

DataViewIconTextRenderer

The wx.dataview.DataViewIconTextRenderer class is used to display text with a small icon next to it as it is typically done in a file manager.

DataViewIndexListModel

wx.dataview.DataViewIndexListModel is a specialized data model which lets you address an item by its position (row) rather than its wx.dataview.DataViewItem (which you can obtain from this class).

DataViewItem

wx.dataview.DataViewItem is a small opaque class that represents an item in a wx.dataview.DataViewCtrl in a persistent way, i.e.

DataViewItemAttr

This class is used to indicate to a wx.dataview.DataViewCtrl that a certain item (see wx.dataview.DataViewItem) has extra font attributes for its renderer.

DataViewItemObjectMapper

This class provides a mechanism for mapping between Python objects and the

DataViewListCtrl

This class is a wx.dataview.DataViewCtrl which internally uses a wx.dataview.DataViewListStore and forwards most of its API to that class.

DataViewListModel

Base class with abstract API for wx.dataview.DataViewIndexListModel and wx.dataview.DataViewVirtualListModel.

DataViewListStore

wx.dataview.DataViewListStore is a specialised wx.dataview.DataViewModel for storing a simple table of data.

DataViewModel

wx.dataview.DataViewModel is the base class for all data model to be displayed by a wx.dataview.DataViewCtrl.

DataViewModelNotifier

A wx.dataview.DataViewModelNotifier instance is owned by a wx.dataview.DataViewModel and mirrors its notification interface.

DataViewProgressRenderer

This class is used by wx.dataview.DataViewCtrl to render progress bars.

DataViewRenderer

This class is used by wx.dataview.DataViewCtrl to render the individual cells.

DataViewSpinRenderer

This is a specialized renderer for rendering integer values.

DataViewTextRenderer

wx.dataview.DataViewTextRenderer is used for rendering text.

DataViewToggleRenderer

This class is used by wx.dataview.DataViewCtrl to render toggle controls.

DataViewTreeCtrl

This class is a wx.dataview.DataViewCtrl which internally uses a wx.dataview.DataViewTreeStore and forwards most of its API to that class.

DataViewTreeStore

wx.dataview.DataViewTreeStore is a specialised wx.dataview.DataViewModel for storing simple trees very much like wx.TreeCtrl does and it offers a similar API.

DataViewValueAdjuster

This class can be used with wx.dataview.DataViewRenderer.SetValueAdjuster to customize rendering of model values with standard renderers.

DataViewVirtualListModel

wx.dataview.DataViewVirtualListModel is a specialized data model which lets you address an item by its position (row) rather than its wx.dataview.DataViewItem and as such offers the exact same interface as wx.dataview.DataViewIndexListModel.

PyDataViewModel

A convenience class that is a DataViewModel combined with an object mapper.

TreeListCtrl

A control combining wx.TreeCtrl and wx.ListCtrl features.

TreeListEvent

Event generated by wx.dataview.TreeListCtrl.

TreeListItem

Unique identifier of an item in wx.dataview.TreeListCtrl.

TreeListItemComparator

Class defining sort order for the items in wx.dataview.TreeListCtrl.