Stan wrote:
> In fltk 1, in Fl_Widget.H, we find
> 
>    void do_callback() {callback_(this,user_data_);
>       if (callback_ != default_callback) clear_changed();}
> 
> 
> If the clear_changed() were done first, a user that wanted
> to do a callback without clearing the changed bit could
> reset the bit inside the callback.  As it stands now, one
> is SOL, I think.

But then how would the callback know that something had changed (vs
pressing Enter or leaving the widget)?

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to