ObjectGtk.setDataById

Warning gtk_object_set_data_by_id is deprecated and should not be used in newly-written code. Use g_object_set_qdata() instead. Just like gtk_object_set_data() except that it takes a GQuark instead of a string, so it is slightly faster. Use gtk_object_data_try_key() and gtk_object_data_force_id() to get an id from a string.

class ObjectGtk
void
setDataById

Parameters

dataId GQuark

quark of the key.

data void*

data to associate with that key.

Meta