utf8 g_base_info_get_attribute utf8 name get_attribute @accepts(utf8) @returns(utf8) def GIRepository.BaseInfo.get_attribute(name)

Retrieve an arbitrary attribute associated with this node.

name :

a freeform string naming an attribute

Returns :

The value of the attribute, or None if no such attribute exists