Create a new keymap
SLKeyMap_List_Type *SLang_create_keymap (name, km)
char *name;
SLKeyMap_List_Type *km;
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.
SLang_define_key, SLkm_define_keysym