Blame doc/man/man3/XmImRegister.3

Packit b099d7
'\" t
Packit b099d7
...\" ImRegist.sgm /main/9 1996/09/08 20:47:59 rws $
Packit b099d7
.de P!
Packit b099d7
.fl
Packit b099d7
\!!1 setgray
Packit b099d7
.fl
Packit b099d7
\\&.\"
Packit b099d7
.fl
Packit b099d7
\!!0 setgray
Packit b099d7
.fl			\" force out current output buffer
Packit b099d7
\!!save /psv exch def currentpoint translate 0 0 moveto
Packit b099d7
\!!/showpage{}def
Packit b099d7
.fl			\" prolog
Packit b099d7
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
Packit b099d7
\!!psv restore
Packit b099d7
.
Packit b099d7
.de pF
Packit b099d7
.ie     ?\\*(f1?? .ds f1 \\n(.f
Packit b099d7
.el .ie ?\\*(f2?? .ds f2 \\n(.f
Packit b099d7
.el .ie ?\\*(f3?? .ds f3 \\n(.f
Packit b099d7
.el .ie ?\\*(f4?? .ds f4 \\n(.f
Packit b099d7
.el .tm ? font overflow
Packit b099d7
.ft \\$1
Packit b099d7
..
Packit b099d7
.de fP
Packit b099d7
.ie     !?\\*(f4?? \{\
Packit b099d7
.	ft \\*(f4
Packit b099d7
.	ds f4\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f3?? \{\
Packit b099d7
.	ft \\*(f3
Packit b099d7
.	ds f3\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f2?? \{\
Packit b099d7
.	ft \\*(f2
Packit b099d7
.	ds f2\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f1?? \{\
Packit b099d7
.	ft \\*(f1
Packit b099d7
.	ds f1\"
Packit b099d7
'	br \}
Packit b099d7
.el .tm ? font underflow
Packit b099d7
..
Packit b099d7
.ds f1\"
Packit b099d7
.ds f2\"
Packit b099d7
.ds f3\"
Packit b099d7
.ds f4\"
Packit b099d7
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
Packit b099d7
.TH "XmImRegister" "library call"
Packit b099d7
.SH "NAME"
Packit b099d7
\fBXmImRegister\fP \(em An input manager function that registers a widget with an input manager
Packit b099d7
.iX "XmImRegister"
Packit b099d7
.iX "input manager functions" "XmImRegister"
Packit b099d7
.SH "SYNOPSIS"
Packit b099d7
.PP
Packit b099d7
.nf
Packit b099d7
#include <Xm/XmIm\&.h>
Packit b099d7
\fBvoid \fBXmImRegister\fP\fR(
Packit b099d7
\fBWidget \fBwidget\fR\fR,
Packit b099d7
\fBunsigned int \fBreserved\fR\fR);
Packit b099d7
.fi
Packit b099d7
.SH "DESCRIPTION"
Packit b099d7
.PP
Packit b099d7
\fBXmImRegister\fP registers a widget with its input manager\&.
Packit b099d7
This adds the specified widget to a list of widgets that
Packit b099d7
are supported by the input manager for an input method\&.
Packit b099d7
If an input method has not been opened
Packit b099d7
by a previous call to \fBXmImRegister\fP, the first time this
Packit b099d7
routine is called it opens an input method using the
Packit b099d7
\fBXmNinputMethod\fP resource for the VendorShell\&. If the
Packit b099d7
\fBXmNinputMethod\fP is NULL, an input method is opened using the
Packit b099d7
current locale\&.
Packit b099d7
.PP
Packit b099d7
If an input method cannot be opened in
Packit b099d7
the current locale, \fBXLookupString\fP provides input processing\&.
Packit b099d7
.PP
Packit b099d7
The application is responsible for unregistering a widget by calling
Packit b099d7
\fBXmImUnregister\fP\&.
Packit b099d7
.PP
Packit b099d7
Note that the Text, TextField, and List widgets already call the
Packit b099d7
\fBXmImRegister\fP function internally\&. You should not call this function for
Packit b099d7
these widgets before calling \fBXmImUnregister\fP first\&.
Packit b099d7
.IP "\fIwidget\fP" 10
Packit b099d7
Specifies the ID of the widget to be registered\&.
Packit b099d7
.IP "\fIreserved\fP" 10
Packit b099d7
This argument is not used in the current release of Motif\&.
Packit b099d7
The value should always be 0 (zero)\&.
Packit b099d7
.SH "RELATED"
Packit b099d7
.PP
Packit b099d7
\fBXmImGetXIM\fP(3),
Packit b099d7
\fBXmImMbLookupString\fP(3),
Packit b099d7
and \fBXmImUnregister\fP(3)\&.
Packit b099d7
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:24