]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/idleevt.tex
compilation warning fixes (patch 625810)
[wxWidgets.git] / docs / latex / wx / idleevt.tex
... / ...
CommitLineData
1\section{\class{wxIdleEvent}}\label{wxidleevent}
2
3This class is used for idle events, which are generated when the system is idle.
4
5\wxheading{Derived from}
6
7\helpref{wxEvent}{wxevent}\\
8\helpref{wxObject}{wxobject}
9
10\wxheading{Include files}
11
12<wx/event.h>
13
14\wxheading{Event table macros}
15
16To process an idle event, use this event handler macro to direct input to a member
17function that takes a wxIdleEvent argument.
18
19\twocolwidtha{7cm}
20\begin{twocollist}\itemsep=0pt
21\twocolitem{{\bf EVT\_IDLE(func)}}{Process a wxEVT\_IDLE event.}
22\end{twocollist}%
23
24\wxheading{Remarks}
25
26Idle events can be caught by the wxApp class, or by top-level window classes.
27
28\wxheading{See also}
29
30\helpref{Event handling overview}{eventhandlingoverview}
31
32\latexignore{\rtfignore{\wxheading{Members}}}
33
34\membersection{wxIdleEvent::wxIdleEvent}
35
36\func{}{wxIdleEvent}{\void}
37
38Constructor.
39
40\membersection{wxIdleEvent::RequestMore}\label{wxidleeventrequestmore}
41
42\func{void}{RequestMore}{\param{bool}{ needMore = true}}
43
44Tells wxWindows that more processing is required. This function can be called by an OnIdle
45handler for a window or window event handler to indicate that wxApp::OnIdle should
46forward the OnIdle event once more to the application windows. If no window calls this function
47during OnIdle, then the application will remain in a passive event loop (not calling OnIdle) until a
48new event is posted to the application by the windowing system.
49
50\wxheading{See also}
51
52\helpref{wxIdleEvent::MoreRequested}{wxidleeventmorerequested}
53
54\membersection{wxIdleEvent::MoreRequested}\label{wxidleeventmorerequested}
55
56\constfunc{bool}{MoreRequested}{\void}
57
58Returns true if the OnIdle function processing this event requested more processing time.
59
60\wxheading{See also}
61
62\helpref{wxIdleEvent::RequestMore}{wxidleeventrequestmore}
63