Function opencv::highgui::set_trackbar_max
source · pub fn set_trackbar_max(
trackbarname: &str,
winname: &str,
maxval: i32
) -> Result<()>
Expand description
Sets the trackbar maximum position.
The function sets the maximum position of the specified trackbar in the specified window.
Note: [Qt Backend Only] winname can be empty if the trackbar is attached to the control panel.
§Parameters
- trackbarname: Name of the trackbar.
- winname: Name of the window that is the parent of trackbar.
- maxval: New maximum position.