Pixbuf.setOption

bool setOption(string key, string value)

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.

Parameters

keya nul-terminated string.
valuea nul-terminated string.

Returns

TRUE on success