[−][src]Type Definition opencv::highgui::ButtonCallback
type ButtonCallback = dyn FnMut(i32) + Send + Sync + 'static;
Callback function for a button created by cv::createButton
Parameters
- state: current state of the button. It could be -1 for a push button, 0 or 1 for a check/radio box button.
- userdata: The optional parameter.