They can be drawn upon with the standard drawing primitives, then copied to another drawable (such as a GdkWindow) with gdk_pixmap_draw(). 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).
Public Member Functions
|GdkBitmap *||getBitmapStruct ()|
|this (GdkBitmap *gdkBitmap)|
|Sets our main struct and passes it to the parent class. |
Static Public Member Functions
|static Bitmap||createFromData (Drawable drawable, char data, int width, int height)|
|Creates a new bitmap from data in XBM format. |
Protected Member Functions
|void *||getStruct ()|
|the main Gtk struct as a void* |
|the main Gtk struct |
Sets our main struct and passes it to the parent class.
|static Bitmap gdk.Bitmap.Bitmap.createFromData||(||Drawable||drawable,|
Creates a new bitmap from data in XBM format.
drawable: a GdkDrawable, used to determine default values for the new pixmap. Can be NULL, in which case the root window is used. data: a pointer to the XBM data. width: the width of the new pixmap in pixels. height: the height of the new pixmap in pixels. Returns: the GdkBitmap
the main Gtk struct as a void*