X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c72cf7619064969b5c7f59cece74013789db4cf..a43ec16b16cf61894294f071011ec984d8a3d673:/docs/latex/wx/window.tex?ds=sidebyside diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 581aa4be00..2ea573f0a9 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -74,7 +74,7 @@ and no longer has an effect.} \twocolitem{\windowstyle{wxALWAYS\_SHOW\_SB}}{If a window has scrollbars, disable them instead of hiding them when they are not needed (i.e. when the size of the window is big enough to not require the scrollbars to navigate it). -This style is currently only implemented for wxMSW and wxUniversal and does +This style is currently implemented for wxMSW, wxGTK and wxUniversal and does nothing on the other platforms.} \twocolitem{\windowstyle{wxCLIP\_CHILDREN}}{Use this style to eliminate flicker caused by the background being repainted, then children being painted over them. Windows only.} @@ -1495,6 +1495,19 @@ to the dialog via validators. Resets the cached best size value so it will be recalculated the next time it is needed. +\membersection{wxWindow::IsDoubleBuffered}\label{wxwindowisdoublebuffered} + +\constfunc{virtual bool}{IsDoubleBuffered}{\void} + +Returns \true if the window contents is double-buffered by the system, i.e. if +any drawing done on the window is really done on a temporary backing surface +and transferred to the screen all at once later. + +\wxheading{See also} + +\helpref{wxBufferedDC}{wxbuffereddc} + + \membersection{wxWindow::IsEnabled}\label{wxwindowisenabled} \constfunc{virtual bool}{IsEnabled}{\void} @@ -1529,6 +1542,18 @@ implements the following methods:\par \end{twocollist}}} +\membersection{wxWindow::IsFrozen}\label{wxwindowisfrozen} + +\constfunc{virtual bool}{IsFrozen}{\void} + +Returns \true if the window is currently frozen by a call to +\helpref{Freeze()}{wxwindowfreeze}. + +\wxheading{See also} + +\helpref{Thaw()}{wxwindowthaw} + + \membersection{wxWindow::IsRetained}\label{wxwindowisretained} \constfunc{virtual bool}{IsRetained}{\void} @@ -1548,21 +1573,12 @@ Returns {\tt true} if the window is shown, {\tt false} if it has been hidden. \wxheading{See also} -\helpref{wxWindow::IsVisible}{wxwindowisvisible} +\helpref{wxWindow::IsShownOnScreen}{wxwindowisshownonscreen} -\membersection{wxWindow::IsTopLevel}\label{wxwindowistoplevel} +\membersection{wxWindow::IsShownOnScreen}\label{wxwindowisshownonscreen} -\constfunc{bool}{IsTopLevel}{\void} - -Returns {\tt true} if the given window is a top-level one. Currently all frames and -dialogs are considered to be top-level windows (even if they have a parent -window). - - -\membersection{wxWindow::IsVisible}\label{wxwindowisvisible} - -\constfunc{virtual bool}{IsVisible}{\void} +\constfunc{virtual bool}{IsShownOnScreen}{\void} Returns {\tt true} if the window is physically visible on the screen, i.e. it is shown and all its parents up to the toplevel window are shown as well. @@ -1572,6 +1588,15 @@ is shown and all its parents up to the toplevel window are shown as well. \helpref{wxWindow::IsShown}{wxwindowisshown} +\membersection{wxWindow::IsTopLevel}\label{wxwindowistoplevel} + +\constfunc{bool}{IsTopLevel}{\void} + +Returns {\tt true} if the given window is a top-level one. Currently all frames and +dialogs are considered to be top-level windows (even if they have a parent +window). + + \membersection{wxWindow::Layout}\label{wxwindowlayout} \func{void}{Layout}{\void} @@ -3578,9 +3603,10 @@ This function is currently only implemented under MSW. Calling this method immediately repaints the invalidated area of the window and all of its children recursively while this would usually only happen when the -flow of control returns to the event loop. Notice that this function doesn't -refresh the window and does nothing if the window hadn't been already -repainted. Use \helpref{Refresh}{wxwindowrefresh} first if you want to +flow of control returns to the event loop. +Notice that this function doesn't invalidate any area of the window so +nothing happens if nothing has been invalidated (i.e. marked as requiring +a redraw). Use \helpref{Refresh}{wxwindowrefresh} first if you want to immediately redraw the window unconditionally. @@ -3667,3 +3693,4 @@ Interface Guidelines forbid moving the mouse cursor programmatically. \docparam{x}{The new x position for the cursor.} \docparam{y}{The new y position for the cursor.} +