Pixmap.this

this(const(char) *[] data)

Creates a pixmap from XPM data.

The data should be an array of C strings in XPM format. The data must remain valid for the lifetime of this Pixmap.

Parameters

dataXPM data as array of C strings
this(const(char *) * data)

Creates a pixmap from a raw pointer to XPM data.

This constructor is for use with static/immutable data where the lifetime is guaranteed. For dynamic data, use the slice version.

Parameters

dataPointer to XPM data (array of C strings)