Skip to content

Bases: Event

Sent when the app or widget has been resized.

  • Bubbles
  • Verbose

Parameters:

Name Type Description Default

size

Size

The new size of the Widget.

required

virtual_size

Size

The virtual size (scrollable size) of the Widget.

required

container_size

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.

size instance-attribute

size = size

The new size of the Widget.

virtual_size instance-attribute

virtual_size = virtual_size

The virtual size (scrollable size) of the Widget.