Create a button on the control panel
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static int CreateButton( string name, CvButtonCallback callback, Object userdata, ButtonType buttonType )
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. - buttonType
- Type: OpenCvSharpButtonType
button type
Return Value
Type: Int32[Missing <returns> documentation for "M:OpenCvSharp.Cv.CreateButton(System.String,OpenCvSharp.CvButtonCallback,System.Object,OpenCvSharp.ButtonType)"]
See Also