Gio.DesktopAppInfo.prototype.get_show_in
function get_show_in(desktop_env: String): Boolean { // Gjs wrapper for g_desktop_app_info_get_show_in() }
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 Gio.DesktopAppInfo.set_desktop_env is used.
Note that Gio.AppInfo.prototype.should_show for info will include this check (with null for desktop_env) as well as additional checks.
Since 2.30
- desktop_env
a string specifying a desktop name
- Returns
true if the info should be shown in desktop_env according to the `OnlyShowIn` and `NotShowIn` keys, false otherwise.