|
|
I solved this by making my labels Buttons with a NoBox frame type and setting their callbacks to widget.take_focus() for their associated widgets.
On Tuesday, December 14, 2021 at 10:16:39 AM UTC Mark wrote:
I have a label (a Frame with some text) and a widget beside it (a Spinner). I'd like to have the label have an underlined letter (which in a button is achieved using &Click) but doesn't seem to work in a Frame's label. And when the user presses Alt+C (i.e., Alt+_underlined letter_) sends the keyboard focus to an associated widget.
How is this done in FLTK?
--
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/81f60b2b-7158-40c8-804a-6151ce5296f3n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |