Skip to main content

edit_items

Function edit_items 

Source
pub fn edit_items(
    selected: bool,
    pasteable: bool,
    actions: [&dyn Action; 4],
    window: &Window,
) -> Vec<Item>
Expand description

The rows of a text surface’s right-click menu. actions are the surface’s own Cut, Copy, Paste and Select All, read for the chord each row prints.