XmImGetXIM(3)

XmImGetXIM3

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

Usage

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

Overview

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 manager

Return

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

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.