Fabien Costantini wrote:

> IMHO, I believe that, would we add this action() virtual method,
> the protoype should be :
> 
> virtual int action();
> 
> And then action() should be called _before_ the potential do_callback()

I would have the default version of action() run do_callback() and 
require subclasses to call their parent class, ie ParentClass::action().

This matches how a lot of other virtual functions work in fltk, and 
makes it possible to *not* do the callback.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to