Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtCreACon(Xt) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XtCreateApplicationContext(Xt)                     X Version 11 (Release 5)
                                                              6 January 1993


 Name

    XtCreateApplicationContext - create, destroy, and obtain an application
    context

 Syntax


    XtAppContext XtCreateApplicationContext()

    void XtDestroyApplicationContext (app_context)
    XtAppContext app_context;

    XtAppContext XtWidgetToApplicationContext (w)
    Widget w;

    void XtToolkitInitialize()


 Arguments

    appcontext
              Specifies the application context.

    w         Specifies the widget for which you want the application con-
              text.

 Description

    The XtCreateApplicationContext function returns an application context,
    which is an opaque type.  Every application must have at least one appli-
    cation context.

    The XtDestroyApplicationContext function destroys the specified applica-
    tion context as soon as it is safe to do so.  If called from with an
    event dispatch (for example, a callback procedure), XtDe-
    stroyApplicationContext does not destroy the application context until
    the dispatch is complete.

    The XtWidgetToApplicationContext function returns the application context
    for the specified widget.

    The semantics of calling XtToolkitInitialize more than once are unde-
    fined.

 See also

    XtAppInitialize(Xt) and XtDisplayInitialize(Xt)

    X Toolkit Intrinsics - C Language Interface
    Xlib - C Language X Interface


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