GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XUTF8RESETIC (3)

NAME

XmbResetIC, XwcResetIC, Xutf8ResetIC - reset the state of an input context

CONTENTS

Syntax
Arguments
Description

SYNTAX

char *XmbResetIC(XIC ic);
wchar_t *XwcResetIC(XIC ic);
char *Xutf8ResetIC(XIC ic);

ARGUMENTS

ic Specifies the input context.

DESCRIPTION

When XNResetState is set to XIMInitialState, XmbResetIC, XwcResetIC and Xutf8ResetIC reset an input context to its initial state; when XNResetState is set to XIMPreserveState, the current input context state is preserved. In both cases, any input pending on that context is deleted. The input method is required to clear the preedit area, if any, and update the status accordingly. Calling XmbResetIC, XwcResetIC or Xutf8ResetIC does not change the focus.

The return value of XmbResetIC is its current preedit string as a multibyte string. The return value of XwcResetIC is its current preedit string as a wide character string. The return value of Xutf8ResetIC is its current preedit string as an UTF-8 string. If there is any preedit text drawn or visible to the user, then these procedures must return a non-NULL string. If there is no visible preedit text, then it is input method implementation-dependent whether these procedures return a non-NULL string or NULL.

The client should free the returned string by calling XFree.

The function Xutf8ResetIC is an extension introduced by The XFree86 Project, Inc. in their 4.0.2 release. Its presence is indicated by the macro X_HAVE_UTF8_STRING.

SEE ALSO

XCreateIC(3), XOpenIM(3), XSetICFocus(3), XSetICValues(3)
Xlib - C Language X Interface
Search for    or go to Top of page |  Section 3 |  Main Index


X Version 11 XMBRESETIC (3) libX11 1.6.3

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.