> I'm trying to use an arrow key (Up, Down) as fl_button shortcut. > Fluid seems to accept the shortcut, the generated FLTK code > is correct ( fl_button::shortcut() is called ), but the > callback is not called when I stroke the key. > > I've try several mix of shortcut : Keynum Arrow/ Standard > Arrow, with all key modificators (Ctrl, Alt, Shift ...). > > Did I miss something ?
I don't think you can use the arrow keys for shortcuts, because they tend to get eaten up by other widgets first, e.g. any sort of text widget that gets the focus will swallow any arrow keys it sees, for text navigation, and at a higher level, arrow keys get eaten by widget navigation... Maybe, if you had no text widgets, and you used clear_visible_focus() to disable keyboard widget navigation, then the arrow keys *might* become available for use as shortcut keys... But that's mainly just speculation. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

