Property

AdwBottomSheet:modal

unstable since: 1.6

Declaration

property modal: gboolean [ read, write ]

Description [src]

Whether the bottom sheet is modal.

When modal, AdwBottomSheet:content will be dimmed when the bottom sheet is open, and clicking it will close the bottom sheet. It also cannot be focused with keyboard.

Otherwise, the content is accessible even when the bottom sheet is open.

Type:gboolean

Available since: 1.6

Default valueTRUE
Getter methodadw_bottom_sheet_get_modal()
Setter methodadw_bottom_sheet_set_modal()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno