Skip to main content

SelectionArea

Flet controls are not selectable by default. SelectionArea is used to enable selection for its content.

Examples​

Selectable Text controls​

python/controls/utility/selection-area/selection-area-example.py
loading...

Properties​

content​

A child Control contained by the SelectionArea. If you need to have multiple selectable controls, use Row, Column, or Stack, which have a controls property, and then provide multiple controls to that control.

Events​

on_change​

Fires when the selected content changes.