libxkbcommon 1.10.0
Library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
|
Functions | |
XKB_EXPORT int | xkb_context::xkb_context_include_path_append (struct xkb_context *context, const char *path) |
XKB_EXPORT int | xkb_context::xkb_context_include_path_append_default (struct xkb_context *context) |
XKB_EXPORT int | xkb_context::xkb_context_include_path_reset_defaults (struct xkb_context *context) |
XKB_EXPORT void | xkb_context::xkb_context_include_path_clear (struct xkb_context *context) |
XKB_EXPORT unsigned int | xkb_context::xkb_context_num_include_paths (struct xkb_context *context) |
XKB_EXPORT const char * | xkb_context::xkb_context_include_path_get (struct xkb_context *context, unsigned int index) |
Manipulating the include paths in a context.
The include paths are the file-system paths that are searched when an include statement is encountered during keymap compilation.
The default include paths are, in that lookup order:
XKB_EXPORT int xkb_context_include_path_append | ( | struct xkb_context * | context, |
const char * | path ) |
Append a new entry to the context's include path.
XKB_EXPORT int xkb_context_include_path_append_default | ( | struct xkb_context * | context | ) |
Append the default include paths to the context's include path.
XKB_EXPORT int xkb_context_include_path_reset_defaults | ( | struct xkb_context * | context | ) |
Reset the context's include path to the default.
Removes all entries from the context's include path, and inserts the default paths.
XKB_EXPORT const char * xkb_context_include_path_get | ( | struct xkb_context * | context, |
unsigned int | index ) |
Get a specific include path from the context's include path.