X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08a87680c5351968904c4934d120edf632562e6e..719493e14bd4c9222e64da2006ec496e7c0ba7b1:/docs/latex/wx/listitem.tex diff --git a/docs/latex/wx/listitem.tex b/docs/latex/wx/listitem.tex index 0cd02ffbbc..a2df66652a 100644 --- a/docs/latex/wx/listitem.tex +++ b/docs/latex/wx/listitem.tex @@ -24,8 +24,6 @@ Constructor. Resets the item state to the default. - - \membersection{wxListItem::GetAlign}\label{wxlistitemgetalign} \constfunc{wxListColumnFormat}{GetAlign}{\void} @@ -33,48 +31,36 @@ Resets the item state to the default. Returns the alignment for this item. Can be one of wxLIST\_FORMAT\_LEFT, wxLIST\_FORMAT\_RIGHT or wxLIST\_FORMAT\_CENTRE. - - \membersection{wxListItem::GetBackgroundColour}\label{wxlistitemgetbackgroundcolour} \constfunc{wxColour}{GetBackgroundColour}{\void} Returns the background colour for this item. - - \membersection{wxListItem::GetColumn}\label{wxlistitemgetcolumn} \constfunc{int}{GetColumn}{\void} Returns the zero-based column; meaningful only in report mode. - - \membersection{wxListItem::GetData}\label{wxlistitemgetdata} \constfunc{long}{GetData}{\void} Returns client data associated with the control. - - \membersection{wxListItem::GetFont}\label{wxlistitemgetfont} \constfunc{wxFont}{GetFont}{\void} Returns the font used to display the item. - - \membersection{wxListItem::GetId}\label{wxlistitemgetid} \constfunc{long}{GetId}{\void} Returns the zero-based item position. - - \membersection{wxListItem::GetImage}\label{wxlistitemgetimage} \constfunc{int}{GetImage}{\void} @@ -82,8 +68,6 @@ Returns the zero-based item position. Returns the zero-based index of the image associated with the item into the image list. - - \membersection{wxListItem::GetMask}\label{wxlistitemgetmask} \constfunc{long}{GetMask}{\void} @@ -93,16 +77,14 @@ can be any combination of the following values: \twocolwidtha{5cm} \begin{twocollist}\itemsep=0pt -\twocolitem{wxLIST\_MASK\_STATE}{The {\bf GetState} is valid.} -\twocolitem{wxLIST\_MASK\_TEXT}{The {\bf GetText} is valid.} -\twocolitem{wxLIST\_MASK\_IMAGE}{The {\bf GetImage} is valid.} -\twocolitem{wxLIST\_MASK\_DATA}{The {\bf GetData} is valid.} -\twocolitem{wxLIST\_MASK\_WIDTH}{The {\bf GetWidth} is valid.} -\twocolitem{wxLIST\_MASK\_FORMAT}{The {\bf GetAlign} is valid.} +\twocolitem{wxLIST\_MASK\_STATE}{{\bf GetState} is valid.} +\twocolitem{wxLIST\_MASK\_TEXT}{{\bf GetText} is valid.} +\twocolitem{wxLIST\_MASK\_IMAGE}{{\bf GetImage} is valid.} +\twocolitem{wxLIST\_MASK\_DATA}{{\bf GetData} is valid.} +\twocolitem{wxLIST\_MASK\_WIDTH}{{\bf GetWidth} is valid.} +\twocolitem{wxLIST\_MASK\_FORMAT}{{\bf GetFormat} is valid.} \end{twocollist} - - \membersection{wxListItem::GetState}\label{wxlistitemgetstate} \constfunc{long}{GetState}{\void} @@ -119,40 +101,30 @@ combination of: \twocolitem{wxLIST\_STATE\_CUT}{The item is in the cut state. Win32 only. } \end{twocollist} - - \membersection{wxListItem::GetText}\label{wxlistitemgettext} \constfunc{const wxString\&}{GetText}{\void} Returns the label/header text. - - \membersection{wxListItem::GetTextColour}\label{wxlistitemgettextcolour} \constfunc{wxColour}{GetTextColour}{\void} Returns the text colour. - - \membersection{wxListItem::GetWidth}\label{wxlistitemgetwidth} \constfunc{int}{GetWidth}{\void} Meaningful only for column headers in report mode. Returns the column width. - - \membersection{wxListItem::SetAlign}\label{wxlistitemsetalign} \func{void}{SetAlign}{\param{wxListColumnFormat }{align}} Sets the alignment for the item. See also -\helpref{wxListItem::SetAlign}{wxlistitemsetalign} - - +\helpref{wxListItem::GetAlign}{wxlistitemgetalign} \membersection{wxListItem::SetBackgroundColour}\label{wxlistitemsetbackgroundcolour} @@ -160,15 +132,11 @@ Sets the alignment for the item. See also Sets the background colour for the item. - - \membersection{wxListItem::SetColumn}\label{wxlistitemsetcolumn} \func{void}{SetColumn}{\param{int }{col}} -Sets the zer-based column. Meaningful only in report mode. - - +Sets the zero-based column. Meaningful only in report mode. \membersection{wxListItem::SetData}\label{wxlistitemsetdata} @@ -178,41 +146,30 @@ Sets the zer-based column. Meaningful only in report mode. Sets client data for the item. - - \membersection{wxListItem::SetFont}\label{wxlistitemsetfont} \func{void}{SetFont}{\param{const wxFont\& }{font}} Sets the font for the item. - - \membersection{wxListItem::SetId}\label{wxlistitemsetid} \func{void}{SetId}{\param{long }{id}} Sets the zero-based item position. - - \membersection{wxListItem::SetImage}\label{wxlistitemsetimage} \func{void}{SetImage}{\param{int }{image}} -Returns the zero-based index of the image associated with the item +Sets the zero-based index of the image associated with the item into the image list. - - \membersection{wxListItem::SetMask}\label{wxlistitemsetmask} \func{void}{SetMask}{\param{long }{mask}} -Sets the mask of valid fields. See -\helpref{wxListItem::SetMask}{wxlistitemsetmask}. - - +Sets the mask of valid fields. See \helpref{wxListItem::GetMask}{wxlistitemgetmask}. \membersection{wxListItem::SetState}\label{wxlistitemsetstate} @@ -224,8 +181,6 @@ by the value of the state mask, see See \helpref{wxListItem::GetState}{wxlistitemsetstate} for valid flag values. - - \membersection{wxListItem::SetStateMask}\label{wxlistitemsetstatemask} \func{void}{SetStateMask}{\param{long }{stateMask}} @@ -233,26 +188,21 @@ values. Sets the bitmask that is used to determine which of the state flags are to be set. See also \helpref{wxListItem::SetState}{wxlistitemsetstate}. - - \membersection{wxListItem::SetText}\label{wxlistitemsettext} \func{void}{SetText}{\param{const wxString\& }{text}} Sets the text label for the item. - - \membersection{wxListItem::SetTextColour}\label{wxlistitemsettextcolour} \func{void}{SetTextColour}{\param{const wxColour\& }{colText}} Sets the text colour for the item. - - \membersection{wxListItem::SetWidth}\label{wxlistitemsetwidth} \func{void}{SetWidth}{\param{int }{width}} Meaningful only for column headers in report mode. Sets the column width. +