Skip to main content

platform_shows_icons

Function platform_shows_icons 

Source
pub fn platform_shows_icons(
    desktop: &str,
    kdeglobals: impl FnOnce() -> Option<String>,
) -> bool
Expand description

Whether the platform shows icons in menus, from the desktop (XDG_CURRENT_DESKTOP) and KDE’s kdeglobals: not on GNOME; on KDE Plasma as its ShowIconsInMenuItems (group KDE) says, yes when it does not say; yes elsewhere (Windows, macOS, other desktops).