{The S-lang C Library Reference}: SLkm_define_key

Next Previous Contents

## 118. SLkm_define_key

Synopsis

  Define a key in a keymap

Usage

  `int SLkm_define_key (char *seq, FVOID_STAR f, SLKeyMap_List_Type *km)`

Description

  `SLkm_define_key` associates the key sequence `seq` with the function pointer `f` in the keymap specified by `km`. Upon success, it returns zero, otherwise it returns a negative integer upon error.

See Also

  `SLkm_define_keysym, SLang_define_key`

Next Previous Contents