ImageGdk.this

Warning gdk_image_new_bitmap is deprecated and should not be used in newly-written code. Creates a new GdkImage with a depth of 1 from the given data. Warning THIS FUNCTION IS INCREDIBLY BROKEN. The passed-in data must be allocated by malloc() (NOT g_malloc()) and will be freed when the image is freed.

  1. this(GdkImage* gdkImage)
  2. this(GdkImageType type, Visual visual, int width, int height)
  3. this(Visual visual, void* data, int width, int height)
    class ImageGdk
    this
    (,
    void* data
    ,
    int width
    ,
    int height
    )

Parameters

visual Visual

the GdkVisual to use for the image.

data void*

the pixel data.

width int

the width of the image in pixels.

height int

the height of the image in pixels.

Throws

ConstructionException GTK+ fails to create the object.

Meta