fetch_attribute


Description:

[ Version ( since = "4.2" ) ]
public unowned Value? fetch_attribute (string attribute)

Get the value associated to the attribute named attribute for this.

If the attribute is not set, then this's parents is queries (recursively up to the top level node).

Attributes can have any name, but Libgda proposes some default names, see <link linkend="libgda-40-Attributes-manager.synopsis">this section</link>.

Parameters:

this

a TreeNode

attribute

attribute name as a string

Returns:

a read-only Value, or null if not attribute named attribute has been set for this