wxWidgets: /home/Hamish/wxwidgets/wxWidgets3.0-3.0.5.1-1.src/wxWidgets3.0-3.0.5.1-1.i686/src/wxWidgets-3.0.5.1/interface/wx/grid.h File Reference

| Version: 3.0.5

Classes | Macros | Enumerations | Variables
grid.h File Reference

## Classes
class | wxGridCellRenderer
| This class is responsible for actually drawing the cell in the grid. More...
class | wxGridCellAutoWrapStringRenderer
| This class may be used to format string data in a cell. More...
class | wxGridCellBoolRenderer
| This class may be used to format boolean data in a cell. More...
class | wxGridCellDateTimeRenderer
| This class may be used to format a date/time data in a cell. More...
class | wxGridCellEnumRenderer
| This class may be used to render in a cell a number as a textual equivalent. More...
class | wxGridCellFloatRenderer
| This class may be used to format floating point data in a cell. More...
class | wxGridCellNumberRenderer
| This class may be used to format integer data in a cell. More...
class | wxGridCellStringRenderer
| This class may be used to format string data in a cell; it is the default for string cells. More...
class | wxGridCellEditor
| This class is responsible for providing and manipulating the in-place edit controls for the grid. More...
class | wxGridCellAutoWrapStringEditor
| Grid cell editor for wrappable string/text data. More...
class | wxGridCellBoolEditor
| Grid cell editor for boolean data. More...
class | wxGridCellChoiceEditor
| Grid cell editor for string data providing the user a choice from a list of strings. More...
class | wxGridCellEnumEditor
| Grid cell editor which displays an enum number as a textual equivalent (eg. More...
class | wxGridCellTextEditor
| Grid cell editor for string/text data. More...
class | wxGridCellFloatEditor
| The editor for floating point numbers data. More...
class | wxGridCellNumberEditor
| Grid cell editor for numeric integer data. More...
class | wxGridCellAttr
| This class can be used to alter the cells' appearance in the grid by changing their attributes from the defaults. More...
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
| The almost abstract base class for grid tables. More...
class | wxGridTableMessage
| A simple class used to pass messages from the table to the grid. More...
class | wxGridStringTable
| Simplest type of data table for a grid for small tables of strings that are stored in memory. More...
class | wxGridSizesInfo
| wxGridSizesInfo stores information about sizes of all wxGrid rows or columns. More...
class | wxGrid
| wxGrid and its related classes are used for displaying and editing tabular data. More...
class | wxGridUpdateLocker
| This small class can be used to prevent wxGrid from redrawing during its lifetime by calling wxGrid::BeginBatch() in its constructor and wxGrid::EndBatch() in its destructor. More...
class | wxGridEvent
| This event class contains information about various grid events. More...
class | wxGridSizeEvent
| This event class contains information about a row/column resize event. More...
class | wxGridRangeSelectEvent
| More...
class | wxGridEditorCreatedEvent
| More...

## 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

enum 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

enum 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

enum 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

enum 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