Re: XForms: Binding keystrokes to main window

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 1 Jul 98 13:08:47 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Cannot set a callback for the main window:
> In fl_set_object_shortcut [objects.c 1057] setting shortcut for inactive obj
>
> Any ideas on how to set a callback on an inactive object?

Why not create a button and attach a shortcut to it? If necessary,
you can create "hidden" button that only serves to catch the
shortcuts. Then just hang a callback off the button.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/