can_close


Description:

public bool can_close { get; set; }

Whether the dialog can be closed.

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