I am creating a program, and want to create a widget that has a callback, but is not a button. I am using fltk2, and I have created this box using fltk::Widget. I want to be able to both left and right click on it to perform different actions, however I don't want to be able to push tab to get to it like I would a fltk::Button.
I am guessing I can use widget_name -> callback(callback_name,this); but can't seem to be able to do it, I have used callbacks for normal buttons no problem. Thanks, Owen _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

