


XGetDefault(3X11)					    XGetDefault(3X11)
X11R5									X11R5



NAME
  XGetDefault, XResourceManagerString -	get X program defaults

SYNTAX
  char *XGetDefault(_d_i_s_p_l_a_y, _p_r_o_g_r_a_m, _o_p_t_i_o_n)
	Display	*_d_i_s_p_l_a_y;
	char *_p_r_o_g_r_a_m;
	char *_o_p_t_i_o_n;

  char *XResourceManagerString(_d_i_s_p_l_a_y)
	  Display *_d_i_s_p_l_a_y;

ARGUMENTS

  _d_i_s_p_l_a_y   Specifies the connection to	the X server.

  _o_p_t_i_o_n    Specifies the option name.

  _p_r_o_g_r_a_m   Specifies the program name for the Xlib defaults (usually argv[0]
	    of the main	program).

DESCRIPTION
  The _X_G_e_t_D_e_f_a_u_l_t function returns the value NULL if the option	name speci-
  fied in this argument	does not exist for the program.	 The strings returned
  by _X_G_e_t_D_e_f_a_u_l_t are owned by Xlib and should not be modified or freed by the
  client.

  The _X_R_e_s_o_u_r_c_e_M_a_n_a_g_e_r_S_t_r_i_n_g returns the RESOURCE_MANAGER property from	the
  server's root	window of screen zero, which was returned when the connection
  was opened using _X_O_p_e_n_D_i_s_p_l_a_y.  Note that the	property value must be in a
  format that is acceptable to _X_r_m_G_e_t_S_t_r_i_n_g_D_a_t_a_b_a_s_e.

SEE ALSO
  XOpenDisplay(3X11), XrmQGetSearchList(3X11), XrmMergeDatabases(3X11)
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e























