Version: 3.1.4
grid.h File Reference

Classes

class  wxGridCellRenderer
 
class  wxGridCellAutoWrapStringRenderer
 
class  wxGridCellBoolRenderer
 
class  wxGridCellDateRenderer
 
class  wxGridCellDateTimeRenderer
 
class  wxGridCellEnumRenderer
 
class  wxGridCellFloatRenderer
 
class  wxGridCellNumberRenderer
 
class  wxGridCellStringRenderer
 
class  wxGridActivationSource
 Represents a source of cell activation, which may be either a user event (mouse or keyboard) or the program itself. More...
 
class  wxGridActivationResult
 Represents the result of wxGridCellEditor::TryActivate(). More...
 
class  wxGridCellEditor
 
class  wxGridCellActivatableEditor
 Base class for activatable editors. More...
 
class  wxGridCellAutoWrapStringEditor
 
class  wxGridCellBoolEditor
 
class  wxGridCellChoiceEditor
 
class  wxGridCellEnumEditor
 
class  wxGridCellTextEditor
 
class  wxGridCellFloatEditor
 
class  wxGridCellNumberEditor
 
class  wxGridCellDateEditor
 
class  wxGridFitMode
 
class  wxGridCellAttr
 
class  wxGridHeaderLabelsRenderer
 Base class for header cells renderers. More...
 
class  wxGridRowHeaderRenderer
 Base class for row headers renderer. More...
 
class  wxGridColumnHeaderRenderer
 Base class for column headers renderer. More...
 
class  wxGridCornerHeaderRenderer
 Base class for corner header 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  wxGridTableMessage
 Message class used by the grid table to send requests and notifications to the grid view. More...
 
class  wxGridStringTable
 Simplest type of data table for a grid for small tables of strings that are stored in memory. More...
 
class  wxGridCellCoords
 Represents coordinates of a grid cell. More...
 
class  wxGridBlockCoords
 Represents coordinates of a block of cells in the grid. More...
 
class  wxGridBlockDiffResult
 
class  wxGridBlocks
 Represents a collection of grid blocks that can be iterated over. More...
 
class  wxGridBlocks::iterator
 Read-only forward iterator type. More...
 
class  wxGridTableBase
 
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...
 

Typedefs

typedef wxObjectDataPtr< wxGridCellRendererwxGridCellRendererPtr
 Smart pointer wrapping wxGridCellRenderer. More...
 
typedef wxObjectDataPtr< wxGridCellEditorwxGridCellEditorPtr
 Smart pointer wrapping wxGridCellEditor. More...
 
typedef wxObjectDataPtr< wxGridCellAttrwxGridCellAttrPtr
 Smart pointer wrapping wxGridCellAttr. More...
 

Enumerations

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_NOTIFY_ROWS_INSERTED,
  wxGRIDTABLE_NOTIFY_ROWS_APPENDED,
  wxGRIDTABLE_NOTIFY_ROWS_DELETED,
  wxGRIDTABLE_NOTIFY_COLS_INSERTED,
  wxGRIDTABLE_NOTIFY_COLS_APPENDED,
  wxGRIDTABLE_NOTIFY_COLS_DELETED
}
 Possible types for grid table notifications. More...
 
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).

◆ 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

Possible types for grid table notifications.

Enumerator
wxGRIDTABLE_NOTIFY_ROWS_INSERTED 

New rows have been inserted into the table.

wxGRIDTABLE_NOTIFY_ROWS_APPENDED 

New rows have been append to the table.

wxGRIDTABLE_NOTIFY_ROWS_DELETED 

Rows have been deleted from the table.

wxGRIDTABLE_NOTIFY_COLS_INSERTED 

New columns have been inserted into the table.

wxGRIDTABLE_NOTIFY_COLS_APPENDED 

New columns have been append to the table.

wxGRIDTABLE_NOTIFY_COLS_DELETED 

Columns have been deleted from the table.

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