textual.events.MouseCapture
class
¶
Bases: Event
Sent when the mouse has been captured.
- Bubbles
- Verbose
When a mouse has been captured, all further mouse events will be sent to the capturing widget.
Parameters
Parameter | Default | Description |
---|---|---|
mouse_position
Offset
|
required | The position of the mouse when captured. |
mouse_position
instance-attribute
¶
The position of the mouse when captured.