CvButton Constructor (String, CvButtonCallback, Object, ButtonType) OpenCvSharp Class Library
Constructor

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvButton(
	string name,
	CvButtonCallback callback,
	Object userdata,
	ButtonType button_type
)

Parameters

name
Type: SystemString
Name of the button ( if null, the name will be “button <number of boutton>”)
callback
Type: OpenCvSharpCvButtonCallback
Pointer to the function to be called every time the button changed its state.
userdata
Type: SystemObject
object passed to the callback function.
button_type
Type: OpenCvSharpButtonType
button type
See Also

Reference