Skip to main content

selectable_text

Function selectable_text 

Source
pub fn selectable_text<'a>(
    content: impl Into<Cow<'a, str>> + 'a,
) -> SelectableText<'a>
Expand description

Creates a SelectableText widget: text the user can select, with a right-click context menu (Copy / Select All).

Use .context_menu(false) to keep selection but suppress the menu.