]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a bit of cross-linking in the wxGrid docs
authorRobert Roebling <robert@roebling.de>
Sat, 22 Dec 2007 20:37:17 +0000 (20:37 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 22 Dec 2007 20:37:17 +0000 (20:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/grid.tex
docs/latex/wx/gridattr.tex

index a3efde44ec4c304805f41fe0b1f61b9e243de097..6c51b452e48a84329ca42b1d94a4944e3fe5875d 100644 (file)
@@ -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
 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.
 
 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}\\
 \wxheading{Derived from}
 
 \helpref{wxScrolledWindow}{wxscrolledwindow}\\
index 7cc7eade1a4372721bbda49510314604eb31b6bb..b97371f31d23d7ef41a38a738472b9070f29c37c 100644 (file)
@@ -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
 
 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}
 
 
 \wxheading{Derived from}