'\" t .\" ImSetFoc.sgm /main/10 1996/09/08 20:48:08 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 "XmImSetFocusValues" 3 .SH "NAME" \fBXmImSetFocusValues\fP \(em An input manager function that notifies an input manager that a widget has received input focus and updates the input context attributes "XmImSetFocusValues" "input manager functions" "XmImSetFocusValues" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmImSetFocusValues\fP\fR( \fBWidget \fBwidget\fR\fR, \fBArgList \fBarglist\fR\fR, \fBCardinal \fBargcount\fR\fR, \fB\fR); .fi .SH "DESCRIPTION" .PP \fBXmImSetFocusValues\fP notifies the input manager that the specified widget has received input focus\&. This function also updates the attributes of the input context associated with the widget\&. The focus window for the XIC is set to the window of the widget\&. The \fIarglist\fP argument is a list of attribute/value pairs for the input context\&. This function passes the attributes and values to \fBXICSetValues\fP\&. The caller of this routine should pass in only those values that have changed since the last call to any of these functions; \fBXmImSetValues\fP, \fBXmImSetFocusValues\fP, \fBXmImVaSetValues\fP, or \fBXmImVaSetFocusValues\fP\&. See the description in the \fBXmImSetValues\fP(3) reference page for a list of associated resources\&. .PP If the previous parameters for the widget\&'s XIC do not allow the previously registered XIC to be reused, that XIC will be unregistered, and a new one will be created and registered with the widget\&. Note that sharing of data is preserved\&. .IP "\fIwidget\fP" 10 Specifies the ID of the widget registered with the input manager\&. .IP "\fIarglist\fP" 10 Specifies the list of attribute/value pairs to be passed to \fBXICSetValues\fP\&. See the description in the \fBXmImSetValues\fP(3) man page for a description of resources\&. .IP "\fIargcount\fP" 10 Specifies the number of attribute/values pairs in the argument list (\fIarglist)\fP .PP Note that the Text and TextField widgets call the \fBXmImSetFocusValues\fP function when they receive focus\&. Therefore, further calls to the \fBXmImSetFocusValues\fP function for these widgets are unnecessary\&. .SH "RELATED" .PP \fBXmImSetValues\fP(3), \fBXmImVaSetFocusValues\fP(3), and \fBXmImVaSetValues\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:24