canClose

open var canClose: Boolean

Whether the dialog can be closed.

If set to FALSE, the close button, shortcuts and method@Dialog.close will result in signal@Dialog::close-attempt being emitted instead, and bottom sheet close swipe will be disabled. method@Dialog.force_close still works.

Since

1.5