pub fn parts<R>(
ui: &mut Ui,
name: &str,
owner: Id,
add: impl FnOnce(&mut Ui) -> R,
) -> RExpand description
Draws add as the parts of the widget owner (a graph node’s chevron,
ports and sliders), inside a roving group: Tab coming into the group
lands on the widget, not on its parts.
- Enter on
ownergoes into its parts, on the first. - Tab and Shift+Tab go round them, from the last to the first.
- Escape goes back to
owner.
Name each widget’s parts apart. It needs the focus plugin.