from small one page howto to huge articles all in one place
 

search text in:





Poll
Which filesystem do you use?






poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

196713

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252324

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

141294

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





XSetICValues

Section: XLIB FUNCTIONS (3)
Updated: libX11 1.6.4
Index Return to Main Contents
 

NAME

XSetICValues, XGetICValues - set and obtain XIC values  

SYNTAX

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

ARGUMENTS

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

DESCRIPTION

The 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.  

DIAGNOSTICS

BadAtom
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 ALSO

XCreateIC(3), XOpenIM(3), XSetICFocus(3), XmbResetIC(3)
Xlib - C Language X Interface


 

Index

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
DIAGNOSTICS
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 12.7 ms