[][src]Function opencv::highgui::get_trackbar_pos

pub fn get_trackbar_pos(trackbarname: &str, winname: &str) -> Result<i32>

Returns the trackbar position.

The function returns the current position of the specified trackbar.

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 the trackbar.