[−][src]Type Definition rubrail::ButtonCb 
type ButtonCb = Box<dyn Fn(&ItemId)>;
A callback that is called when a button on a Touch Bar is pressed
ButtonCb is expected to be a Boxed closure, and it receives the
ItemId of the button that is pressed.
Arguments
- first - ItemIdof the button that was pressed