Learn R Programming

RGtk2 (version 2.20.31)

gdkPixmapCreateFromData: gdkPixmapCreateFromData

Description

Create a two-color pixmap from data in XBM data.

Usage

gdkPixmapCreateFromData(drawable = NULL, data, height, depth, fg, bg)

Arguments

drawable
a GdkDrawable, used to determine default values for the new pixmap. Can be NULL, if the depth is given.
data
a pointer to the data.
height
the height of the new pixmap in pixels.
depth
the depth (number of bits per pixel) of the new pixmap.
fg
the foreground color.
bg
the background color.

Value

GdkPixmap] the GdkPixmap