pub fn icon_button<State: 'static, F: Fn(&mut State) + 'static>(
mark: impl Into<IconData>,
label: impl Into<String>,
on_press: F,
) -> IconButtonView<State>Expand description
Create a pressable vector icon painting mark, labelled label for
accessibility, that runs on_press against the app state when released
inside its bounds. See the module docs.