libappstream::functions

Function utils_get_gui_environment_style_name

source
pub fn utils_get_gui_environment_style_name(env_style: &str) -> Option<GString>
Expand description

Get a human-readable, translated name of the combination of GUI environment and style. E.g. “plasma:dark” becomes “Plasma (Dark)”.

§env_style

a GUI environment style ID, e.g. “pantheon:dark”

§Returns

A localized name of the environment style, or None if none available.