MirOS Manual: XtCreateApplicationContext(3), XtDestroyApplicationContext(3), XtToolkitInitialize(3), XtWidgetToApplicationContext(3)


XtCreateApplicationContext(XTtFUNCXtCreateApplicationContext(3Xt)

NAME

     XtCreateApplicationContext, XtDestroyApplicationContext,
     XtWidgetToApplicationContext, XtToolkitInitialize - create,
     destroy, and obtain an application context

SYNTAX

     XtAppContext XtCreateApplicationContext(void);

     void XtDestroyApplicationContext(XtAppContext app_context);

     XtAppContext XtWidgetToApplicationContext(Widget w);

     void XtToolkitInitialize(void);

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 speci-
     fied 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 appli-
     cation context for the specified widget.

     The XtToolkitInitialize function initializes the Intrinsics
     internals. If XtToolkitInitialize was previously called it
     returns immediately.

SEE ALSO

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

XFree86                   Version 4.5.0                         1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.