Generic function
Sets the key-press callback for the specified gadget.
gadget-key-press-callback-setter key-press-callback gadget
=> key-press-callback
An instance of type false-or(<command>, <function>).
<collection-gadget>.
An instance of type false-or(<command>, <function>).
duim-gadgets
duim-gadgets
Sets the key-press callback for gadget. The key-press callback is the callback invoked when a key on the keyboard is pressed while the gadget has focus. They are of most use in tab controls, list controls, table controls, graph controls, and tree controls.
In Windows, a good use for the key-press callback would be to mirror the behavior of Windows Explorer, where typing a filename, or part of a filename, selects the first file in the current folder whose name matches that typed.
gadget-key-press-callback, page 567
<list-control>, page 601
<tab-control>, page 656
<table-control>, page 666
<tree-control>, page 679