gdkColormapQueryColor         package:RGtk2         R Documentation

_g_d_k_C_o_l_o_r_m_a_p_Q_u_e_r_y_C_o_l_o_r

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

     Locates the RGB color in 'colormap' corresponding to the given
     hardware pixel 'pixel'. 'pixel' must be a valid pixel in the
     colormap; it's a programmer error to call this function with a
     pixel which is not in the colormap. Hardware pixels are normally
     obtained from 'gdkColormapAllocColors', or from a 'GdkImage'. (A
     'GdkImage' contains image data in hardware format, a 'GdkPixbuf'
     contains image data in a canonical 24-bit RGB format.)

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

     gdkColormapQueryColor(object, pixel)

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

'object': ['GdkColormap']  a 'GdkColormap'

 'pixel': [numeric]  pixel value in hardware display format

_D_e_t_a_i_l_s:

     This function is rarely useful; it's used for example to implement
     the eyedropper feature in 'GtkColorSelection'.

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

     A list containing the following elements: 

'result': ['GdkColor'] 'GdkColor' with red, green, blue fields
          initialized

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

     Derived by RGtkGen from GTK+ documentation

