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
|
2004-05-04 04:27:20 -04:00
|
|
|
%% License: wxWidgets 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}}}
|
|
|
|
|
2004-09-21 09:24:41 -04:00
|
|
|
\membersection{wxWindowDisabler::wxWindowDisabler}\label{wxwindowdisablerctor}
|
2000-03-02 14:06:13 -05:00
|
|
|
|
|
|
|
\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}.
|
|
|
|
|
2004-09-21 09:24:41 -04:00
|
|
|
\membersection{wxWindowDisabler::\destruct{wxWindowDisabler}}\label{wxwindowdisablerdtor}
|
2000-03-02 14:06:13 -05:00
|
|
|
|
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
|
|
|
|