Version: 3.0.4
grid.h File Reference

Classes

class  wxGridCellRenderer
 
class  wxGridCellAutoWrapStringRenderer
 
class  wxGridCellBoolRenderer
 
class  wxGridCellDateTimeRenderer
 
class  wxGridCellEnumRenderer
 
class  wxGridCellFloatRenderer
 
class  wxGridCellNumberRenderer
 
class  wxGridCellStringRenderer
 
class  wxGridCellEditor
 
class  wxGridCellAutoWrapStringEditor
 
class  wxGridCellBoolEditor
 
class  wxGridCellChoiceEditor
 
class  wxGridCellEnumEditor
 
class  wxGridCellTextEditor
 
class  wxGridCellFloatEditor
 
class  wxGridCellNumberEditor
 
class  wxGridCellAttr
 
class  wxGridCornerHeaderRenderer
 Base class for corner window renderer. More...
 
class  wxGridHeaderLabelsRenderer
 Common base class for row and column headers renderers. More...
 
class  wxGridRowHeaderRenderer
 Base class for row headers renderer. More...
 
class  wxGridColumnHeaderRenderer
 Base class for column headers renderer. More...
 
class  wxGridRowHeaderRendererDefault
 Default row header renderer. More...
 
class  wxGridColumnHeaderRendererDefault
 Default column header renderer. More...
 
class  wxGridCornerHeaderRendererDefault
 Default corner window renderer. More...
 
class  wxGridCellAttrProvider
 Class providing attributes to be used for the grid cells. More...
 
class  wxGridCellCoords
 Represents coordinates of a grid cell. More...
 
class  wxGridTableBase
 
class  wxGridTableMessage
 
class  wxGridStringTable
 
class  wxGridSizesInfo
 
class  wxGrid
 
class  wxGridUpdateLocker
 
class  wxGridEvent
 
class  wxGridSizeEvent
 
class  wxGridRangeSelectEvent
 
class  wxGridEditorCreatedEvent
 

Macros

#define wxGRID_AUTOSIZE   (-1)
 Magic constant which tells (to some functions) to automatically calculate the appropriate size. More...
 

Enumerations

enum  wxGridDirection {
  wxGRID_COLUMN,
  wxGRID_ROW
}
 Many wxGrid methods work either with columns or rows, this enum is used for the parameter indicating which one should it be. More...
 
enum  wxGridCellFloatFormat {
  wxGRID_FLOAT_FORMAT_FIXED = 0x0010,
  wxGRID_FLOAT_FORMAT_SCIENTIFIC = 0x0020,
  wxGRID_FLOAT_FORMAT_COMPACT = 0x0040,
  wxGRID_FLOAT_FORMAT_UPPER = 0x0080,
  wxGRID_FLOAT_FORMAT_DEFAULT = wxGRID_FLOAT_FORMAT_FIXED
}
 Specifier used to format the data to string for the numbers handled by wxGridCellFloatRenderer and wxGridCellFloatEditor. More...
 
enum  wxGridTableRequest {
  wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = 2000,
  wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES,
  wxGRIDTABLE_NOTIFY_ROWS_INSERTED,
  wxGRIDTABLE_NOTIFY_ROWS_APPENDED,
  wxGRIDTABLE_NOTIFY_ROWS_DELETED,
  wxGRIDTABLE_NOTIFY_COLS_INSERTED,
  wxGRIDTABLE_NOTIFY_COLS_APPENDED,
  wxGRIDTABLE_NOTIFY_COLS_DELETED
}
 
enum  wxGridRenderStyle {
  wxGRID_DRAW_ROWS_HEADER = 0x001,
  wxGRID_DRAW_COLS_HEADER = 0x002,
  wxGRID_DRAW_CELL_LINES = 0x004,
  wxGRID_DRAW_BOX_RECT = 0x008,
  wxGRID_DRAW_SELECTION = 0x010,
  wxGRID_DRAW_DEFAULT
}
 Rendering styles supported by wxGrid::Render() method. More...
 

Variables

wxEventType wxEVT_GRID_CELL_LEFT_CLICK
 
wxEventType wxEVT_GRID_CELL_RIGHT_CLICK
 
wxEventType wxEVT_GRID_CELL_LEFT_DCLICK
 
wxEventType wxEVT_GRID_CELL_RIGHT_DCLICK
 
wxEventType wxEVT_GRID_LABEL_LEFT_CLICK
 
wxEventType wxEVT_GRID_LABEL_RIGHT_CLICK
 
wxEventType wxEVT_GRID_LABEL_LEFT_DCLICK
 
wxEventType wxEVT_GRID_LABEL_RIGHT_DCLICK
 
wxEventType wxEVT_GRID_ROW_SIZE
 
wxEventType wxEVT_GRID_COL_SIZE
 
wxEventType wxEVT_GRID_COL_AUTO_SIZE
 
wxEventType wxEVT_GRID_RANGE_SELECT
 
wxEventType wxEVT_GRID_CELL_CHANGING
 
wxEventType wxEVT_GRID_CELL_CHANGED
 
wxEventType wxEVT_GRID_SELECT_CELL
 
wxEventType wxEVT_GRID_EDITOR_SHOWN
 
wxEventType wxEVT_GRID_EDITOR_HIDDEN
 
wxEventType wxEVT_GRID_EDITOR_CREATED
 
wxEventType wxEVT_GRID_CELL_BEGIN_DRAG
 
wxEventType wxEVT_GRID_COL_MOVE
 
wxEventType wxEVT_GRID_COL_SORT
 
wxEventType wxEVT_GRID_TABBING
 

Macro Definition Documentation

◆ wxGRID_AUTOSIZE

#define wxGRID_AUTOSIZE   (-1)

Magic constant which tells (to some functions) to automatically calculate the appropriate size.

Enumeration Type Documentation

◆ wxGridCellFloatFormat

Specifier used to format the data to string for the numbers handled by wxGridCellFloatRenderer and wxGridCellFloatEditor.

Since
2.9.3
Enumerator
wxGRID_FLOAT_FORMAT_FIXED 

Decimal floating point (f).

wxGRID_FLOAT_FORMAT_SCIENTIFIC 

Scientific notation (mantissa/exponent) using e character (e).

wxGRID_FLOAT_FORMAT_COMPACT 

Use the shorter of e or f (g).

wxGRID_FLOAT_FORMAT_UPPER 

To use in combination with one of the above formats for the upper case version (F/E/G)

wxGRID_FLOAT_FORMAT_DEFAULT 

The format used by default (wxGRID_FLOAT_FORMAT_FIXED).

◆ wxGridDirection

Many wxGrid methods work either with columns or rows, this enum is used for the parameter indicating which one should it be.

Enumerator
wxGRID_COLUMN 
wxGRID_ROW 

◆ wxGridRenderStyle

Rendering styles supported by wxGrid::Render() method.

Since
2.9.4
Enumerator
wxGRID_DRAW_ROWS_HEADER 

Draw grid row header labels.

wxGRID_DRAW_COLS_HEADER 

Draw grid column header labels.

wxGRID_DRAW_CELL_LINES 

Draw grid cell border lines.

wxGRID_DRAW_BOX_RECT 

Draw a bounding rectangle around the rendered cell area.

Useful where row or column headers are not drawn or where there is multi row or column cell clipping and therefore no cell border at the rendered outer boundary.

wxGRID_DRAW_SELECTION 

Draw the grid cell selection highlight if a selection is present.

At present the highlight colour drawn depends on whether the grid window loses focus before drawing begins.

wxGRID_DRAW_DEFAULT 

The default render style.

Includes all except wxGRID_DRAW_SELECTION.

◆ wxGridTableRequest

Enumerator
wxGRIDTABLE_REQUEST_VIEW_GET_VALUES 
wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES 
wxGRIDTABLE_NOTIFY_ROWS_INSERTED 
wxGRIDTABLE_NOTIFY_ROWS_APPENDED 
wxGRIDTABLE_NOTIFY_ROWS_DELETED 
wxGRIDTABLE_NOTIFY_COLS_INSERTED 
wxGRIDTABLE_NOTIFY_COLS_APPENDED 
wxGRIDTABLE_NOTIFY_COLS_DELETED 

Variable Documentation

◆ wxEVT_GRID_CELL_BEGIN_DRAG

wxEventType wxEVT_GRID_CELL_BEGIN_DRAG

◆ wxEVT_GRID_CELL_CHANGED

wxEventType wxEVT_GRID_CELL_CHANGED

◆ wxEVT_GRID_CELL_CHANGING

wxEventType wxEVT_GRID_CELL_CHANGING

◆ wxEVT_GRID_CELL_LEFT_CLICK

wxEventType wxEVT_GRID_CELL_LEFT_CLICK

◆ wxEVT_GRID_CELL_LEFT_DCLICK

wxEventType wxEVT_GRID_CELL_LEFT_DCLICK

◆ wxEVT_GRID_CELL_RIGHT_CLICK

wxEventType wxEVT_GRID_CELL_RIGHT_CLICK

◆ wxEVT_GRID_CELL_RIGHT_DCLICK

wxEventType wxEVT_GRID_CELL_RIGHT_DCLICK

◆ wxEVT_GRID_COL_AUTO_SIZE

wxEventType wxEVT_GRID_COL_AUTO_SIZE

◆ wxEVT_GRID_COL_MOVE

wxEventType wxEVT_GRID_COL_MOVE

◆ wxEVT_GRID_COL_SIZE

wxEventType wxEVT_GRID_COL_SIZE

◆ wxEVT_GRID_COL_SORT

wxEventType wxEVT_GRID_COL_SORT

◆ wxEVT_GRID_EDITOR_CREATED

wxEventType wxEVT_GRID_EDITOR_CREATED

◆ wxEVT_GRID_EDITOR_HIDDEN

wxEventType wxEVT_GRID_EDITOR_HIDDEN

◆ wxEVT_GRID_EDITOR_SHOWN

wxEventType wxEVT_GRID_EDITOR_SHOWN

◆ wxEVT_GRID_LABEL_LEFT_CLICK

wxEventType wxEVT_GRID_LABEL_LEFT_CLICK

◆ wxEVT_GRID_LABEL_LEFT_DCLICK

wxEventType wxEVT_GRID_LABEL_LEFT_DCLICK

◆ wxEVT_GRID_LABEL_RIGHT_CLICK

wxEventType wxEVT_GRID_LABEL_RIGHT_CLICK

◆ wxEVT_GRID_LABEL_RIGHT_DCLICK

wxEventType wxEVT_GRID_LABEL_RIGHT_DCLICK

◆ wxEVT_GRID_RANGE_SELECT

wxEventType wxEVT_GRID_RANGE_SELECT

◆ wxEVT_GRID_ROW_SIZE

wxEventType wxEVT_GRID_ROW_SIZE

◆ wxEVT_GRID_SELECT_CELL

wxEventType wxEVT_GRID_SELECT_CELL

◆ wxEVT_GRID_TABBING

wxEventType wxEVT_GRID_TABBING