2000-03-09 20:15:17 -05:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%% Name: wnddsbl.tex
|
|
|
|
%% Purpose: wxWindowDisabler class documentation
|
|
|
|
%% Author: Vadim Zeitlin
|
|
|
|
%% Modified by:
|
|
|
|
%% Created: 03.03.00
|
|
|
|
%% RCS-ID: $Id$
|
|
|
|
%% Copyright: (c) Vadim Zeitlin
|
2000-07-15 15:51:35 -04:00
|
|
|
%% License: wxWindows license
|
2000-03-09 20:15:17 -05:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
2000-03-02 14:06:13 -05:00
|
|
|
\section{\class{wxWindowDisabler}}\label{wxwindowdisabler}
|
|
|
|
|
|
|
|
This class disables all windows of the application (may be with the exception
|
|
|
|
of one of them) in its constructor and enables them back in its destructor.
|
|
|
|
This comes in handy when you want to indicate to the user that the application
|
|
|
|
is currently busy and cannot respond to user input.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/utils.h>
|
|
|
|
|
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxBusyCursor}{wxbusycursor}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxWindowDisabler::wxWindowDisabler}
|
|
|
|
|
|
|
|
\func{}{wxWindowDisabler}{\param{wxWindow *}{winToSkip = NULL}}
|
|
|
|
|
|
|
|
Disables all top level windows of the applications with the exception of
|
|
|
|
{\it winToSkip} if it is not {\tt NULL}.
|
|
|
|
|
|
|
|
\membersection{wxWindowDisabler::\destruct{wxWindowDisabler}}
|
|
|
|
|
2001-10-29 09:32:42 -05:00
|
|
|
\func{}{\destruct{wxWindowDisabler}}{\void}
|
|
|
|
|
2000-03-02 14:06:13 -05:00
|
|
|
Reenables back the windows disabled by the constructor.
|
2000-03-10 11:06:33 -05:00
|
|
|
|