Learn R Programming

RGtk2 (version 2.8.8)

gdkPixmapNew: gdkPixmapNew

Description

Create a new pixmap with a given size and depth.

Usage

gdkPixmapNew(drawable = NULL, width, height, depth = -1)

Arguments

drawable
[GdkDrawable] A GdkDrawable, used to determine default values for the new pixmap. Can be NULL if depth is specified,
width
[integer] The width of the new pixmap in pixels.
height
[integer] The height of the new pixmap in pixels.
depth
[integer] The depth (number of bits per pixel) of the new pixmap. If -1, and drawable is not NULL, the depth of the new pixmap will be equal to that of drawable.

Value