If set to FALSE, the close button, shortcuts and adw.dialog.Dialog.close will result in adw.dialog.Dialog.closeAttempt being emitted instead, and bottom sheet close swipe will be disabled. adw.dialog.Dialog.forceClose still works.
Dialog.canClose
bool canClose() @propertyGet canClose property.
Returns
Whether the dialog can be closed.
void canClose(bool propval) @propertySet canClose property.
Parameters
propval | Whether the dialog can be closed. If set to FALSE, the close button, shortcuts and adw.dialog.Dialog.close will result in adw.dialog.Dialog.closeAttempt being emitted instead, and bottom sheet close swipe will be disabled. adw.dialog.Dialog.forceClose still works. |