Creates a pixmap and a mask bitmap which are returned in the
mask.return arguments, respectively, and renders a pixbuf and its
corresponding thresholded 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
gdkPixbufRenderPixmapAndMask(object, alpha.threshold = 127)
Threshold value for opacity values.
The pixmap that is created is created for the colormap returned
gdkRgbGetColormap. You normally will want to instead use
the actual colormap for a widget, and use
If the pixbuf does not have an alpha channel, then *
mask.return will be set
A list containing the following elements:
Location to store a pointer to the created pixmap,
Location to store a pointer to the created mask,
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.