#define wxDV_HORIZ_RULES 0x0004 |
#define wxDV_MULTIPLE 0x0001 |
#define wxDV_NO_HEADER 0x0002 |
#define wxDV_ROW_LINES 0x0010 |
#define wxDV_SINGLE 0x0000 |
#define wxDV_VARIABLE_LINE_HEIGHT 0x0020 |
#define wxDV_VERT_RULES 0x0008 |
#define wxDVC_DEFAULT_MINWIDTH 30 |
#define wxDVC_DEFAULT_RENDERER_SIZE 20 |
#define wxDVC_DEFAULT_WIDTH 80 |
#define wxDVC_TOGGLE_DEFAULT_WIDTH 30 |
#define wxDVR_DEFAULT_ALIGNMENT -1 |
enum wxDataViewCellMode |
The mode of a data-view cell; see wxDataViewRenderer for more info.
wxDATAVIEW_CELL_INERT |
The cell only displays information and cannot be manipulated or otherwise interacted with in any way. Note that this doesn't mean that the row being drawn can't be selected, just that a particular element of it cannot be individually modified. |
wxDATAVIEW_CELL_ACTIVATABLE |
Indicates that the cell can be activated by clicking it or using keyboard. Activating a cell is an alternative to showing inline editor when the value can be edited in a simple way that doesn't warrant full editor control. The most typical use of cell activation is toggling the checkbox in wxDataViewToggleRenderer; others would be e.g. an embedded volume slider or a five-star rating column. The exact means of activating a cell are platform-dependent, but they are usually similar to those used for inline editing of values. Typically, a cell would be activated by Space or Enter keys or by left mouse click.
|
wxDATAVIEW_CELL_EDITABLE |
Indicates that the user can edit the data in-place in an inline editor control that will show up when the user wants to edit the cell. A typical example of this behaviour is changing the filename in a file managers. Editing is typically triggered by slowly double-clicking the cell or by a platform-dependent keyboard shortcut (F2 is typical on Windows, Space and/or Enter is common elsewhere and supported on Windows too). |
The values of this enum controls how a wxDataViewRenderer should display its contents in a cell.
The flags used by wxDataViewColumn.
Can be combined together.