Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XCreIC(XS) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XOpenIM(XS)

XSetICFocus(XS)

XSetICValues(XS)

XmbResetIC(XS)


 XCreateIC(XS)     X Version 11 (Release 5) 6 January 1993      XCreateIC(XS)


 Name

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

 Syntax


    XIC XCreateIC(im, ...)
          XIM im;

    void XDestroyIC(ic)
          XIC ic;

    XIM XIMOfIC(ic)
          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 con-
    text will not be created if they are not provided.  Those 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 speci-
    fied 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 Pix-
                   map.

    ``BadWindow''  A value for a Window argument does not name a defined Win-
                   dow.

 See also

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


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026