XSupportsLocale, XSetLocaleModifiers - determine locale
       support and configure locale modifiers


SYNTAX

       Bool XSupportsLocale()

       char *XSetLocaleModifiers(modifier_list)
             char *modifier_list;


ARGUMENTS

       modifier_list
                 Specifies the modifiers.


DESCRIPTION

       The XSupportsLocale function returns True if Xlib func-
       tions are capable of operating under the current locale.
       If it returns False, Xlib locale-dependent functions for
       which the XLocaleNotSupported return status is defined
       will return XLocaleNotSupported.  Other Xlib locale-depen-
       dent routines will operate in the ``C'' locale.

       The XSetLocaleModifiers function sets the X modifiers for
       the current locale setting.  The modifier_list argument is
       a null-terminated string of the form
       ``{@category=value}'', that is, having zero or more con-
       catenated ``@category=value'' entries, where category is a
       category name and value is the (possibly empty) setting
       for that category.  The values are encoded in the current
       locale.  Category names are restricted to the POSIX
       Portable Filename Character Set.

       The local host X locale modifiers announcer (on POSIX-com-
       pliant systems, the XMODIFIERS environment variable) is
       appended to the modifier_list to provide default values on
       the local host.  If a given category appears more than
       once in the list, the first setting in the list is used.
       If a given category is not included in the full modifier
       list, the category is set to an implementation-dependent
       default for the current locale.  An empty value for a cat-
       egory explicitly specifies the implementation-dependent
       default.

       If the function is successful, it returns a pointer to a
       string.  The contents of the string are such that a subse-
       quent call with that string (in the same locale) will
       restore the modifiers to the same settings.  If modi-
       fier_list is a NULL pointer, XSetLocaleModifiers also
       returns a pointer to such a string, and the current locale
       modifiers are not changed.

       If invalid values are given for one or more modifier cate-
       gories supported by the locale, a NULL pointer is
       locale may use multiple input methods, switching input
       method under user control.  The modifier may specify the
       initial input method in effect or an ordered list of input
       methods.  Multiple input methods may be specified in a
       single im value string in an implementation-dependent man-
       ner.

       The returned modifiers string is owned by Xlib and should
       not be modified or freed by the client.  It may be freed
       by Xlib after the current locale or modifiers are changed.
       Until freed, it will not be modified by Xlib.


SEE ALSO

       Xlib - C Language X Interface



X Version 11               Release 6.4                          1