Tree.setAttribute
void setAttribute(string attribute, gobject.value.Value value, glib.types.DestroyNotify destroy)Sets an attribute to tree, which will be accessible to any node in it.
Parameters
attribute | attribute name |
value | a #GValue, or null |
destroy | a function to be called when attribute is not needed anymore, or null |