![]() |
![]()
| ![]() |
![]()
NAMEXkbCopyKeyTypes - Copy more than one XkbKeyTypeRec structure SYNOPSISStatus XkbCopyKeyTypes (XkbKeyTypePtr from, XkbKeyTypePtr into, int num_types); ARGUMENTSDESCRIPTIONXkbCopyKeyTypes copies num_types XkbKeyTypeRec structures from the array specified by from into the array specified by into. It is intended for copying between, rather than within, keyboard descriptions, so it doesn't check for overlaps. The same rules that apply to the from and into parameters in XkbCopyKeyType apply to each entry of the from and into arrays of XkbCopyKeyTypes. If any allocation errors occur while copying from to into, XkbCopyKeyTypes returns BadAlloc. Otherwise, XkbCopyKeyTypes copies from to into and returns Success. RETURN VALUES
STRUCTURESKey types are used to determine the shift level of a key given the current state of the keyboard. The set of all possible key types for the Xkb keyboard description are held in the types field of the client map, whose total size is stored in size_types, and whose total number of valid entries is stored in num_types. Key types are defined using the following structure: typedef struct { /* Key Type */ DIAGNOSTICS
SEE ALSOXkbCopyKeyType(3)
|