get_id


Description:

[ Version ( since = "3.26" ) ]
public unowned string get_id ()

Gets the id for the element.

Generally, a path is built of multiple elements and each element should have an id that is useful to the application that it using it. You might store the name of a directory, or some other key as the id.

Parameters:

this

A PathElement

Returns:

The id for the PathElement.




2022 vala-language.org