gdkPixmapCreateFromXpmD {RGtk2}R Documentation

gdkPixmapCreateFromXpmD

Description

Create a pixmap from data in XPM format.

Usage

gdkPixmapCreateFromXpmD(drawable, transparent.color, data)

Arguments

drawable [GdkDrawable] a GdkDrawable, used to determine default values for the new pixmap.
transparent.color [GdkColor] This color will be used for the pixels that are transparent in the input file. Can be NULL in which case a default color will be used.
data [character] Pointer to a string containing the XPM data.

Value

A list containing the following elements:

retval [GdkPixmap] the GdkPixmap
mask [GdkBitmap] 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.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]