1 \section{\class{wxIdleEvent
}}\label{wxidleevent
}
3 This class is used for idle events, which are generated when the system is idle.
5 \wxheading{Derived from
}
7 \helpref{wxEvent
}{wxevent
}\\
8 \helpref{wxObject
}{wxobject
}
10 \wxheading{Include files
}
14 \wxheading{Event table macros
}
16 To process an idle event, use this event handler macro to direct input to a member
17 function that takes a wxIdleEvent argument.
20 \begin{twocollist
}\itemsep=
0pt
21 \twocolitem{{\bf EVT
\_IDLE(func)
}}{Process a wxEVT
\_IDLE event.
}
26 Idle events can be caught by the wxApp class, or by top-level window classes.
30 \helpref{wxApp::OnIdle
}{wxapponidle
},
\helpref{Event handling overview
}{eventhandlingoverview
}
32 \latexignore{\rtfignore{\wxheading{Members
}}}
34 \membersection{wxIdleEvent::wxIdleEvent
}
36 \func{}{wxIdleEvent
}{\void}
40 \membersection{wxIdleEvent::RequestMore
}\label{wxidleeventrequestmore
}
42 \func{void
}{RequestMore
}{\param{bool
}{ needMore = TRUE
}}
44 Tells wxWindows that more processing is required. This function can be called by an OnIdle
45 handler for a window or window event handler to indicate that wxApp::OnIdle should
46 forward the OnIdle event once more to the application windows. If no window calls this function
47 during OnIdle, then the application will remain in a passive event loop (not calling OnIdle) until a
48 new event is posted to the application by the windowing system.
52 \helpref{wxIdleEvent::MoreRequested
}{wxidleeventmorerequested
},
\helpref{wxApp::OnIdle
}{wxapponidle
}
54 \membersection{wxIdleEvent::MoreRequested
}\label{wxidleeventmorerequested
}
56 \constfunc{bool
}{MoreRequested
}{\void}
58 Returns TRUE if the OnIdle function processing this event requested more processing time.
62 \helpref{wxIdleEvent::RequestMore
}{wxidleeventrequestmore
},
\helpref{wxApp::OnIdle
}{wxapponidle
}