Detect when gui thread comes out of idle state
ziltoid the omniscient <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Hi, is there a way to detect when the gui thread comes out of the idle state? This is the situation it would be useful for: 1. Receive EVT_IDLE 2. Process custom work queue in gui thread 3. Receive "leaving idle event? from wx" after spending time at 2. 4. Stop processing custom work queue in gui thread On next EVT_IDLE begin steps 1 - 4. Thanks -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/96c293ed-936b-42da-9f64-a30be4e5a55e%40googlegroups.com.