DesktopAppInfo.getShowIn

Checks if the application info should be shown in menus that list available applications for a specific name of the desktop, based on the OnlyShowIn and NotShowIn keys. If desktop_env is NULL, then the name of the desktop set with g_desktop_app_info_set_desktop_env() is used. Note that g_app_info_should_show() for info will include this check (with NULL for desktop_env) as well as additional checks. Since 2.30

class DesktopAppInfo
int
getShowIn
(
string desktopEnv
)

Parameters

desktopEnv string

a string specifying a desktop name

Return Value

Type: int

TRUE if the info should be shown in desktop_env according to the OnlyShowIn and NotShowIn keys, FALSE otherwise.

Meta