summaryrefslogtreecommitdiff
path: root/man/XtSetLanguageProc.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XtSetLanguageProc.man')
-rw-r--r--man/XtSetLanguageProc.man28
1 files changed, 14 insertions, 14 deletions
diff --git a/man/XtSetLanguageProc.man b/man/XtSetLanguageProc.man
index 5212c2f..b9e4e17 100644
--- a/man/XtSetLanguageProc.man
+++ b/man/XtSetLanguageProc.man
@@ -75,52 +75,52 @@ Specifies the language procedure, or NULL.
Specifies additional client data to be passed to the language procedure
when it is called.
.SH DESCRIPTION
-.ZN XtSetLanguageProc
+.BR XtSetLanguageProc
sets the language procedure that will be called from
-.ZN XtDisplayInitialize
+.BR XtDisplayInitialize
for all subsequent Displays initialized in the specified application
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
\fIproc\fP is NULL a default language procedure is registered.
-.ZN XtSetLanguageProc
+.BR 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
-.ZN XtSetLanguageProc ,
+.BR XtSetLanguageProc ,
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
this is done by calling
-.ZN setlocale (
-.ZN LC_ALL ,
+.BR setlocale (
+.BR LC_ALL ,
language ). If an error is encountered a warning message is issued with
-.ZN XtWarning .
+.BR XtWarning .
.IP \(bu 5
Calls
-.ZN XSupportsLocale
+.BR XSupportsLocale
to verify that the current locale is supported. If the locale is not
supported, a warning message is issued with
-.ZN XtWarning
+.BR XtWarning
and the locale is set to ``C''.
.IP \(bu 5
Calls
-.ZN XSetLocaleModifiers
+.BR XSetLocaleModifiers
specifying the empty string.
.IP \(bu 5
Returns the value of the current locale. On ANSI C-based systems this
is the return value from a final call to
-.ZN setlocale (
-.ZN LC_ALL ,
+.BR setlocale (
+.BR LC_ALL ,
NULL ).
.LP
A client wishing to use this mechanism to establish locale can do so
by calling
-.ZN XtSetLanguageProc
+.BR XtSetLanguageProc
prior to
-.ZN XtDisplayInitialize.
+.BR XtDisplayInitialize.
.SH "SEE ALSO"
.br
\fI\*(xT\fP