>       'Spacebar' is how you trigger things in 1.x..
>       buttons, menubuttons, choice menus, checkboxes, etc.
> 
>       The docs for Fl_Button don't seem to mention this, but
>       it's been a long standing behavior in 1.x.

It used to be the common behaviour - many curses and DOS-shell type things used 
this, and IIRC the old VMS tabs interface worked like that too.



>       Not sure how to get what you want other than to derive a class
>       from Fl_Button and have it invoke the callback when
> FL_Enter/FL_KP_Enter
>       comes in as a keyboard event.

Yes, I think so, derive your own button class and tweak its handle to have it 
check if it gets an enter key whilst it has the focus, then trigger the 
callback...





SELEX Galileo Ltd
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

Reply via email to