Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use button with call back function?

Hi, I want to create a button but keep having an error on call back function. When I put an event on call back function, then it shows errors.

how to write a simple call back function for button?

For example, createButton("button6",callbackButton2,NULL,CV_PUSH_BUTTON,1);

What is the "callbackButton2" means?

or how to create a simple function of button?