# Class GDK1.Bitmap

Inheritance graph

Description

  A bitmap is a black and white pixmap. Most commonly used as masks for images, widgets and pixmaps.

  NOIMG

Inherit Drawable

  `inherit GDK1.Drawable : Drawable`

Method create

  `GDK1.Bitmap GDK1.Bitmap(`int`|`Image.Image` `xsize_or_image`, `int`|`void` `ysize`, `string`|`void` `bitmap`)`

Description

  Create a new GDK1.Bitmap object. Argument is either an Image.Image object, or {xsisze,ysize,xbitmapdata}.

Method destroy

  ``GDK1.Bitmap` destroy()`

Description

  Destructor. Destroys the bitmap. This will free the bitmap on the X-server.