Drawable.setData

Warning gdk_drawable_set_data is deprecated and should not be used in newly-written code. This function is equivalent to g_object_set_data(), the GObject variant should be used instead.

class Drawable
void
setData

Parameters

key string

name to store the data under

data void*

arbitrary data

destroyFunc GDestroyNotify

function to free data, or NULL. [allow-none]

Meta