| WindowSetMouseCallback Method |
Sets the callback function for mouse events occuting within the specified window.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void SetMouseCallback(
MouseCallback onMouse,
IntPtr userData = null
)
Public Sub SetMouseCallback (
onMouse As MouseCallback,
Optional userData As IntPtr = Nothing
)
public:
void SetMouseCallback(
MouseCallback^ onMouse,
IntPtr userData = nullptr
)
member SetMouseCallback :
onMouse : MouseCallback *
?userData : IntPtr
(* Defaults:
let _userData = defaultArg userData null
*)
-> unit
Parameters
- onMouse
- Type: OpenCvSharpMouseCallback
Reference to the function to be called every time mouse event occurs in the specified window. - userData (Optional)
- Type: SystemIntPtr
[Missing <param name="userData"/> documentation for "M:OpenCvSharp.Window.SetMouseCallback(OpenCvSharp.MouseCallback,System.IntPtr)"]
See Also