gdkPixbufRenderPixmapAndMaskForColormappackage:RGtk2R Documentation

_g_d_k_P_i_x_b_u_f_R_e_n_d_e_r_P_i_x_m_a_p_A_n_d_M_a_s_k_F_o_r_C_o_l_o_r_m_a_p

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

     Creates a pixmap and a mask bitmap which are returned in the
     'pixmap.return' and 'mask.return' arguments, respectively, and
     renders a pixbuf and its corresponding tresholded alpha mask to
     them.  This is merely a convenience function; applications that
     need to render pixbufs with dither offsets or to given drawables
     should use 'gdkDrawPixbuf', and 'gdkPixbufRenderThresholdAlpha'.

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

     gdkPixbufRenderPixmapAndMaskForColormap(object, colormap, alpha.threshold = 127)

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

'object': ['GdkPixbuf']  A pixbuf.

'colormap': ['GdkColormap']  A 'GdkColormap'

'alpha.threshold': [integer]  Threshold value for opacity values.

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

     The pixmap that is created uses the 'GdkColormap' specified by
     'colormap'. This colormap must match the colormap of the window
     where the pixmap will eventually be used or an error will result.

     If the pixbuf does not have an alpha channel, then *'mask.return'
     will be set to 'NULL'.

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

     A list containing the following elements: 

'pixmap.return': ['GdkPixmap']  Location to store a pointer to the
          created pixmap, or 'NULL' if the pixmap is not needed.

'mask.return': ['GdkBitmap']  Location to store a pointer to the
          created mask, or 'NULL' if the mask is not needed.

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

     Derived by RGtkGen from GTK+ documentation

