Learn R Programming

RGtk2 (version 2.8.8)

gdkPixmapCreateFromData: gdkPixmapCreateFromData

Description

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

Usage

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

Arguments

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

Value