Top | ![]() |
![]() |
![]() |
![]() |
ShellApp * shell_app_system_lookup_app (ShellAppSystem *system
,const char *id
);
Find a ShellApp corresponding to an id.
ShellApp * shell_app_system_lookup_heuristic_basename (ShellAppSystem *system
,const char *id
);
Find a valid application corresponding to a given
heuristically determined application identifier
string, or NULL
if none.
ShellApp * shell_app_system_lookup_startup_wmclass (ShellAppSystem *system
,const char *wmclass
);
Find a valid application whose .desktop file contains a
StartupWMClass entry matching wmclass
.
ShellApp * shell_app_system_lookup_desktop_wmclass (ShellAppSystem *system
,const char *wmclass
);
Find a valid application whose .desktop file, without the extension
and properly canonicalized, matches wmclass
.
GSList *
shell_app_system_get_running (ShellAppSystem *self
);
Returns the set of applications which currently have at least one
open window. The returned list will be sorted by shell_app_compare()
.
char ***
shell_app_system_search (const char *search_string
);
Wrapper around g_desktop_app_info_search()
that replaces results that
don't validate as UTF-8 with the empty string.
a
list of strvs. Free each item with g_strfreev()
and free the outer
list with g_free()
.
[array zero-terminated=1][element-type GStrv][transfer full]
GList *
shell_app_system_get_installed (ShellAppSystem *self
);
Returns all installed apps, as a list of GAppInfo
a list of GAppInfo describing all known applications. This memory is owned by the ShellAppSystem and should not be freed.
[transfer none][element-type GAppInfo]