Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmImSetFocusValues(3)	    Library Functions Manual	   XmImSetFocusValues(3)

NAME
     XmImSetFocusValues -- An input manager function that notifies an input man-
     ager  that  a widget has received input focus and updates the input context
     attributes

SYNOPSIS
     #include <Xm/XmIm.h>
     void XmImSetFocusValues(
     Widget widget,
     ArgList arglist,
     Cardinal argcount,
     );

DESCRIPTION
     XmImSetFocusValues notifies the input manager that the specified widget has
     received input focus. This function also updates the attributes of the  in-
     put context associated with the widget. The focus window for the XIC is set
     to  the  window  of  the  widget.	The  arglist  argument	is a list of at-
     tribute/value pairs for the input context. This function passes the attrib-
     utes and values to XICSetValues. The caller of this routine should pass  in
     only  those  values  that	have changed since the last call to any of these
     functions; XmImSetValues,	XmImSetFocusValues,  XmImVaSetValues,  or  XmIm-
     VaSetFocusValues.	See  the  description  in the XmImSetValues(3) reference
     page for a list of associated resources.

     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.

     widget    Specifies the ID of the widget registered with the input manager.

     arglist   Specifies the list of attribute/value pairs to be passed to  XIC-
	       SetValues.  See	the description in the XmImSetValues(3) man page
	       for a description of resources.

     argcount  Specifies the number of attribute/values pairs  in  the	argument
	       list (arglist)

     Note  that the Text and TextField widgets call the XmImSetFocusValues func-
     tion when they receive focus. Therefore, further calls to the XmImSetFocus-
     Values function for these widgets are unnecessary.

RELATED
     XmImSetValues(3), XmImVaSetFocusValues(3), and XmImVaSetValues(3).

							   XmImSetFocusValues(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmImSetFocusValues&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help