X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b62f94ff4834ab607a888826ec7bf4404837f400..63779a3de18f273c04247d74cee65f2bc6baa8ba:/docs/latex/wx/grid.tex diff --git a/docs/latex/wx/grid.tex b/docs/latex/wx/grid.tex index 62b640cda8..59ffc0df30 100644 --- a/docs/latex/wx/grid.tex +++ b/docs/latex/wx/grid.tex @@ -33,6 +33,7 @@ the previous implementation. \wxheading{Derived from} \helpref{wxScrolledWindow}{wxscrolledwindow}\\ +\helpref{wxPanel}{wxpanel}\\ \helpref{wxWindow}{wxwindow}\\ \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} @@ -41,6 +42,10 @@ the previous implementation. +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} + \wxheading{Window styles} There are presently no specific window styles for wxGrid. @@ -56,8 +61,10 @@ The ...\_CMD\_... variants also take a window identifier. \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\_COL\_MOVE(func)}}{The user moved a column by dragging it. Processes a wxEVT\_GRID\_COL\_MOVE.} \twocolitem{{\bf EVT\_GRID\_ROW\_SIZE(func)}}{The user resized a row by dragging it. Processes a wxEVT\_GRID\_ROW\_SIZE.} \twocolitem{{\bf EVT\_GRID\_CMD\_COL\_SIZE(func)}}{The user resized a column by dragging it; variant taking a window identifier. Processes a wxEVT\_GRID\_COL\_SIZE.} +\twocolitem{{\bf EVT\_GRID\_CMD\_COL\_MOVE(func)}}{The user moved a column by dragging it; variant taking a window identifier. Processes a wxEVT\_GRID\_COL\_MOVE.} \twocolitem{{\bf EVT\_GRID\_CMD\_ROW\_SIZE(func)}}{The user resized a row by dragging it; variant taking a window identifier. Processes a wxEVT\_GRID\_ROW\_SIZE.} \end{twocollist}% @@ -183,11 +190,11 @@ The memory requirements for this could become prohibitive if your grid is very l -\membersection{wxGrid::AutoSizeColOrRow}\label{wxgridautosizecolorrow} +\membersection{wxGrid::AutoSizeColLabelSize}\label{wxgridautosizecollabelsize} -\func{void}{AutoSizeColOrRow}{\param{int }{n}, \param{bool }{setAsMin}, \param{bool }{column}} +\func{void}{AutoSizeColLabelSize}{\param{int }{col}} -Common part of AutoSizeColumn/Row() or row? +Automatically adjusts width of the column to fit its label. @@ -230,6 +237,14 @@ The memory requirements for this could become prohibitive if your grid is very l +\membersection{wxGrid::AutoSizeRowLabelSize}\label{wxgridautosizerowlabelsize} + +\func{void}{AutoSizeRowLabelSize}{\param{int }{col}} + +Automatically adjusts height of the row to fit its label. + + + \membersection{wxGrid::AutoSizeRows}\label{wxgridautosizerows} \func{void}{AutoSizeRows}{\param{bool }{setAsMin = true}} @@ -1612,6 +1627,9 @@ Vertical alignment should be one of wxALIGN\_TOP, wxALIGN\_CENTRE or wxALIGN\_BO Sets the height of the column labels. +If \arg{height} equals to \texttt{wxGRID\_AUTOSIZE} then height is calculated automatically +so that no label is truncated. Note that this could be slow for a large table. + \membersection{wxGrid::SetColLabelValue}\label{wxgridsetcollabelvalue} @@ -1851,6 +1869,9 @@ Vertical alignment should be one of wxALIGN\_TOP, wxALIGN\_CENTRE or wxALIGN\_BO Sets the width of the row labels. +If \arg{width} equals \texttt{wxGRID\_AUTOSIZE} then width is calculated automatically +so that no label is truncated. Note that this could be slow for a large table. + \membersection{wxGrid::SetRowLabelValue}\label{wxgridsetrowlabelvalue}