pub fn commands(
ctx: &Context,
id: Id,
hovered: bool,
focused: bool,
) -> Vec<NavCommand>Expand description
A canvas’s navigation for this frame: marks it active when the pointer is over it or it has the keyboard, reads its keys then (not while a text input owns the keyboard, nor in an application, whose keymap reads them and sends the commands), and gives what was asked, the application’s commands included. Hand mode is toggled here and not returned.