TreeNode.getNodeAttribute

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>.

class TreeNode
getNodeAttribute
(
string attribute
)

Parameters

attribute string

attribute name as a string

Return Value

Type: gobject.value.Value

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