Next Previous Contents

122. SLang_create_keymap

Synopsis

Create a new keymap

Usage

SLKeyMap_List_Type *SLang_create_keymap (name, km)

     char *name;
     SLKeyMap_List_Type *km;
Description

SLang_create_keymap creates a new keymap called name by copying the key definitions from the keymap km. If km is NULL, the newly created keymap will be empty and it is up to the calling routine to initialize it via the SLang_define_key and SLkm_define_keysym functions. SLang_create_keymap returns a pointer to the new keymap, or NULL upon failure.

See Also

SLang_define_key, SLkm_define_keysym


Next Previous Contents