X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f303d69f934a76c56e14713a0748fdd10635e462..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/sizeritem.tex?ds=sidebyside diff --git a/docs/latex/wx/sizeritem.tex b/docs/latex/wx/sizeritem.tex index 82acb95ab4..f72d03ba39 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}}} @@ -155,6 +160,16 @@ If this item is tracking a window then return it. NULL otherwise. Is this item a sizer? +\membersection{wxSizerItem::IsShown}\label{wxsizeritemisshown} + +\constfunc{bool}{IsShown}{\void} + +Returns \true if this item is a window or a spacer and it is shown or if this +item is a sizer and not all its elements are hidden. In other words, for sizer +items, all of the child elements must be hidden for the sizer itself to be +considered hidden. + + \membersection{wxSizerItem::IsSpacer}\label{wxsizeritemisspacer} \constfunc{bool}{IsSpacer}{\void}