X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e72403492b3e78f8114d89baae6f81ea24c74647..68304caffec13015b139c1d567733f14862ae2bd:/docs/latex/wx/grid.tex diff --git a/docs/latex/wx/grid.tex b/docs/latex/wx/grid.tex index 72824ca7c1..1ffe177d10 100644 --- a/docs/latex/wx/grid.tex +++ b/docs/latex/wx/grid.tex @@ -36,6 +36,33 @@ There are presently no specific window styles for wxGrid. \wxheading{Event handling} +\input gridevt.inc + +The event handler for the following functions takes a + \helpref{wxGridSizeEvent}{wxgridsizeevent} parameter. + +\twocolwidtha{7cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{{\bf EVT\_GRID\_COL\_SIZE(func)}}{The user resized a column by dragging it. Processes a wxEVT\_GRID\_COL\_SIZE.} +\twocolitem{{\bf EVT\_GRID\_ROW\_SIZE(func)}}{The user resized a row by dragging it. Processes a wxEVT\_GRID\_ROW\_SIZE.} +\end{twocollist}% + +The event handler for the following functions takes a + \helpref{wxGridRangeSelectEvent}{wxgridrangeselectevent} parameter. + +\twocolwidtha{7cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{{\bf EVT\_GRID\_RANGE\_SELECT(func)}}{The user selected a group of contiguous cells. Processes a wxEVT\_GRID\_RANGE\_SELECT.} +\end{twocollist}% + +The event handler for the following functions takes a + \helpref{wxGridEditorCreatedEvent}{wxgrideditorcreatedevent} parameter. + +\twocolwidtha{7cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{{\bf EVT\_GRID\_EDITOR\_CREATED(func)}}{The editor for a cell was created. Processes a wxEVT\_GRID\_EDITOR\_CREATED.} +\end{twocollist}% + \wxheading{See also} \helpref{wxGrid overview}{gridoverview} @@ -373,6 +400,9 @@ grid cell at the specified location. Horizontal alignment will be one of wxALIGN\_LEFT, wxALIGN\_CENTRE or wxALIGN\_RIGHT. \\ Vertical alignment will be one of wxALIGN\_TOP, wxALIGN\_CENTRE or wxALIGN\_BOTTOM. +\perlnote{This method only takes the parameters {\tt row} and {\tt col} and +returns a 2-element list {\tt ( horiz, vert )}.} + \membersection{wxGrid::GetCellBackgroundColour}\label{wxgridgetcellbackgroundcolour} \func{wxColour}{GetCellBackgroundColour}{\param{int }{row}, \param{int }{col}} @@ -435,6 +465,9 @@ Sets the arguments to the current column label alignment values. Horizontal alignment will be one of wxLEFT, wxCENTRE or wxRIGHT. \\ Vertical alignment will be one of wxTOP, wxCENTRE or wxBOTTOM. +\perlnote{This method takes no parameters and +returns a 2-element list {\tt ( horiz, vert )}.} + \membersection{wxGrid::GetColLabelSize}\label{wxgridgetcollabelsize} \func{int}{GetColLabelSize}{\void} @@ -590,6 +623,9 @@ Sets the arguments to the current row label alignment values. Horizontal alignment will be one of wxLEFT, wxCENTRE or wxRIGHT. \\ Vertical alignment will be one of wxTOP, wxCENTRE or wxBOTTOM. +\perlnote{This method takes no parameters and +returns a 2-element list {\tt ( horiz, vert )}.} + \membersection{wxGrid::GetRowLabelSize}\label{wxgridgetrowlabelsize} \func{int}{GetRowLabelSize}{\void}