Pixbuf.from_xpm_data


Description:

[ CCode ( has_construct_function = false ) ]
public Pixbuf.from_xpm_data (string[] data)

Creates a new pixbuf by parsing XPM data in memory.

Note:

Use [ctor@GdkPixbuf.Pixbuf.new_from_stream] with a [class@Gio.MemoryInputStream], making sure to handle errors in case the XPM format loader is not available

This data is commonly the result of including an XPM file into a program's C source.

Parameters:

data

Pointer to inline XPM data.

Returns:

A newly-created pixbuf