gdkPixmapCreateFromData {RGtk2} | R Documentation

## 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`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]