set_attribute


Description:

[ Version ( since = "4.2" ) ]
public void set_attribute (string attribute, Value value, DestroyNotify destroy)

Sets an attribute to this, which will be accessible to any node in it.

Parameters:

this

a Tree object

attribute

attribute name

value

a Value, or null

destroy

a function to be called when attribute is not needed anymore, or null




2022 vala-language.org