NAME

XResourceManagerString, XScreenResourceString - obtain server resource properties

SYNTAX

char *XResourceManagerString(Display *_d_i_s_p_l_a_y); char *XScreenResourceString(Screen *_s_c_r_e_e_n);

ARGUMENTS

_d_i_s_p_l_a_y Specifies the connection to the X server.
_s_c_r_e_e_n Specifies the screen.

DESCRIPTION

The _X_R_e_s_o_u_r_c_e_M_a_n_a_g_e_r_S_t_r_i_n_g function 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. The property is converted from type STRING to the current locale. The conversion is identical to that produced by _X_m_b_T_e_x_t_P_r_o_p_e_r_t_y_T_o_T_e_x_t_L_i_s_t for a single element STRING property. The returned string is owned by Xlib and should not be freed by the client. 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. If no property exists, NULL is returned.

The _X_S_c_r_e_e_n_R_e_s_o_u_r_c_e_S_t_r_i_n_g function returns the SCREEN_RESOURCES property from the root window of the specified screen. The property is converted from type STRING to the current locale. The conversion is identical to that produced by _X_m_b_T_e_x_t_P_r_o_p_e_r_t_y_T_o_T_e_x_t_L_i_s_t for a single element STRING property. 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. If no property exists, NULL is returned. The caller is responsible for freeing the returned string by using _X_F_r_e_e.

SEE ALSO

_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e