[fltk.general] tooltips for menu items

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

tooltips for menu items Paul Hahn 08:15 Aug 12 top right image
 
Is there a way to have tooltips for one (all) menu items in an Fl_Menu_? More specifically, I have an instance of Fl_Choice (parent class is Fl_Menu_) and I would like to show tooltips for the selection items.

Is subclassing Fl_Choice and doing the work to implement some kind of "tooltip" in its handle() method override really the only way?

If it is, any suggestion on that implementation so the "tooltips" look and operate consistent with the usual FLTK widget tooltips?

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/929b361d-d126-496e-b6f8-7f29b6a2d0f8n%40googlegroups.com.
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.