X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9379c0d752144826342fa2688a77aa5cccea3d9b..5e6ce06a0d6c2a21ede24343fb9541f4101af582:/docs/latex/wx/tlw.tex diff --git a/docs/latex/wx/tlw.tex b/docs/latex/wx/tlw.tex index 75320a9040..89f6f8ffde 100644 --- a/docs/latex/wx/tlw.tex +++ b/docs/latex/wx/tlw.tex @@ -26,6 +26,10 @@ applicable for the two classes above. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \latexignore{\rtfignore{\wxheading{Members}}} @@ -40,6 +44,29 @@ Returns \true if the platform supports making the window translucent. \helpref{wxTopLevelWindow::SetTransparent}{wxtoplevelwindowsettransparent} +\membersection{wxWindow::CenterOnScreen}\label{wxtoplevelwindowcenteronscreen} + +\func{void}{CenterOnScreen}{\param{int}{ direction}} + +A synonym for \helpref{CentreOnScreen}{wxtoplevelwindowcentreonscreen}. + + +\membersection{wxTopLevelWindow::CentreOnScreen}\label{wxtoplevelwindowcentreonscreen} + +\func{void}{CentreOnScreen}{\param{int}{ direction = wxBOTH}} + +Centres the window on screen. + +\wxheading{Parameters} + +\docparam{direction}{Specifies the direction for the centering. May be {\tt wxHORIZONTAL}, {\tt wxVERTICAL}\rtfsp +or {\tt wxBOTH}.} + +\wxheading{See also} + +\helpref{wxWindow::CentreOnParent}{wxwindowcenteronparent} + + \membersection{wxTopLevelWindow::EnableCloseButton}\label{wxtoplevelenableclosebutton} \func{bool}{EnableCloseButton}{\param{bool}{ enable = true}} @@ -280,6 +307,20 @@ Unavailable on full keyboard machines. \helpref{wxTopLevelWindow::SetRightMenu}{wxtoplevelwindowsetrightmenu}. +\membersection{wxTopLevelWindow::SetMaxSize}\label{wxtoplevelwindowsetmaxsize} + +\func{void}{SetMaxSize}{\param{const wxSize\& }{size}} + +A simpler interface for setting the size hints than +\helpref{SetSizeHints}{wxtoplevelwindowsetsizehints}. + +\membersection{wxTopLevelWindow::SetMinSize}\label{wxtoplevelwindowsetminsize} + +\func{void}{SetMinSize}{\param{const wxSize\& }{size}} + +A simpler interface for setting the size hints than +\helpref{SetSizeHints}{wxtoplevelwindowsetsizehints}. + \membersection{wxTopLevelWindow::SetSizeHints}\label{wxtoplevelwindowsetsizehints} \func{virtual void}{SetSizeHints}{\param{int}{ minW}, \param{int}{ minH}, \param{int}{ maxW=-1}, \param{int}{ maxH=-1}, @@ -291,16 +332,16 @@ Unavailable on full keyboard machines. Allows specification of minimum and maximum window sizes, and window size increments. If a pair of values is not set (or set to -1), the default values will be used. -\docparam{incW}{Specifies the increment for sizing the width (Motif/Xt only).} +\docparam{incW}{Specifies the increment for sizing the width (GTK/Motif/Xt only).} -\docparam{incH}{Specifies the increment for sizing the height (Motif/Xt only).} +\docparam{incH}{Specifies the increment for sizing the height (GTK/Motif/Xt only).} -\docparam{incSize}{Increment size (Motif/Xt only).} +\docparam{incSize}{Increment size (GTK/Motif/Xt only).} \wxheading{Remarks} If this function is called, the user will not be able to size the window outside -the given bounds. The resizing increments are only significant under Motif or Xt. +the given bounds. The resizing increments are only significant under GTK, Motif or Xt. \membersection{wxTopLevelWindow::SetRightMenu}\label{wxtoplevelwindowsetrightmenu}