Hi All, I have a window with a bunch of Fl_Input fields, and am trying to determine how I can bind a callback to a Fl_Input that will be called when a shortcut takes place and that particular Fl_input has keyboard focus.
So.. 1) User puts keyboard cursor in input field 2) User hits ctrl+v 3) Callback takes place, passing widget with keyboard focus. My other option is to have a Fl_menu keyboard shortcut that will perform a callback passing the whole window and all its members, and then I will determine which Fl_input has keyboard focus from 'this' and perform the appropriate function. But I can't see a Fl_Input public function that returns whether not the widget has keyboard focus. Hope this makes sense. Thanks for the help/advice! _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

