TreeNode.getNodeAttribute

gobject.value.Value getNodeAttribute(string attribute)

Get the value associated to the attribute named attribute for node. The difference with [gda.tree_node.TreeNode.fetchAttribute] is that [gda.tree_node.TreeNode.fetchAttribute] will also query node's parents (recursively up to the top level node) if the attribute is not set for 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