Sets whether self can be closed.
If set to FALSE, the close button, shortcuts and adw.dialog.Dialog.close will result in signalDialog::close-attempt being emitted instead, and bottom sheet close swipe will be disabled. adw.dialog.Dialog.forceClose still works.
whether to allow closing
Sets whether self can be closed.
If set to FALSE, the close button, shortcuts and adw.dialog.Dialog.close will result in signalDialog::close-attempt being emitted instead, and bottom sheet close swipe will be disabled. adw.dialog.Dialog.forceClose still works.