[−][src]Type Definition pushrod::widgets::tab_bar_widget::OnTabSelectedCallbackType
type OnTabSelectedCallbackType = Option<Box<dyn FnMut(&mut TabBarWidget, &[WidgetContainer], &[LayoutContainer], u16)>>;
This is the callback type that is used when an on_tab_selected
callback is triggered from this
Widget
. Returns a number indicating the tab that was selected, starting from 0
.