Pixbuf.setOption

Attaches a key/value pair as an option to a gdkpixbuf.pixbuf.Pixbuf.

If key already exists in the list of options attached to the 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