X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/376d7d9764391ef614ce74e02df62fafabc00501..4b3f61d14cbc6cc117373d173ecf08fbec4c9a38:/docs/latex/wx/window.tex diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 334aa37ffd..cf6e0c3eca 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -295,13 +295,6 @@ A synonym for \helpref{Centre}{wxwindowcentre}. A synonym for \helpref{CentreOnParent}{wxwindowcentreonparent}. -\membersection{wxWindow::CenterOnScreen}\label{wxwindowcenteronscreen} - -\func{void}{CenterOnScreen}{\param{int}{ direction}} - -A synonym for \helpref{CentreOnScreen}{wxwindowcentreonscreen}. - - \membersection{wxWindow::Centre}\label{wxwindowcentre} \func{void}{Centre}{\param{int}{ direction = wxBOTH}} @@ -349,24 +342,7 @@ window is not a top level window, then behaviour is the same as \wxheading{See also} -\helpref{wxWindow::CentreOnScreen}{wxwindowcenteronscreen} - - -\membersection{wxWindow::CentreOnScreen}\label{wxwindowcentreonscreen} - -\func{void}{CentreOnScreen}{\param{int}{ direction = wxBOTH}} - -Centres the window on screen. This only works for top level windows - -otherwise, the window will still be centered on its parent. - -\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} +\helpref{wxTopLevelWindow::CentreOnScreen}{wxtoplevelwindowcenteronscreen} \membersection{wxWindow::ClearBackground}\label{wxwindowclearbackground} @@ -752,7 +728,8 @@ subwindows. Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all. \helpref{Thaw}{wxwindowthaw} must be called to reenable window redrawing. Calls to these two functions may be -nested. +nested but to ensure that the window is properly repainted again, you must thaw +it exactly as many times as you froze it. This method is useful for visual appearance optimization (for example, it is a good idea to use it before doing many large text insertions in a row into @@ -1539,6 +1516,13 @@ Returns the value previously passed to \helpref{wxWindow::SetWindowVariant}{wxwindowsetwindowvariant}. +\membersection{wxWindow::HandleWindowEvent}\label{wxwindowhandlewindowevent} + +\func{bool}{HandleWindowEvent}{\param{wxEvent\& }{event}} + +Shorthand for \texttt{\helpref{GetEventHandler}{wxwindowgeteventhandler}()->\helpref{SafelyProcessEvent}{wxevthandlersafelyprocessevent}(event)}. + + \membersection{wxWindow::HasCapture}\label{wxwindowhascapture} \constfunc{virtual bool}{HasCapture}{\void} @@ -1614,6 +1598,20 @@ wxWindow-derived class to ensure that background is painted correctly. Equivalent to calling \helpref{Show}{wxwindowshow}({\tt false}). +\membersection{wxWindow::HideWithEffect}\label{wxwindowhidewitheffect} + +\func{virtual bool}{HideWithEffect}{\param{wxShowEffect }{effect}, \param{unsigned }{timeout = $0$}, \param{wxDirection }{dir = wxBOTTOM}} + +This function hides a window, like \helpref{Hide()}{wxwindowhide}, but using a +special visual effect if possible. + +The parameters of this function are the same as for +\helpref{ShowWithEffect()}{wxwindowshowwitheffect}, please see their +description there. + +\newsince{2.9.0} + + \membersection{wxWindow::InheritAttributes}\label{wxwindowinheritattributes} \func{void}{InheritAttributes}{\void}