GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing docs.wxpython.org — wx.EventBlocker — wxPython 4.3.2 Docs
|
Constructs the blocker for the given window and for the given event type. |
|
Adds to the list of event types which should be blocked the given eventType. |
|
Class API¶Possible constructors:
EventBlocker(win, type=-1) -> None
This class is a special event handler which allows discarding any event (or a set of event types) directed to a specific window.
Constructs the blocker for the given window and for the given event type.
If type is wxEVT_ANY , then all events for that window are blocked. You can call Block after creation to add other event types to the list of events to block.
Note that the win window must remain alive until the wx.EventBlocker object destruction.
win (wx.Window)
type (wx.EventType)
None
Adds to the list of event types which should be blocked the given eventType.
eventType (wx.EventType)
None