pub fn reads_keys(ctx: &Context, id: Id, keys: &[Key])Expand description
Says that a widget reads these keys itself while it has the focus (call it each pass it is drawn): pressed without Ctrl or Alt while it is focused, they reach it before a global key binding of theirs, as a text field keeps the keys it types. A list or a grid says so of its arrows, Home, End, Page Up and Page Down, Space and Enter.
The key dispatcher runs before the widgets are drawn, so it reads what
the focused widget said in this pass or the last
(keys_read_by_focus). A binding scoped to the widget’s surface, its
panel or its window was declared for that place and still goes first; a
binding that fires always (Typing::Always) does too.