X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c86fd3a7935175fd4d23c54b25df91a680ed0a4c..e2d5abbf527ae760cf65467bf94b914ba9974657:/docs/latex/wx/sizeritem.tex diff --git a/docs/latex/wx/sizeritem.tex b/docs/latex/wx/sizeritem.tex index 988cf2f198..6573448b8c 100644 --- a/docs/latex/wx/sizeritem.tex +++ b/docs/latex/wx/sizeritem.tex @@ -2,9 +2,10 @@ \section{\class{wxSizerItem}}\label{wxsizeritem} The wxSizerItem class is used to track the position, size and other -attributes of each item managed by a \helpref{wxSizer}{wxsizer}. In -normal usage user code should never need to deal directly with a -wxSizerItem, but derived sizer classes will. +attributes of each item managed by a \helpref{wxSizer}{wxsizer}. It is not +usually necessary to use this class because the sizer elements can also be +identified by their positions or window or sizer pointers but sometimes it may +be more convenient to use it directly. \wxheading{Derived from} @@ -15,6 +16,10 @@ wxSizerItem, but derived sizer classes will. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \latexignore{\rtfignore{\wxheading{Members}}} @@ -83,6 +88,13 @@ Return the border attribute. Return the flags attribute. +\membersection{wxSizerItem::GetId}\label{wxsizeritemgetid} + +\constfunc{int}{GetId}{\void} + +Return the numeric id of wxSizerItem, or \texttt{wxID\_NONE} if the id has +not been set. + \membersection{wxSizerItem::GetMinSize}\label{wxsizeritemgetminsize} @@ -200,6 +212,12 @@ taking alignment and borders into account. Set the flag item attribute. +\membersection{wxSizerItem::SetId}\label{wxsizeritemSetId} + +\func{void}{SetId}{\param{int}{id}} + +Sets the numeric id of the wxSizerItem to \arg{id}. + \membersection{wxSizerItem::SetInitSize}\label{wxsizeritemsetinitsize}