gdkPixmapColormapCreateFromXpm     package:RGtk2     R Documentation

_g_d_k_P_i_x_m_a_p_C_o_l_o_r_m_a_p_C_r_e_a_t_e_F_r_o_m_X_p_m

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

     Create a pixmap from a XPM file using a particular colormap.

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

     gdkPixmapColormapCreateFromXpm(drawable, colormap, transparent.color, filename)

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

'drawable': ['GdkDrawable'] a 'GdkDrawable', used to determine default
          values for the new pixmap. Can be 'NULL' if 'colormap' is
          given.

'colormap': ['GdkColormap'] the 'GdkColormap' that the new pixmap will
          be use. If omitted, the colormap for 'window' will be used.

'transparent.color': ['GdkColor'] the color to be used for the pixels
          that are transparent in the input file. Can be 'NULL', in
          which case a default color will be used.

'filename': [character] the filename of a file containing XPM data.

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

     A list containing the following elements: 

  retval: ['GdkPixmap'] the 'GdkPixmap'.

  'mask': ['GdkBitmap'] a pointer to a place to store a bitmap
          representing the transparency mask of the XPM file. Can be
          'NULL', in which case transparency will be ignored.

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

     Derived by RGtkGen from GTK+ documentation

