On May 17, 2010, at 6:15 AM, Albrecht Schlosser wrote: > On 17.05.2010, at 06:20, Greg Ercolano wrote: >> Greg Ercolano wrote: >> BTW, you can disable it without changing FLTK's source code >> by just subclassing Fl_Input and making your own handle() method, eg: >> http://fltk.org/newsgroups.php?gfltk.general+v:17715 > > Yep, that's how I did it in my app, and I'd recommend this way. This is > more "future proof" if you want to upgrade to a newer FLTK version later.
Perhaps, a fully working example of the subclassed widget could be put in the code in such a way as to only show up in the documentation? That way, feature creep can be avoided, and a (perhaps?) common question would be answered directly in the docs. H. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

