get_city_name


Description:

public string? get_city_name ()

For a gweather_location_city or gweather_location_detached location, this is equivalent to get_name.

For a gweather_location_weather_station location, it is equivalent to calling get_name on the location's parent. For other locations it will return null.

Parameters:

this

a Location

Returns:

this's city name, or null




2022 vala-language.org