FLTK 1.4.0
|
A class prototype that allows for additional data in callbacks. More...
#include <Fl_Widget.H>
A class prototype that allows for additional data in callbacks.
Users can extend this class and pass it to widget callbacks. Widgets can take ownership of the callback data, deleting the data when the widget itself is deleted.
The destructor of this class is virtual, allowing for additional code to deallocate resources when the user data is deleted.