XSetICValues - Online Linux Manual PageSection : 3
Updated : libX11 1.8.4
Source : X Version 11
Note : XLIB FUNCTIONS

NAMEXSetICValues, XGetICValues − set and obtain XIC values

SYNTAXchar * XSetICValues ( XIC ic, ... ); char * XGetICValues ( XIC ic, ... );

ARGUMENTSic Specifies the input context. ... Specifies the variable length argument list to set or get XIC values.

DESCRIPTIONThe XSetICValues function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be set. An argument might not be set for any of the following reasons: • The argument is read-only (for example, XNFilterEvents). • The argument name is not recognized. • An implementation-dependent error occurs. Each value to be set must be an appropriate datum, matching the data type imposed by the semantics of the argument. The XSetICValues can generate BadAtom, BadColor, BadCursor, BadPixmap, and BadWindow errors. The XGetICValues function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be obtained. An argument could not be obtained for any of the following reasons: • The argument name is not recognized. • The input method encountered an implementation-dependent error. Each IC attribute value argument (following a name) must point to a location where the IC value is to be stored. That is, if the IC value is of type T, the argument must be of type T*. If T itself is a pointer type, then XGetICValues allocates memory to store the actual data, and the client is responsible for freeing this data by calling XFree with the returned pointer. The exception to this rule is for an IC value of type XNVaNestedList (for preedit and status attributes). In this case, the argument must also be of type XVaNestedList. Then, the rule of changing type T to T* and freeing the allocated data applies to each element of the nested list.

DIAGNOSTICSBadAtom  A value for an Atom argument does not name a defined Atom. BadColor  A value for a Colormap argument does not name a defined Colormap. BadCursor  A value for a Cursor argument does not name a defined Cursor. BadPixmap  A value for a Pixmap argument does not name a defined Pixmap. BadWindow  A value for a Window argument does not name a defined Window.

SEE ALSOXCreateIC(3), XOpenIM(3), XSetICFocus(3), XmbResetIC(3)
Xlib − C Language X Interface
0
Johanes Gumabo
Data Size   :   8,711 byte
man-XSetICValues.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 180,544
Visitor ID   :     :  
Visitor IP   :   18.119.124.24   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.