Property

AdapDialog:can-close

since: 1.5

Declaration

property can-close: gboolean [ read, write ]

Description [src]

Whether the dialog can be closed.

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

Type: gboolean
Available since:1.5
Default valueTRUE
Getter methodadap_dialog_get_can_close()
Setter methodadap_dialog_set_can_close()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno