traits_futures.qt.event_loop module
IEventLoop implementation for the Qt event loop.
-
class
traits_futures.qt.event_loop.
QtEventLoop
[source]
Bases: object
IEventLoop implementation for the Qt event loop.
-
helper
()[source]
Return a new event loop helper.
- Returns
event_loop_helper
- Return type
IEventLoopHelper
-
pingee
(on_ping)[source]
Return a new pingee.
- Parameters
on_ping – Zero-argument callable, called on the main thread (under a running
event loop) as a result of each ping sent. The return value of the
callable is ignored.
- Returns
pingee
- Return type
IPingee