On Oct 21, 2009, at 4:52 PM, Greg Ercolano wrote:
> To reliably receive ENTER/LEAVE events, be sure your handle() method
> returns 1 in response to both, eg:
Thanks, my problem was that I was receiving LEAVE events when I
shouldn't have been. My follow-up e-mail with patch should show that
this behavior was ismply a possible bug in Fl_Group.cxx.
> In place of the above, I believe you can use:
>
> #include <FL/names.h>
> :
> printf("Event %d is %s\n", e, fl_eventnames[e]);
>
> See:
> http://fltk.org/doc-1.3/names_8h-source.html
>
> I don't think there are docs for this, but there should be.
I didn't know this existed. Thank you.
Harvey
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk