pub fn default_keymap() -> Keymap<Action>Available on crate feature
property-grid only.Expand description
The default property grid shortcuts:
| Keys | Action |
|---|---|
ArrowDown | Action::Next |
ArrowUp | Action::Previous |
Home | Action::First |
End | Action::Last |
ArrowRight | Action::Expand |
ArrowLeft | Action::Collapse |
Enter, F2 | Action::Edit |
Escape | Action::Cancel |
Delete | Action::Reset |
Mod+C (Ctrl, or Cmd on macOS) | Action::CopyValue |
Mod+F | Action::FocusSearch |
While a field is being typed into it keeps the keys it uses, such as
the arrows that move its cursor; Enter ends the edit and Escape cancels
it. Up and Down step a number being edited. Escape in the filter box
clears it, and a second Escape leaves it. The grid resolves these
itself, only while it has focus, so they never clash with other
components. Pass a changed keymap with PropertyGrid::keymap.