[−][src]Function opencv::highgui::set_trackbar_max
pub fn set_trackbar_max(
trackbarname: &str,
winname: &str,
maxval: i32
) -> Result<()>
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 (or NULL) 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.