


XtCreateApplicationContext(3Xt)		      XtCreateApplicationContext(3Xt)
X11R5									X11R5



NAME
  XtCreateApplicationContext, XtDestroyApplicationContext, XtWidgetToApplica-
  tionContext, XtToolkitInitialize - create, destroy, and obtain an applica-
  tion context

SYNTAX
  XtAppContext XtCreateApplicationContext()

  void XtDestroyApplicationContext(_a_p_p__c_o_n_t_e_x_t)
	XtAppContext _a_p_p__c_o_n_t_e_x_t;

  XtAppContext XtWidgetToApplicationContext(_w)
	Widget _w;

  void XtToolkitInitialize()

ARGUMENTS

  _a_p_p__c_o_n_t_e_x_t
	    Specifies the application context.

  _w	    Specifies the widget .

DESCRIPTION
  The _X_t_C_r_e_a_t_e_A_p_p_l_i_c_a_t_i_o_n_C_o_n_t_e_x_t function returns an application context,
  which	is an opaque type.  Every application must have	at least one applica-
  tion context.

  The _X_t_D_e_s_t_r_o_y_A_p_p_l_i_c_a_t_i_o_n_C_o_n_t_e_x_t 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),	_X_t_D_e_s_t_r_o_y_A_p_p_l_i_c_a_t_i_o_n_C_o_n_t_e_x_t
  does not destroy the application context until the dispatch is complete.

  The _X_t_W_i_d_g_e_t_T_o_A_p_p_l_i_c_a_t_i_o_n_C_o_n_t_e_x_t function returns the	application context
  for the specified widget.

  The semantics	of calling _X_t_T_o_o_l_k_i_t_I_n_i_t_i_a_l_i_z_e more than once are undefined.

SEE ALSO
  XtDisplayInitialize(3Xt)
  _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
















