Functions

file_cache_error_quark ()

get_user_agent ()

set_user_agent (new_user_agent)

style_error_quark ()

tile_downloader_error_quark ()

Details

Shumate.file_cache_error_quark()
Returns:

a #GQuark

Return type:

int

Gets the Shumate.FileCache error quark.

Shumate.get_user_agent()
Returns:

the user agent

Return type:

str

Gets the user agent libshumate will use for all requests.

This API is not thread-safe and should only be called from the main thread.

Shumate.set_user_agent(new_user_agent)
Parameters:

new_user_agent (str or None) – the new user agent, or None to reset to the default

Sets the user agent that libshumate uses for all requests.

This API is not thread-safe and should only be called from the main thread.

Shumate.style_error_quark()
Returns:

a #GQuark

Return type:

int

Shumate.tile_downloader_error_quark()
Returns:

a #GQuark

Return type:

int

Gets the Shumate.TileDownloader error quark.