gdkColormapAllocColors         package:RGtk2         R Documentation

_g_d_k_C_o_l_o_r_m_a_p_A_l_l_o_c_C_o_l_o_r_s

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

     Allocates colors from a colormap.

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

     gdkColormapAllocColors(colormap, colors, writeable, best.match)

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

'colors': ['GdkColor']  The color values to allocate. On return, the
          pixel values for allocated colors will be filled in.

'writeable': [logical]  If 'TRUE', the colors are allocated writeable
          (their values can later be changed using 'gdkColorChange').
          Writeable colors cannot be shared between applications.

'best.match': [logical]  If 'TRUE', GDK will attempt to do matching
          against existing colors if the colors cannot be allocated as
          requested.

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

     A list containing the following elements: 

  retval: [integer]  The number of colors that were not successfully 
          allocated.

'success': [logical]  An list of length 'ncolors'. On return, this
          indicates whether the corresponding color in 'colors' was
          successfully allocated or not.

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

     Derived by RGtkGen from GTK+ documentation

