textual.events.Resize
class
¶
Bases: Event
Sent when the app or widget has been resized.
- Bubbles
- Verbose
Parameters
Parameter | Default | Description |
---|---|---|
size
Size
|
required | The new size of the Widget. |
virtual_size
Size
|
required | The virtual size (scrollable size) of the Widget. |
container_size
Size | None
|
None
|
The size of the Widget's container widget. |