Amiga Unix — 68040 · 68060

Manual pages › X Window and screen libraries (3X)

XtCreACon(3X)

create, destroy, and obtain an application context

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

XtCreateApplicationContext, XtDestroyApplicationContext, XtWidgetToApplicationContext, XtToolkitInitialize - 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

app_context

Specifies the application context.

w         Specifies the widget .

DESCRIPTION

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

The XtDestroyApplicationContext function destroys the specified application context as soon as it is safe to do so. If called from with an event dispatch (for example, a callback procedure), XtDestroyApplicationContext 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 undefined.

SEE ALSO

     XtDisplayInitialize(3Xt)
     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XWIN 3.0               Last change: 9/1/88                 .ie t

XWIN 3.0               Last change: 9/1/88                 .ie t