XtSetLanguageProc(3)



XtSetLanguageProc

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XtSetLanguageProc − set the language procedure

SYNTAX

Widget XtSetLanguageProc(XtAppContext app_context, XtLanguageProc proc, XtPointer client_data);

ARGUMENTS

app_context

Specifies the application context in which the language procedure is to be used, or NULL.

proc

Specifies the language procedure, or NULL.

client_data

Specifies additional client data to be passed to the language procedure when it is called.

DESCRIPTION

XtSetLanguageProc sets the language procedure that will be called from XtDisplayInitialize for all subsequent Displays initialized in the specified application context. If app_context is NULL, the specified language procedure is registered in all application contexts created by the calling process, including any future application contexts that may be created. If proc is NULL a default language procedure is registered. XtSetLanguageProc returns the previously registered language procedure. If a language procedure has not yet been registered, the return value is unspecified but if this return value is used in a subsequent call to XtSetLanguageProc, it will cause the default language procedure to be registered.

The default language procedure does the following:

Sets the locale according to the environment. On ANSI C-based systems this is done by calling setlocale( LC_ALL, language ). If an error is encountered a warning message is issued with XtWarning.

Calls XSupportsLocale to verify that the current locale is supported. If the locale is not supported, a warning message is issued with XtWarning and the locale is set to ‘‘C’’.

Calls XSetLocaleModifiers specifying the empty string.

Returns the value of the current locale. On ANSI C-based systems this is the return value from a final call to setlocale( LC_ALL, NULL ).

A client wishing to use this mechanism to establish locale can do so by calling XtSetLanguageProc prior to XtDisplayInitialize.

SEE ALSO

X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface



More Linux Commands

manpages/sane-coolscan.5.html
sane-coolscan(5) - SANE backend for Nikon film-scanners.....
The sane-coolscan library implements a SANE backend that provides the interface to the following Nikon Coolscan Film scanners: Nikon LS20, LS30, LS1000, LS2000.

manpages/XResourceManagerString.3.html
XResourceManagerString(3) - obtain server resource propertie
The XResourceManagerString function returns the RESOURCE_MANAGER property from the servers root window of screen zero, which was returned when the connection wa

manpages/asn1_read_tag.3.html
asn1_read_tag(3) - Returns the TAG of one element inside a s
Returns the TAG and the CLASS of one element inside a structure. CLASS can have one of these constants: ASN1_CLASS_APPLICATION, ASN1_CLASS_UNIVERSAL, ASN1_CLASS

manpages/DefaultGC.3.html
DefaultGC(3) - Display macros and functions - Linux man page
The AllPlanes macro returns a value with all bits set to 1 suitable for use in a plane argument to a procedure. The BlackPixel macro returns the black pixel val

manpages/data_ahead.3form.html
data_ahead(3form) - test for off-screen data in given forms
The function data_ahead tests whether there is off-screen data ahead in the given form. It returns TRUE 411toppm(1) or FALSE (0). The function data_behind tests

manpages/cryptdir.1.html
cryptdir(1) - encrypt/decrypt all files in a directory......
cryptdir.1 - cryptdir encrypts all files in the current directory (or the given directory if one is provided as an argument). When called as decryptdir (i.e., s

manpages/gnutls_x509_crq_get_attribute_data.3.html
gnutls_x509_crq_get_attribute_data(3) - API function........
This function will return the requested attribute data in the certificate request. The attribute data will be stored as a string in the provided buffer. Use gnu

manpages/DBM_Filter::compress.3pm.html
DBM_Filter::compress(3pm) - filter for DBM_Filter (ManPage)
This DBM filter will compress all data before it is written to the database and uncompressed it on reading. A fatal error will be thrown if the Compress::Zlib m

manpages/XRemoveFromSaveSet.3.html
XRemoveFromSaveSet(3) - change a client's save set (ManPage)
XRemoveFromSaveSet.3 - Depending on the specified mode, XChangeSaveSet either inserts or deletes the specified window from the clients save-set. The specified w

manpages/del_curterm_sp.3ncurses.html
del_curterm_sp(3ncurses) - curses screen-pointer extension
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/gamma4scanimage.1.html
gamma4scanimage(1) - create a gamma table for scanimage.....
The tool gamma4scanimage creates a gamma table in the format expected by scanimage. You can define a gamma, a shadow and a highlight value. You also can specify

manpages/XFontsOfFontSet.3.html
XFontsOfFontSet(3) - obtain fontset information (Man Page)
The XFontsOfFontSet function returns a list of one or more XFontStructs and font names for the fonts used by the Xmb and Xwc layers for the given font set. A li





We can't live, work or learn in freedom unless the software we use is free.