gdkColorParse             package:RGtk2             R Documentation

_g_d_k_C_o_l_o_r_P_a_r_s_e

_D_e_s_c_r_i_p_t_i_o_n:

     Parses a textual specification of a color and fill in the 'red',
     'green', and  'blue' fields of a  'GdkColor' structure. The color
     is _not_  allocated, you must call 'gdkColormapAllocColor'
     yourself. The text string can be in any of the forms accepted by
     'xparsecolor'; these include name for a color from 'rgb.txt', such
     as 'DarkSlateGray', or a hex specification such as '#3050b2' or
     '#35b'.

_U_s_a_g_e:

     gdkColorParse(spec)

_A_r_g_u_m_e_n_t_s:

  'spec': [character]  the string specifying the color.

_V_a_l_u_e:

     A list containing the following elements: 

  retval: [logical] 'TRUE' if the parsing succeeded.

 'color': ['GdkColor']  the 'GdkColor' to fill in

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

