set_option


Description:

[ Version ( since = "2.2" ) ]
public bool set_option (string key, string value)

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.

Parameters:

this

a `GdkPixbuf`

key

a nul-terminated string.

value

a nul-terminated string.

Returns:

`TRUE` on success