[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

IMTextStart Callback Subroutine

Purpose

Notifies the application program of the length of the pre-editing space.

Syntax


int IMTextStart( IM Space UData)
IMObject IM;
int *Space;
caddr_t UData;

Description

The IMTextStart subroutine is called by the input method when the pre-editing is started, but prior to calling the IMTextDraw callback subroutine. This subroutine notifies the input method of the length, in terms of bytes, of pre-editing space. It sets the length of the available space (>=0) on the display to the integer pointed to by the Space parameter. A value of -1 indicates that the pre-editing space is dynamic and has no limit.

This subroutine is provided by applications that use input methods.

Parameters

IM Indicates the input method instance.
Space Maximum length of pre-editing string.
UData An argument passed by the IMCreate subroutine.

Related Information

The IMCreate (IMCreate Subroutine) subroutine, IMTextDraw (IMTextDraw Callback Subroutine) subroutine.

Input Methods, Using Callbacks, and National Language Support Overview in AIX 5L Version 5.2 National Language Support Guide and Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]