1998-05-20 10:25:30 -04:00
|
|
|
\section{\class{wxIdleEvent}}\label{wxidleevent}
|
|
|
|
|
|
|
|
This class is used for idle events, which are generated when the system is idle.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxEvent}{wxevent}\\
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/event.h>
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
\wxheading{Event table macros}
|
|
|
|
|
|
|
|
To process an idle event, use this event handler macro to direct input to a member
|
|
|
|
function that takes a wxIdleEvent argument.
|
|
|
|
|
|
|
|
\twocolwidtha{7cm}
|
|
|
|
\begin{twocollist}\itemsep=0pt
|
|
|
|
\twocolitem{{\bf EVT\_IDLE(func)}}{Process a wxEVT\_IDLE event.}
|
|
|
|
\end{twocollist}%
|
|
|
|
|
|
|
|
\wxheading{Remarks}
|
|
|
|
|
|
|
|
Idle events can be caught by the wxApp class, or by top-level window classes.
|
|
|
|
|
|
|
|
\wxheading{See also}
|
|
|
|
|
2001-08-29 15:39:14 -04:00
|
|
|
\helpref{Event handling overview}{eventhandlingoverview}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxIdleEvent::wxIdleEvent}
|
|
|
|
|
|
|
|
\func{}{wxIdleEvent}{\void}
|
|
|
|
|
|
|
|
Constructor.
|
|
|
|
|
|
|
|
\membersection{wxIdleEvent::RequestMore}\label{wxidleeventrequestmore}
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
\func{void}{RequestMore}{\param{bool}{ needMore = true}}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
Tells wxWindows that more processing is required. This function can be called by an OnIdle
|
|
|
|
handler for a window or window event handler to indicate that wxApp::OnIdle should
|
|
|
|
forward the OnIdle event once more to the application windows. If no window calls this function
|
|
|
|
during OnIdle, then the application will remain in a passive event loop (not calling OnIdle) until a
|
|
|
|
new event is posted to the application by the windowing system.
|
|
|
|
|
|
|
|
\wxheading{See also}
|
|
|
|
|
2001-08-29 15:39:14 -04:00
|
|
|
\helpref{wxIdleEvent::MoreRequested}{wxidleeventmorerequested}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\membersection{wxIdleEvent::MoreRequested}\label{wxidleeventmorerequested}
|
|
|
|
|
|
|
|
\constfunc{bool}{MoreRequested}{\void}
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
Returns true if the OnIdle function processing this event requested more processing time.
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\wxheading{See also}
|
|
|
|
|
2001-08-29 15:39:14 -04:00
|
|
|
\helpref{wxIdleEvent::RequestMore}{wxidleeventrequestmore}
|
1998-05-20 10:25:30 -04:00
|
|
|
|