Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XtCreateApplicationContext(3)	  XT FUNCTIONS	   XtCreateApplicationContext(3)

NAME
     XtCreateApplicationContext,     XtDestroyApplicationContext,    XtWidgetTo-
     ApplicationContext, XtToolkitInitialize - create, destroy,  and  obtain  an
     application context

SYNTAX
     #include <X11/Intrinsic.h>

     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 that you want the application context for.

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

     The XtDestroyApplicationContext function destroys the specified application
     context as soon as it is safe to do so.  If called from with an event  dis-
     patch (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

X Version 11			   libXt 1.3.1	   XtCreateApplicationContext(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XtWidgetToApplicationContext&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help