TreeNode.fetchAttribute

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

class TreeNode
fetchAttribute
(
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