Property

AdwDialog:can-close

Declaration

property can-close: gboolean [ read, write ]

Description [src]

Whether the dialog can be closed.

If set to FALSE, the close button, shortcuts and adw_dialog_close() will result in AdwDialog::close-attempt being emitted instead, and bottom sheet close swipe will be disabled. adw_dialog_force_close() still works.

Type: gboolean
Available since:1.5

Flags

Readableyes
Writableyes
Constructno
Construct onlyno