gdkPixmapCreateFromData: gdkPixmapCreateFromData

Description Usage Arguments Value Author(s)

View source: R/gdkFuncs.R

Description

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

Usage

1
2
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.