matthiasm wrote: > > On Jul 2, 2007, at 2:41 PM, Alvin wrote: > >> Is there a way to force a tooltip to be drawn? > > You could set Fl_Tooltip::delay(float) to a really short time. You > could then use the FL_ENTER and FL_LEAVE events to set the tooltip > delay back to normal. > > ---- > http://robowerk.com/
After reading the Fl_Tooltip doc (which I didn't notice in my OP, sorry), Fl_Tooltip::delay effects all widgets I believe. As a temporary work around, in the Fl_Slider's callback, after I set the new tooltip text, I do: Fl_Tooltip::exit(o); Fl_Tooltip::enter(o); This seems to work. The tooltip doesn't show as the slider changes, but it does show when the slider stops moving. -- Alvin _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

