summaryrefslogtreecommitdiff
path: root/man/XtSetLanguageProc.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XtSetLanguageProc.man')
-rw-r--r--man/XtSetLanguageProc.man21
1 files changed, 14 insertions, 7 deletions
diff --git a/man/XtSetLanguageProc.man b/man/XtSetLanguageProc.man
index 92de089..d82aecb 100644
--- a/man/XtSetLanguageProc.man
+++ b/man/XtSetLanguageProc.man
@@ -58,12 +58,15 @@ when it is called.
sets the language procedure that will be called from
.B XtDisplayInitialize
for all subsequent Displays initialized in the specified application
-context. If \fIapp_context\fP is NULL, the specified language procedure
+context.
+If \fIapp_context\fP 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
+including any future application contexts that may be created.
+If
\fIproc\fP is NULL a default language procedure is registered.
.B XtSetLanguageProc
-returns the previously registered language procedure. If a language
+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
.BR XtSetLanguageProc ,
@@ -71,16 +74,19 @@ it will cause the default language procedure to be registered.
.LP
The default language procedure does the following:
.IP \(bu 5
-Sets the locale according to the environment. On ANSI C-based systems
+Sets the locale according to the environment.
+On ANSI C-based systems
this is done by calling
.BR setlocale (
.BR LC_ALL ,
-language ). If an error is encountered a warning message is issued with
+language ).
+If an error is encountered a warning message is issued with
.BR XtWarning .
.IP \(bu 5
Calls
.B XSupportsLocale
-to verify that the current locale is supported. If the locale is not
+to verify that the current locale is supported.
+If the locale is not
supported, a warning message is issued with
.B XtWarning
and the locale is set to ``C''.
@@ -89,7 +95,8 @@ Calls
.B XSetLocaleModifiers
specifying the empty string.
.IP \(bu 5
-Returns the value of the current locale. On ANSI C-based systems this
+Returns the value of the current locale.
+On ANSI C-based systems this
is the return value from a final call to
.BR setlocale (
.BR LC_ALL ,