get_country_name


Description:

public string? get_country_name ()

Gets the country name of loc.

For a gweather_location_country location, this is equivalent to get_name. For a gweather_location_region and GWEATHER_LOCATION_WORLD location it will return null. For other locations it will find the parent gweather_location_country and return its name.

Parameters:

this

a Location

Returns:

this's country name, or null




2022 vala-language.org