Clean up after ourselves.
Dynamic trait listener that handles our component changing its size.
Returns the current pointer position in local window coordinates.
(x, y) – The x,y position of the mouse
- Return type
Requests that the window be redrawn.
Returns local window coordinates for given global screen coordinates
Sets the result that should be returned to the system from the handling of the current drag operation. Valid result values are: “error”, “none”, “copy”, “move”, “link”, “cancel”. These have the meanings associated with their WX equivalents.
set_mouse_owner(mouse_owner, transform=None, history=None)¶
Handle the ‘mouse_owner’ being changed
Componentor None) – The new “mouse owner” component. This component will receive all key and mouse events until a new mouse owner is set.
ndarrayor None) – An affine transform which is applied to events before dispatch
history (list of
Interactoror None) – A list of interactors which is used to build a tranform (via
get_event_transform()) to be applied to events before dispatch.
Sets the current cursor shape.
pointer (str) – The name of the cursor shape. Valid values are in
Set up or cancel a timer for a specified component