Skip to main content

SetSelectionHandler

Type Alias SetSelectionHandler 

Source
pub type SetSelectionHandler = Rc<dyn Fn(&mut App, TextSelection)>;
Expand description

Signature for the SemanticsAction.setSelection handlers to change the text selection (or re-position the cursor) to selection.

Aliased Typeยง

pub struct SetSelectionHandler { /* private fields */ }