mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Events
This commit is contained in:
11
docs/events/mouse_capture.md
Normal file
11
docs/events/mouse_capture.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# MouseCapture
|
||||
|
||||
The `MouseCapture` event is sent to a widget when it is capturing mouse events from outside of its borders on the screen.
|
||||
|
||||
- [ ] Bubbles
|
||||
|
||||
## Attributes
|
||||
|
||||
| attribute | type | purpose |
|
||||
| ---------------- | ------ | --------------------------------------------- |
|
||||
| `mouse_position` | Offset | Mouse coordinates when the mouse was captured |
|
||||
Reference in New Issue
Block a user