]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/wnddisbl.tex
API change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events
[wxWidgets.git] / docs / latex / wx / wnddisbl.tex
CommitLineData
d7da9756
VZ
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: wnddsbl.tex
3%% Purpose: wxWindowDisabler class documentation
4%% Author: Vadim Zeitlin
5%% Modified by:
6%% Created: 03.03.00
7%% RCS-ID: $Id$
8%% Copyright: (c) Vadim Zeitlin
8795498c 9%% License: wxWindows license
d7da9756
VZ
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
cd6ce4a9
VZ
12\section{\class{wxWindowDisabler}}\label{wxwindowdisabler}
13
14This class disables all windows of the application (may be with the exception
15of one of them) in its constructor and enables them back in its destructor.
16This comes in handy when you want to indicate to the user that the application
17is currently busy and cannot respond to user input.
18
19\wxheading{Derived from}
20
21None
22
23\wxheading{Include files}
24
25<wx/utils.h>
26
a7af285d
VZ
27\wxheading{Library}
28
29\helpref{wxCore}{librarieslist}
30
cd6ce4a9
VZ
31\wxheading{See also}
32
33\helpref{wxBusyCursor}{wxbusycursor}
34
35\latexignore{\rtfignore{\wxheading{Members}}}
36
6d06e061 37\membersection{wxWindowDisabler::wxWindowDisabler}\label{wxwindowdisablerctor}
cd6ce4a9
VZ
38
39\func{}{wxWindowDisabler}{\param{wxWindow *}{winToSkip = NULL}}
40
41Disables all top level windows of the applications with the exception of
42{\it winToSkip} if it is not {\tt NULL}.
43
6d06e061 44\membersection{wxWindowDisabler::\destruct{wxWindowDisabler}}\label{wxwindowdisablerdtor}
cd6ce4a9 45
21977bac
VZ
46\func{}{\destruct{wxWindowDisabler}}{\void}
47
cd6ce4a9 48Reenables back the windows disabled by the constructor.
66f55ec6 49