mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
17 lines
459 B
Markdown
17 lines
459 B
Markdown
# MouseCapture
|
|
|
|
The `MouseCapture` event is sent to a widget when it is capturing mouse events from outside of its borders on the screen.
|
|
|
|
- [ ] Bubbles
|
|
- [ ] Verbose
|
|
|
|
## Attributes
|
|
|
|
| attribute | type | purpose |
|
|
| ---------------- | ------ | --------------------------------------------- |
|
|
| `mouse_position` | Offset | Mouse coordinates when the mouse was captured |
|
|
|
|
## Code
|
|
|
|
::: textual.events.MouseCapture
|