Is it possible for TButton to call a C++ function (class member or global) when pressed?
I would like to make a regular TCanvas and plot some graphics on it. I would like to be able to update canvas every time a button is pressed and I thought to use TButton to do this. Is there a better way to do this task?
By the way, I am just trying to write a simple equivalent of TCanvas::WaitPrimitive function that uses an explicit “next” button instead of double-click because my X session is very slow and double-click often does not register. Is there a better way to do this?