Functions ========= .. currentmodule:: gi.repository.Shumate .. function:: file_cache_error_quark() -> int .. function:: get_user_agent() -> 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. :return: the user agent .. function:: set_user_agent(new_user_agent: str | None = None) -> None 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. :param new_user_agent: the new user agent, or :const:`None` to reset to the default .. function:: style_error_quark() -> int .. function:: tile_downloader_error_quark() -> int