


XtGetGC(3Xt)							 XtGetGC(3Xt)
X11R5									X11R5



NAME
  XtGetGC, XtReleaseGC - obtain	and destroy a sharable GC

SYNTAX
  GC XtGetGC(_w,	_v_a_l_u_e__m_a_s_k, _v_a_l_u_e_s)
	Widget _w;
	XtGCMask _v_a_l_u_e__m_a_s_k;
	XGCValues *_v_a_l_u_e_s;

  void XtReleaseGC(_w, _g_c)
	Widget _w;
	GC _g_c;

ARGUMENTS

  _g_c	    Specifies the GC to	be deallocated.

  _v_a_l_u_e_s    Specifies the actual values	for this GC.

  _v_a_l_u_e__m_a_s_k
	    Specifies which fields of the values are specified.

  _w	    Specifies the widget.

DESCRIPTION
  The _X_t_G_e_t_G_C function returns a sharable, read-only GC.  The parameters to
  this function	are the	same as	those for _X_C_r_e_a_t_e_G_C except that	a widget is
  passed instead of a display.	_X_t_G_e_t_G_C	shares only GCs	in which all values
  in the GC returned by	_X_C_r_e_a_t_e_G_C are the same.	 In particular,	it does	not
  use the value_mask provided to determine which fields	of the GC a widget
  considers relevant.  The value_mask is used only to tell the server which
  fields should	be filled in with widget data and which	it should fill in
  with default values.	For further information	about value_mask and values,
  see _X_C_r_e_a_t_e_G_C	in the _X_l_i_b - _C	_L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e.

  The _X_t_R_e_l_e_a_s_e_G_C function deallocate the specified shared GC.

SEE ALSO
  _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	delim off


















