cd6ce4a90c
reliable), now works in both sync and async modes 2. wxSafeYieldBug() corrected, wxWindowDisabler which is now used in it added and documented 3. exec sample updated to illustrate capturing the subprocess output 4. wxStreamBase::IsOk() added 5. wxInputStream::Eof() added and non-blocking Eof() implementation in wxPipeInputStream used by wxExecute git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
47 lines
1.2 KiB
TeX
47 lines
1.2 KiB
TeX
\section{\class{wxBusyCursor}}\label{wxbusycursor}
|
|
|
|
This class makes it easy to tell your user that the program is temporarily busy.
|
|
Just create a wxBusyCursor object on the stack, and within the current scope,
|
|
the hourglass will be shown.
|
|
|
|
For example:
|
|
|
|
\begin{verbatim}
|
|
wxBusyCursor wait;
|
|
|
|
for (int i = 0; i < 100000; i++)
|
|
DoACalculation();
|
|
\end{verbatim}
|
|
|
|
It works by calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor} in the constructor,
|
|
and \helpref{wxEndBusyCursor}{wxendbusycursor} in the destructor.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
None
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/utils.h>
|
|
|
|
\wxheading{See also}
|
|
|
|
\helpref{wxBeginBusyCursor}{wxbeginbusycursor},\rtfsp
|
|
\helpref{wxEndBusyCursor}{wxendbusycursor},\rtfsp
|
|
\helpref{wxWindowDisabler}{wxwindowdisabler}
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
\membersection{wxBusyCursor::wxBusyCursor}
|
|
|
|
\func{}{wxBusyCursor}{\param{wxCursor*}{ cursor = wxHOURGLASS\_CURSOR}}
|
|
|
|
Constructs a busy cursor object, calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor}.
|
|
|
|
\membersection{wxBusyCursor::\destruct{wxBusyCursor}}
|
|
|
|
\func{}{\destruct{wxBusyCursor}}{\void}
|
|
|
|
Destroys the busy cursor object, calling \helpref{wxEndBusyCursor}{wxendbusycursor}.
|
|
|