setOption

open fun setOption(key: String, value: String): Boolean

Attaches a key/value pair as an option to a GdkPixbuf.

If key already exists in the list of options attached to the pixbuf, the new value is ignored and FALSE is returned.

Return

TRUE on success

Since

2.2

Parameters

key

a nul-terminated string.

value

a nul-terminated string.