pub fn switcher<M>(
options: impl IntoIterator<Item = (Node<M>, M)>,
current: Option<usize>,
) -> Node<M>Expand description
A row of choices, one of them current: workspaces, output devices. Each option sends its
message when clicked. The host marks the current option and moves the mark smoothly when
current changes.