added wxWindow::Set/GetMin/MaxClientSize convenience functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1160,12 +1160,33 @@ the button text. This function can be useful for meta-programs (such as testing
|
||||
tools or special-needs access programs) which need to identify windows
|
||||
by name.
|
||||
|
||||
|
||||
\membersection{wxWindow::GetMaxClientSize}\label{wxwindowgetmaxclientsize}
|
||||
|
||||
\constfunc{wxSize}{GetMaxClientSize}{\void}
|
||||
|
||||
Returns the maximum size of window's client area.
|
||||
This is an indication to the sizer layout mechanism that this is the maximum
|
||||
possible size as well as the upper bound on window's size settable using
|
||||
\helpref{SetClientSize}{wxwindowsetclientsize}.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::GetMaxSize}{wxwindowgetmaxsize}
|
||||
|
||||
|
||||
\membersection{wxWindow::GetMaxSize}\label{wxwindowgetmaxsize}
|
||||
|
||||
\constfunc{wxSize}{GetMaxSize}{\void}
|
||||
|
||||
Returns the maximum size of the window, an indication to the sizer layout mechanism
|
||||
that this is the maximum possible size.
|
||||
Returns the maximum size of the window. This is an indication to the sizer
|
||||
layout mechanism that this is the maximum possible size as well as the upper
|
||||
bound on window's size settable using \helpref{SetSize}{wxwindowsetsize}.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::GetMaxClientSize}{wxwindowgetmaxclientsize}
|
||||
|
||||
|
||||
\membersection{wxWindow::GetMinSize}\label{wxwindowgetminsize}
|
||||
|
||||
@@ -1176,6 +1197,26 @@ that this is the minimum required size. It normally just returns the value set
|
||||
by \helpref{SetMinSize}{wxwindowsetminsize}, but it can be overridden to do the
|
||||
calculation on demand.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::GetMinClientSize}{wxwindowgetminclientsize}
|
||||
|
||||
|
||||
\membersection{wxWindow::GetMinClientSize}\label{wxwindowgetminclientsize}
|
||||
|
||||
\constfunc{virtual wxSize}{GetMinClientSize}{\void}
|
||||
|
||||
Returns the minimum size of window's client area, an indication to the sizer
|
||||
layout mechanism that this is the minimum required size of its client area. It
|
||||
normally just returns the value set by
|
||||
\helpref{SetMinClientSize}{wxwindowsetminclientsize}, but it can be overridden
|
||||
to do the calculation on demand.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::GetMinSize}{wxwindowgetminsize}
|
||||
|
||||
|
||||
\membersection{wxWindow::GetName}\label{wxwindowgetname}
|
||||
|
||||
\constfunc{virtual wxString }{GetName}{\void}
|
||||
@@ -3299,6 +3340,23 @@ Sets the window's label.
|
||||
Sets the maximum size of the window, to indicate to the sizer layout mechanism
|
||||
that this is the maximum possible size.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::SetMaxClientSize}{wxwindowsetmaxclientsize}
|
||||
|
||||
|
||||
\membersection{wxWindow::SetMaxClientSize}\label{wxwindowsetmaxclientsize}
|
||||
|
||||
\func{void}{SetMaxClientSize}{\param{const wxSize\& }{size}}
|
||||
|
||||
Sets the maximum \emph{client} size of the window, to indicate to the sizer
|
||||
layout mechanism that this is the maximum possible size of its client area.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::SetMaxSize}{wxwindowsetmaxsize}
|
||||
|
||||
|
||||
\membersection{wxWindow::SetMinSize}\label{wxwindowsetminsize}
|
||||
|
||||
\func{void}{SetMinSize}{\param{const wxSize\& }{size}}
|
||||
@@ -3308,6 +3366,25 @@ that this is the minimum required size. You may need to call this
|
||||
if you change the window size after construction and before adding
|
||||
to its parent sizer.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::SetMinClientSize}{wxwindowsetminclientsize}
|
||||
|
||||
|
||||
\membersection{wxWindow::SetMinClientSize}\label{wxwindowsetminclientsize}
|
||||
|
||||
\func{void}{SetMinClientSize}{\param{const wxSize\& }{size}}
|
||||
|
||||
Sets the minimum \emph{client} size of the window, to indicate to the sizer
|
||||
layout mechanism that this is the minimum required size of window's client
|
||||
area. You may need to call this if you change the window size after
|
||||
construction and before adding to its parent sizer.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::SetMinSize}{wxwindowsetminsize}
|
||||
|
||||
|
||||
\membersection{wxWindow::SetName}\label{wxwindowsetname}
|
||||
|
||||
\func{virtual void}{SetName}{\param{const wxString\& }{name}}
|
||||
|
Reference in New Issue
Block a user