Bases: Event
Sent when the app or widget has been resized.
- Bubbles
- Verbose
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
Size
|
The new size of the Widget. |
required |
|
Size
|
The virtual size (scrollable size) of the Widget. |
required |
|
Size | None
|
The size of the Widget's container widget. |
None
|
container_size
instance-attribute
¶
container_size = (
size if container_size is None else container_size
)
The size of the Widget's container widget.
pixel_size
instance-attribute
¶
pixel_size = pixel_size
Size of terminal window in pixels if known, or None
if not known.
virtual_size
instance-attribute
¶
virtual_size = virtual_size
The virtual size (scrollable size) of the Widget.