Lines Matching refs:loop
20 // wxEventLoop: a GUI event loop
32 // start the event loop, return the exit code when it is finished
35 // exit from the loop with the given exit code
41 // dispatch a single event, return false if we should exit from the loop
44 // return currently active (running) event loop, may be NULL
47 // set currently active (running) event loop
48 static void SetActive(wxEventLoop* loop) { ms_activeLoop = loop; }
50 // is this event loop running now?
52 // notice that even if this event loop hasn't terminated yet but has just
53 // spawned a nested (e.g. modal) event loop, this would return false
57 // this function should be called before the event loop terminates, whether
59 // an exception thrown from inside the loop)
63 // the pointer to currently active loop
71 // this class can be used to implement a standard event loop logic using
80 // enters a loop calling OnNextIteration(), Pending() and Dispatch() and
84 // sets the "should exit" flag and wakes up the loop so that it terminates
89 // implement this to wake up the loop: usually done by posting a dummy event
94 // loop iteration
98 // the loop exit code
101 // should we exit the loop?
105 #endif // platforms using "manual" loop
193 // restore the previously active event loop