@li @ref page_class_cat_menus
@li @ref page_class_cat_ctrl
@li @ref page_class_cat_pickers
-@li @ref page_class_cat_miscwnd
@li @ref page_class_cat_aui
@li @ref page_class_cat_cmndlg
@li @ref page_class_cat_html
@li @ref page_class_cat_richtext
+@li @ref page_class_cat_grid
+@li @ref page_class_cat_miscwnd
</td><td>
@li @ref page_class_cat_dc
@li @ref page_class_cat_gdi
@li wxEditableListBox: A listbox with editable items.
@li wxGauge: A control to represent a varying quantity, such as time remaining
@li wxGenericDirCtrl: A control for displaying a directory tree
-@li wxGrid: A grid (table) window
@li wxHtmlListBox: An abstract class for creating listboxes showing HTML
content
@li wxSimpleHtmlListBox: A listbox showing HTML content
@li wxRichTextHeaderFooterData: Header and footer data specification.
+@section page_class_cat_grid Grid
+
+wxGrid represents a two-dimensional table of data. It supports custom
+attributes for the table cells, allowing to completely customize its
+appearance and uses a separate grid table (wxGridTableBase-derived) class for
+the data management meaning that it can be used to display arbitrary amounts of
+data.
+
+@li wxGrid: The main grid control class itself.
+@li wxGridTableBase: The base class for grid data provider.
+@li wxGridStringTable: Simple wxGridTableBase implementation supporting only
+ string data items and storing them all in memory (hence suitable for not
+ too large grids only).
+@li wxGridCellAttr: A cell attribute, allowing to customize its appearance as
+ well as the renderer and editor used for displaying and editing it.
+@li wxGridCellAttrProvider: The object responsible for storing and retrieving
+ the cell attributes.
+@li wxGridColLabelWindow: The window showing the grid columns labels.
+@li wxGridRowLabelWindow: The window showing the grid rows labels.
+@li wxGridCornerLabelWindow: The window used in the upper left grid corner.
+@li wxGridWindow: The window representing the main part of the grid.
+@li wxGridCellRenderer: Base class for objects used to display a cell value.
+@li wxGridCellStringRenderer: Renderer showing the cell as a text string.
+@li wxGridCellNumberRenderer: Renderer showing the cell as an integer number.
+@li wxGridCellFloatRenderer: Renderer showing the cell as a floating point
+ number.
+@li wxGridCellBoolRenderer: Renderer showing the cell as checked or unchecked
+ box.
+@li wxGridCellEditor: Base class for objects used to edit the cell value.
+@li wxGridCellStringEditor: Editor for cells containing text strings.
+@li wxGridCellNumberEditor: Editor for cells containing integer numbers.
+@li wxGridCellFloatEditor: Editor for cells containing floating point numbers.
+@li wxGridCellBoolEditor: Editor for boolean-valued cells.
+@li wxGridCellChoiceEditor: Editor allowing to choose one of the predefined
+ strings (and possibly enter new one).
+@li wxGridEvent: The event sent by most of wxGrid actions.
+@li wxGridSizeEvent: The special event sent when a grid column or row is
+ resized.
+@li wxGridRangeSelectEvent: The special event sent when a range of cells is
+ selected in the grid.
+@li wxGridEditorCreatedEvent: The special event sent when a cell editor is
+ created.
+@li wxGridSelection: The object efficiently representing the grid selection.
+@li wxGridTypeRegistry: Contains information about the data types supported by
+ the grid.
+
@section page_class_cat_dc Device Contexts
Device contexts are surfaces that may be drawn on, and provide an abstraction
This class may be used to format floating point data in a cell.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellRenderer, wxGridCellNumberRenderer, wxGridCellStringRenderer,
wxGridCellBoolRenderer
wxGridCellFloatRenderer(int width = -1, int precision = -1);
/**
- Returns the precision ( see @ref constr() wxGridCellFloatRenderer ).
+ Returns the precision.
*/
int GetPrecision() const;
/**
- Returns the width ( see @ref constr() wxGridCellFloatRenderer ).
+ Returns the width.
*/
int GetWidth() const;
void SetParameters(const wxString& params);
/**
- Sets the precision ( see @ref constr() wxGridCellFloatRenderer ).
+ Sets the precision.
*/
void SetPrecision(int precision);
/**
- Sets the width ( see @ref constr() wxGridCellFloatRenderer )
+ Sets the width.
*/
void SetWidth(int width);
};
Grid table classes.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
*/
class wxGridTableBase : public wxObject
{
even for the entire grid.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellTextEditor, wxGridCellFloatEditor, wxGridCellBoolEditor,
wxGridCellNumberEditor, wxGridCellChoiceEditor
The editor for string/text data.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellEditor, wxGridCellFloatEditor, wxGridCellBoolEditor,
wxGridCellNumberEditor, wxGridCellChoiceEditor
for string cells.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellRenderer, wxGridCellNumberRenderer, wxGridCellFloatRenderer,
wxGridCellBoolRenderer
The editor for string data allowing to choose from a list of strings.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellEditor, wxGridCellFloatEditor, wxGridCellBoolEditor,
wxGridCellTextEditor, wxGridCellNumberEditor
@library{wxadv}
- @category{FIXME}
+ @category{grid}
*/
class wxGridEditorCreatedEvent : public wxCommandEvent
{
@library{wxadv}
- @category{FIXME}
+ @category{grid}
*/
class wxGridRangeSelectEvent : public wxNotifyEvent
{
predefined derived classes or derive your own class from it.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellStringRenderer, wxGridCellNumberRenderer,
wxGridCellFloatRenderer, wxGridCellBoolRenderer
The editor for numeric integer data.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellEditor, wxGridCellFloatEditor, wxGridCellBoolEditor,
wxGridCellTextEditor, wxGridCellChoiceEditor
This event class contains information about a row/column resize event.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
*/
class wxGridSizeEvent : public wxNotifyEvent
{
This class may be used to format integer data in a cell.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellRenderer, wxGridCellStringRenderer, wxGridCellFloatRenderer,
wxGridCellBoolRenderer
class may be returned by wxGridTableBase::GetAttr.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
*/
class wxGridCellAttr
{
for string cells.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellRenderer, wxGridCellStringRenderer, wxGridCellFloatRenderer,
wxGridCellNumberRenderer
This event class contains information about various grid events.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
*/
class wxGridEvent : public wxNotifyEvent
{
The editor for floating point numbers data.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellEditor, wxGridCellNumberEditor, wxGridCellBoolEditor,
wxGridCellTextEditor, wxGridCellChoiceEditor
The editor for boolean data.
@library{wxadv}
- @category{FIXME}
+ @category{grid}
@see wxGridCellEditor, wxGridCellFloatEditor, wxGridCellNumberEditor,
wxGridCellTextEditor, wxGridCellChoiceEditor
because you don't risk not to call the latter (due to an exception for example).
@library{wxadv}
- @category{FIXME}
+ @category{grid}
*/
class wxGridUpdateLocker
{