traits_futures.wx.event_loop module

IEventLoop implementation for the wx event loop.

class traits_futures.wx.event_loop.WxEventLoop[source]

Bases: object

IEventLoop implementation for the wx 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