X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/749bb9f1291c3c967a25cbbd9aed98a89f7e1511..8c8d66c5f06ed3b4f7b2d14966bf84333f60606f:/docs/latex/wx/sizer.tex diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex index 4c0c69cf1a..cc834ce3bc 100644 --- a/docs/latex/wx/sizer.tex +++ b/docs/latex/wx/sizer.tex @@ -34,6 +34,10 @@ capabilities for the various virtual methods.} \helpref{wxObject}{wxobject}\\ \helpref{wxClientDataContainer}{wxclientdatacontainer} +\wxheading{Include files} + + + \wxheading{See also} \helpref{Sizer overview}{sizeroverview} @@ -391,14 +395,17 @@ minimal size. For windows with managed scrollbars this will set them appropriate \membersection{wxSizer::Show}\label{wxsizershow} -\func{void}{Show}{\param{wxWindow* }{window}, \param{bool }{show = true}} +\func{bool}{Show}{\param{wxWindow* }{window}, \param{bool }{show = true}, \param{bool }{recursive = false}} -\func{void}{Show}{\param{wxSizer* }{sizer}, \param{bool }{show = true}} +\func{bool}{Show}{\param{wxSizer* }{sizer}, \param{bool }{show = true}, \param{bool }{recursive = false}} -\func{void}{Show}{\param{size\_t }{index}, \param{bool }{show = true}} +\func{bool}{Show}{\param{size\_t }{index}, \param{bool }{show = true}} Shows or hides the {\it window}, {\it sizer}, or item at {\it index}. To make a sizer item disappear or reappear, use Show() followed by Layout(). +Use parameter {\it recursive} to show or hide elements found in subsizers. + +Returns true if the child item was found, false otherwise. Note that this only works with wxBoxSizer and wxFlexGridSizer, since they are the only two sizer classes that can size rows/columns independently.