Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(1)  |  Import(1)

src/c/h/chirp-1.2.2/chirp/gui/events.py   chirp(Download)
import wx
import threading
from chirp.common.progress import consumer
 
myEVT_STAGE = wx.NewEventType()
class BatchConsumer(consumer):
    """
    Objects of this class monitor a queue and produces events as the
    batch job progresses.  For ease in passing this task to another
    thread, the start method returns immediately; call the object to