Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gdkPixmapCreateFromXpmD

gdkPixmapCreateFromXpmD


Description

Create a pixmap from data in XPM format.

Usage

gdkPixmapCreateFromXpmD(drawable, transparent.color, data)

Arguments

drawable

a GdkDrawable, used to determine default values for the new pixmap.

transparent.color

This color will be used for the pixels that are transparent in the input file. Can be NULL in which case a default color will be used.

data

Pointer to a string containing the XPM data.

Value

A list containing the following elements:

retval

[GdkPixmap] the GdkPixmap. [ transfer none ]

mask

Pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be NULL, in which case transparency will be ignored. [ out ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.