Assigns Tcl procedures to keyboard letter keys.
*RegisterCtrlKeyProcedure()Assigns Tcl procedures to keyboard letter keys. |
|||||
*RegisterCtrlKeyProcedure()Assigns Tcl procedures to keyboard letter keys. |
Syntax |
*RegisterCtrlKeyProcedure(key, Tcl filename, Tcl procedure) |
||||||||||||
Arguments |
Name |
Description |
|||||||||||
key |
The keyboard letter key to be assigned to the Tcl procedure. Letters are not case sensitive. |
||||||||||||
|
Note |
The following keys are already in use and cannot be used with this preference statement:
|
|||||||||||
Tcl filename |
The full path to the Tcl file that contains the procedure. |
||||||||||||
Tcl procedure |
The name of the procedure to call when the ctrl and keyboard letter keys are pressed. Arguments for the Tcl procedure may also be included. |
||||||||||||
Example |
To assign the Tcl procedure change_layout in the file function_keys.tcl to the keyboard letter key "a" and pass in "1" as an argument for the procedure:
*Id("MotionView v8.0") *BeginDefaults() *EndDefaults() |
||||||||||||
Application |
HyperView, MotionView, HyperGraph. |
||||||||||||
Context |
|||||||||||||
See also |
|
||||||||||||