TreeNode.fetchAttribute

gobject.value.Value fetchAttribute(string attribute)

Get the value associated to the attribute named attribute for node. If the attribute is not set, then node'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

attributeattribute name as a string

Returns

a read-only #GValue, or null if not attribute named attribute has been set for node