Skip to main content

READ_ONLY_PRESET

Constant READ_ONLY_PRESET 

Source
pub const READ_ONLY_PRESET: PolicyBundle;
Expand description

The read-only preset: only navigation + copy/select-all, Document role, no cut/paste. The caret is hidden entirely — view-only widgets ship without any caret affordance. Applications that need a focusable read-only surface with a visible caret can construct a custom preset via PolicyBundle.