Albrecht Schlosser wrote: > > DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK > BELOW. > > [STR New] > > Link: http://www.fltk.org/str.php?L2041 > Version: 1.3-feature > > > Alvin, could you please try this short patch for Fl_Group: > > http://www.fltk.org/strfiles/2041/Fl_Group_FL_TOOLTIP.patch > > If my assumption WRT FL_TOOLTIP event handling is correct, then this > should solve the problem that unrelated widgets get FL_TOOLTIP events. Or > maybe not - it's untested. > > > Link: http://www.fltk.org/str.php?L2041 > Version: 1.3-feature
Thanks! I believe that will do that trick. The problem, as you have figured out, is that when tw->handle(FL_TOOLTIP) is called, tw could actually be a Fl_Window which then passes the event (cause it doesn't know FL_TOOLTIP) to its children. I am testing the two patches together. I have also made an example app that hopefully tests most/all of the cases. I should be posting the merged patch to the STR shortly. -- Alvin _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev