'\" t ...\" ImSetXIC.sgm /main/8 1996/09/08 20:48:25 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 "XmImSetXIC" "library call" .SH "NAME" \fBXmImSetXIC\fP \(em An input manager function that registers an existing XIC with a widget .iX "XmImSetXIC" .iX "input manager functions" "XmImSetXIC" .SH "SYNOPSIS" .PP .nf #include \fBXIC \fBXmImSetXIC\fP\fR( \fBWidget \fBwidget\fR\fR, \fBXIC \fBxic\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmImSetXIC\fP registers the specified X Input Context (XIC) with \fIwidget\fP\&. Any existing XIC registered for \fIwidget\fP is unregistered\&. The new XIC registered for \fIwidget\fP is returned\&. .PP If \fIxic\fP was not created by \fBXmImGetXIC\fP or \fBXmImRegister\fP, it will not be subject to closing activities when it has no widgets registered with it\&. .IP "\fIwidget\fP" 10 Specifies the ID of a widget for which a new Input Context is to be registered\&. .IP "\fIxic\fP" 10 Specifies the Input Context to be registered with the widget\&. If \fIxic\fP is NULL, the function returns the current \fBXIC\fP used by \fIwidget\fP\&. .SH "RETURN" .PP Returns the new XIC registered for \fIwidget\fP\&. The application is responsible for freeing the returned XIC\&. To free the XIC, call \fBXmImFreeXIC\fP\&. .SH "RELATED" .PP \fBXmImGetXIC\fP(3) and \fBXmImFreeXIC\fP(3)\&. ...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:25