From: Robert Roebling Date: Sat, 22 Dec 2007 20:37:17 +0000 (+0000) Subject: Added a bit of cross-linking in the wxGrid docs X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3776eb6d54fc51b24da4495a57d3377c5069c5d0?ds=inline Added a bit of cross-linking in the wxGrid docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/grid.tex b/docs/latex/wx/grid.tex index a3efde44ec..6c51b452e4 100644 --- a/docs/latex/wx/grid.tex +++ b/docs/latex/wx/grid.tex @@ -24,12 +24,36 @@ relationship between the various grid classes and has a summary of the keyboard shortcuts and mouse functions provided by wxGrid. wxGrid has been greatly expanded and redesigned for wxWidgets 2.2 -onwards. If you have been using the old wxGrid class you will probably -want to have a look at the \helpref{wxGrid classes overview}{gridoverview} to see -how things have changed. The new grid classes are reasonably backward-compatible +onwards. The new grid classes are reasonably backward-compatible but there are some exceptions. There are also easier ways of doing many things compared to the previous implementation. +A \helpref{wxGridTableBase}{wxgridtablebase} class holds the actual +data to be displayed by a wxGrid class. One or more wxGrid classes +may act as a view for one table class. +The default table class is called wxGridStringTable and +holds an array of strings. An instance of such a class is created +by \helpref{wxGrid::CreateGrid}{wxgridcreategrid}. + +\helpref{wxGridCellRenderer}{wxgridcellrenderer} is the abstract base +class for rendereing contents in a cell. The following renderers are +predefined: +\helpref{wxGridCellStringRenderer}{wxgridcellstringrenderer}, +\helpref{wxGridCellBoolRenderer}{wxgridcellboolrenderer}, +\helpref{wxGridCellFloatRenderer}{wxgridcellfloatrenderer}, +\helpref{wxGridCellNumberRenderer}{wxgridcellnumberrenderer}. The +look of a cell can be further defined using \helpref{wxGridCellAttr}{wxgridcellattr}. +An object of this type may be returned by \helpref{wxGridTableBase::GetAttr}{wxgridtablebasegetattr}. + +\helpref{wxGridCellEditor}{wxgridcelleditor} is the abstract base +class for editing the value of a cell. The following editors are +predefined: +\helpref{wxGridCellTextEditor}{wxgridcelltexteditor} +\helpref{wxGridCellBoolEditor}{wxgridcellbooleditor} +\helpref{wxGridCellChoiceEditor}{wxgridcellchoiceeditor} +\helpref{wxGridCellNumberEditor}{wxgridcellnumbereditor}. + + \wxheading{Derived from} \helpref{wxScrolledWindow}{wxscrolledwindow}\\ diff --git a/docs/latex/wx/gridattr.tex b/docs/latex/wx/gridattr.tex index 7cc7eade1a..b97371f31d 100644 --- a/docs/latex/wx/gridattr.tex +++ b/docs/latex/wx/gridattr.tex @@ -7,7 +7,7 @@ This class can be used to alter the cells' appearance in the grid by changing their colour/font/... from default. An object of this -class may be returned by wxGridTable::GetAttr(). +class may be returned by \helpref{wxGridTableBase::GetAttr}{wxgridtablebasegetattr}. \wxheading{Derived from}