Cheap domain, buy domain name registration & web page ranking services
  

 Home

Table of Contents

Name

XCreateIC, XDestroyIC, XIMOfIC - create, destroy, and obtain the input method of an input context

Syntax

XIC XCreateIC(XIM im, ...);
void XDestroyIC(XIC ic);
XIM XIMOfIC(XIC ic);

Arguments

ic
Specifies the input context.
im
Specifies the input method. ...
  • Specifies the variable length argument list to set XIC values.
  • Description

    The XCreateIC function creates a context within the specified input method.

    Some of the arguments are mandatory at creation time, and the input context will not be created if those arguments are not provided. The mandatory arguments are the input style and the set of text callbacks (if the input style selected requires callbacks). All other input context values can be set later.

    XCreateIC returns a NULL value if no input context could be created. A NULL value could be returned for any of the following reasons:

    • A required argument was not set.
    • A read-only argument was set (for example, XNFilterEvents).
    • The argument name is not recognized.
    • The input method encountered an input method implementation-dependent error.

    The XCreateIC can generate BadAtom, BadColor, BadPixmap, and BadWindow errors.

    XDestroyIC destroys the specified input context.

    The XIMOfIC function returns the input method associated with the specified input context.

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

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


    Table of Contents

     

     

     

     

    Buy domain name by 895cheap-domain.com |  Web page promotion & optimization 

    Disclaimers: This document is provided as free service for the benefits of Active-Venture.com's web site hosting customers only.

     

     
    Quotes: The tree which moves some to tears of joy is in the eyes of others only a green thing that stands in the way. Some see nature all ridicule and deformity - and some scarce see nature at all. But to the eyes of the man of imagination, nature is imagination itself.Genius: To know without having learned; to draw just conclusions from Anonymous premises; to discern the soul of things.A specialist is one who knows everything about something and nothing about anything else.