mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Mount
|
# Load
|
||||||
|
|
||||||
The `Load` event is sent to the app prior to switching the terminal in to application mode.
|
The `Load` event is sent to the app prior to switching the terminal in to application mode.
|
||||||
|
|
||||||
|
|||||||
@@ -11,10 +11,10 @@ The `Click` event is sent to a widget when the user clicks a mouse button.
|
|||||||
| `x` | int | Mouse x coordinate, relative to Widget |
|
| `x` | int | Mouse x coordinate, relative to Widget |
|
||||||
| `y` | int | Mouse y coordinate, relative to Widget |
|
| `y` | int | Mouse y coordinate, relative to Widget |
|
||||||
| `delta_x` | int | Change in x since last mouse event |
|
| `delta_x` | int | Change in x since last mouse event |
|
||||||
| `delta_y` | int | Change in x since last mouse event |
|
| `delta_y` | int | Change in y since last mouse event |
|
||||||
| `button` | int | Index of mouse button |
|
| `button` | int | Index of mouse button |
|
||||||
| `shift` | bool | Shift key pressed if True |
|
| `shift` | bool | Shift key pressed if True |
|
||||||
| `meta` | bool | Meta key pressed if True |
|
| `meta` | bool | Meta key pressed if True |
|
||||||
| `ctrl` | bool | Shift key pressed if True |
|
| `ctrl` | bool | Ctrl key pressed if True |
|
||||||
| `screen_x` | int | Mouse x coordinate relative to the screen |
|
| `screen_x` | int | Mouse x coordinate relative to the screen |
|
||||||
| `screen_y` | int | Mouse y coordinate relative to the screen |
|
| `screen_y` | int | Mouse y coordinate relative to the screen |
|
||||||
|
|||||||
Reference in New Issue
Block a user