XtDestroyApplicationContext (3)
Leading comments
Copyright 1993 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and thi...
NAME
XtCreateApplicationContext, XtDestroyApplicationContext, XtWidgetToApplicationContext, XtToolkitInitialize - create, destroy, and obtain an application contextSYNTAX
- 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 application 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 XtToolkitInitialize function initializes the Intrinsics internals. If XtToolkitInitialize was previously called it returns immediately.
SEE ALSO
XtDisplayInitialize(3)X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface