*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmImRegister (3)              
Title
Content
Arch
Section
 

Contents


 XmImRegister(library call)                       XmImRegister(library call)




 NAME    [Toc]    [Back]
      XmImRegister - An input manager function that registers a widget with
      an input manager

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/XmIm.h>
      void XmImRegister(
      Widget widget,
      unsigned int reserved);

 DESCRIPTION    [Toc]    [Back]
      XmImRegister 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 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 an input method cannot be opened in the current locale,
      XLookupString provides input processing.

      The application is responsible for unregistering a widget by calling
      XmImUnregister.

      Note that the Text, TextField, and List widgets already call the
      XmImRegister function internally. You should not call this function
      for these widgets before calling XmImUnregister first.

      widget    Specifies the ID of the widget to be registered.

      reserved  This argument is not used in the current release of Motif.
                The value should always be 0 (zero).

 RELATED    [Toc]    [Back]
      XmImGetXIM(3), XmImMbLookupString(3), and XmImUnregister(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmImSetFocusValues HP-UX An input manager function that notifies an input manager that a widget has received input focus and updates th
XmImVaSetFocusValues HP-UX An input manager function that notifies an input manager that a widget has received input focus and updates th
XmImSetXIC HP-UX An input manager function that registers an existing XIC with a widget
XmImUnregister HP-UX An input manager function that removes a widget from association with its input manager
XmImUnsetFocus HP-UX An input manager function that notifies an input method that a widget has lost input focus
XmImGetXIM HP-UX An input manager function that retrieves the input method associated with a specified widget
XmImCloseXIM HP-UX An input manager function that releases the input method associated with a specified widget
XmImMbResetIC HP-UX An input manager function that resets the input context for a widget
XmImGetXIC HP-UX An input manager function that obtains an XIC for a widget
XmImMbLookupString HP-UX An input manager function that retrieves a composed string from an input method
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service