[ Previous | Next | Table of 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.

Parameters


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

Implementation Specifics

This subroutine is provided by applications that use input methods.

Related Information

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

Input Method Overview and National Language Support Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

Understanding Callbacks in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


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