Skip to main content

menu_key

Function menu_key 

Source
pub fn menu_key(ctx: &Context, take: bool) -> bool
Expand description

Whether the context menu key was pressed in this pass: Shift+F10, as on Windows, in GTK and Qt, or the Menu key alone. With take, the press is taken out of the input. A widget holding the focus for its rows (a tree, a list) asks this to open its cursor’s menu.