Python wx.EvtHandler() Examples
The following are 6
code examples of wx.EvtHandler().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
wx
, or try the search function
.
Example #1
Source File: events.py From RF-Monitor with GNU General Public License v2.0 | 5 votes |
def post_event(destination, event): if isinstance(destination, Queue.Queue): destination.put(event) elif isinstance(destination, wx.EvtHandler): wx.PostEvent(destination, event)
Example #2
Source File: backend_wx.py From Mastering-Elasticsearch-7.0 with MIT License | 5 votes |
def __init__(self, *args, **kwargs): if args and isinstance(args[0], wx.EvtHandler): cbook.warn_deprecated( "3.0", message="Passing a wx.EvtHandler as first argument to " "the TimerWx constructor is deprecated since %(since)s.") args = args[1:] TimerBase.__init__(self, *args, **kwargs) self._timer = wx.Timer() self._timer.Notify = self._on_timer
Example #3
Source File: backend_wx.py From GraphicDesignPatternByPython with MIT License | 5 votes |
def __init__(self, *args, **kwargs): if args and isinstance(args[0], wx.EvtHandler): cbook.warn_deprecated( "3.0", "Passing a wx.EvtHandler as first argument to the " "TimerWx constructor is deprecated since %(version)s.") args = args[1:] TimerBase.__init__(self, *args, **kwargs) self._timer = wx.Timer() self._timer.Notify = self._on_timer
Example #4
Source File: backend_wx.py From python3_ios with BSD 3-Clause "New" or "Revised" License | 5 votes |
def __init__(self, *args, **kwargs): if args and isinstance(args[0], wx.EvtHandler): cbook.warn_deprecated( "3.0", "Passing a wx.EvtHandler as first argument to the " "TimerWx constructor is deprecated since %(version)s.") args = args[1:] TimerBase.__init__(self, *args, **kwargs) self._timer = wx.Timer() self._timer.Notify = self._on_timer
Example #5
Source File: backend_wx.py From coffeegrindsize with MIT License | 5 votes |
def __init__(self, *args, **kwargs): if args and isinstance(args[0], wx.EvtHandler): cbook.warn_deprecated( "3.0", "Passing a wx.EvtHandler as first argument to the " "TimerWx constructor is deprecated since %(version)s.") args = args[1:] TimerBase.__init__(self, *args, **kwargs) self._timer = wx.Timer() self._timer.Notify = self._on_timer
Example #6
Source File: backend_wx.py From CogAlg with MIT License | 5 votes |
def __init__(self, *args, **kwargs): if args and isinstance(args[0], wx.EvtHandler): cbook.warn_deprecated( "3.0", message="Passing a wx.EvtHandler as first argument to " "the TimerWx constructor is deprecated since %(since)s.") args = args[1:] TimerBase.__init__(self, *args, **kwargs) self._timer = wx.Timer() self._timer.Notify = self._on_timer