manpagez: man pages & more
man XmImGetXIM(3)
Home | html | info | man
XmImGetXIM(library call)                              XmImGetXIM(library call)




NAME

       XmImGetXIM -- An input manager function that retrieves the input method
       associated with a specified widget


SYNOPSIS

       #include <Xm/XmIm.h>
       XIM XmImGetXIM(
       Widget widget);


DESCRIPTION

       XmImGetXIM retrieves the XIM  data  structure  representing  the  input
       method  that  the input manager has opened for the specified widget. If
       an input method has not been opened by a previous call to XmImRegister,
       the  first  time  this routine is called it opens an input method using
       the XmNinputMethod resource for the VendorShell. If the  XmNinputMethod
       is  NULL,  an  input  method is opened using the current locale.  If it
       cannot open an input method, the function returns NULL.

       widget    Specifies the ID of a widget registered with the  input  man-
                 ager


RETURN

       Returns  the  input  method  for the current locale associated with the
       specified widget's input manager; otherwise, returns NULL.  The  appli-
       cation  is responsible for freeing the returned XIM by calling XmImClo-
       seXIM.


RELATED

       XmImCloseXIM(3), XmImGetXIM(3), XmImMbLookupString(3),  and  XmImRegis-
       ter(3).



                                                      XmImGetXIM(library call)

openMotif 2.3.1 - Generated Sun Nov 30 18:11:40 CST 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.