On 25.08.2008, at 19:49, pushparaj muthu wrote: > why need to declare static for the callback function for any widget .
For a callback to work, it need to have a single address. A non-static member function of a class has two addresses: the "this" pointer plus the address of the function (often you can put "this" into the user data field), but you still have to go through a static callback. If a function is not a member of a class, it need not be static. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

