Pixbuf.setOption

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.

class Pixbuf
bool
setOption
(
string key
,
string value
)

Parameters

key string

a nul-terminated string.

value string

a nul-terminated string.

Return Value

Type: bool

%TRUE on success.

Meta