|
|
On Fri, 12 Aug 2022, 16:15 Paul Hahn wrote:
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?
Hi Paul
The problem is that (for historical reasons that were good choices at the time) menu items are not true widgets (in the fltk sense) and so have no means to readily utilize the tooltip mechanism.
The issue with menu items not being widgets is one of those things that keeps coming round to bite us...
And I don't have a workaround for menu tooltips - though someone else may? -- Ian From my Fairphone FP3
--
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/CAGFM6dZ%3Dm08znPDXEeHycFEh56nHGLkjAZZtKdi1Ka6VLqxU5A%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |