Class Dispatcher |
# This class handles Icon events, dispatching them to the appropriate dialog. It also controls any active Tickers, activating them between events as and when appropriate.
Details |
Constructor |
Dispatcher(dialogs, tickers, ticker_sleep, ticker_sleep_min, ticker_sleep_max)
Methods: |
Add a dialog
Compute the ticker sleep rate.
Time of day
Delete a dialog
Return a list of unblocked dialogs.
Loop until dialog r is closed processing events and tickers.
Change a ticker's tick rate, to take effect after its next tick.
Add a ticker, or reset its time to a new value.
Sleep for n milliseconds
Delete a ticker
Schedule a ticker
Fields: |