PixbufFormat.gdkPixbufSetOption

Attaches a key/value pair as an option to a GdkPixbuf. If key already exists in the list of options attached to pixbuf, the new value is ignored and FALSE is returned. Since 2.2

class PixbufFormat
static
int
gdkPixbufSetOption
(,
string key
,
string value
)

Parameters

pixbuf Pixbuf

a GdkPixbuf

key string

a nul-terminated string.

value string

a nul-terminated string.

Return Value

Type: int

TRUE on success.

Meta