get_node_attribute


Description:

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

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

The difference with fetch_attribute is that fetch_attribute will also query this's parents (recursively up to the top level node) if the attribute is not set for this.

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




2022 vala-language.org