MirBSD manpage: 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 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

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