get_treeinfo_variant


Description:

[ Version ( since = "0.1.0" ) ]
public unowned string get_treeinfo_variant ()

If this has treeinfo, this function retrieves the expected variant.

Note: In practice, this will usually not be the exact copy of the variant but rather a regular expression that matches it.

Parameters:

this

an Tree instance

Returns:

the treeinfo variant, or NULL