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