[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 1

IMTextStart Callback Subroutine

Purpose

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

Syntax

int IMTextStart(IMSpaceUData)
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 subroutine, IMTextDraw subroutine.

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

Understanding Callbacks in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Contents | Glossary | Home | Search ]