Description Methods and Functions Hierarchy Detailed Description Structures Convenient Construction Author(s) References
Offscreen drawables
gdkPixmapNew(drawable = NULL, width, height, depth = -1)
gdkBitmapCreateFromData(drawable = NULL, data, width, height)
gdkPixmapCreateFromData(drawable = NULL, data, height, depth, fg, bg)
gdkPixmapCreateFromXpm(drawable, transparent.color, filename)
gdkPixmapColormapCreateFromXpm(drawable, colormap, transparent.color, filename)
gdkPixmapCreateFromXpmD(drawable, transparent.color, data)
gdkPixmapColormapCreateFromXpmD(drawable, colormap, transparent.color, data)
gdkPixmap(drawable, data, transparent.color, height, width, depth, filename, colormap, fg, bg)
1 2 3 | GObject
+----GdkDrawable
+----GdkPixmap
|
Pixmaps are offscreen drawables. They can be drawn upon with the
standard drawing primitives, then copied to another drawable (such as
a GdkWindow
) with gdkPixmapDraw()
. The depth of a pixmap
is the number of bits per pixels. Bitmaps are simply pixmaps
with a depth of 1. (That is, they are monochrome bitmaps - each
pixel can be either on or off).
GdkPixmap
An opaque structure representing an offscreen drawable.
Pointers to structures of type GdkPixmap
, GdkBitmap
,
and GdkWindow
, can often be used interchangeably.
The type GdkDrawable
refers generically to any of
these types.
GdkBitmap
An opaque structure representing an offscreen drawable of depth
1. Pointers to structures of type GdkPixmap
, GdkBitmap
, and
GdkWindow
, can often be used interchangeably. The type GdkDrawable
refers generically to any of these types.
gdkPixmap
is the result of collapsing the constructors of GdkPixmap
(gdkPixmapNew
, gdkBitmapCreateFromData
, gdkPixmapCreateFromData
, gdkPixmapCreateFromXpm
, gdkPixmapColormapCreateFromXpm
, gdkPixmapCreateFromXpmD
, gdkPixmapColormapCreateFromXpmD
, NULL, NULL) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gdk2/stable/gdk2-Bitmaps-and-Pixmaps.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.