| Top |
GMenuTree *
cinnamon_app_system_get_tree (CinnamonAppSystem *system);
CinnamonApp * cinnamon_app_system_lookup_app (CinnamonAppSystem *system,const char *id);
Find a CinnamonApp corresponding to an id.
CinnamonApp * cinnamon_app_system_lookup_settings_app (CinnamonAppSystem *system,const char *id);
The CinnamonApp for id, or NULL if none
OBSOLETE - ONLY LEFT IN FOR COMPATIBILITY
RETURNS NULL.
[transfer none]
CinnamonApp * cinnamon_app_system_lookup_app_by_tree_entry (CinnamonAppSystem *system,GMenuTreeEntry *entry);
Find a CinnamonApp corresponding to a GMenuTreeEntry.
CinnamonApp * cinnamon_app_system_lookup_settings_app_by_tree_entry (CinnamonAppSystem *system,GMenuTreeEntry *entry);
The CinnamonApp for entry
, or NULL if none
OBSOLETE - ONLY LEFT IN FOR COMPATIBILITY
RETURNS NULL.
[transfer none]
CinnamonApp * cinnamon_app_system_lookup_app_for_path (CinnamonAppSystem *system,const char *desktop_path);
Find or create a CinnamonApp corresponding to a given absolute file
name which must be in the standard paths (XDG_DATA_DIRS). For
files outside the datadirs, this function returns NULL.
CinnamonApp * cinnamon_app_system_lookup_heuristic_basename (CinnamonAppSystem *system,const char *id);
Find a valid application corresponding to a given
heuristically determined application identifier
string, or NULL if none.
CinnamonApp * cinnamon_app_system_lookup_startup_wmclass (CinnamonAppSystem *system,const char *wmclass);
Find a valid application whose .desktop file contains a
StartupWMClass entry matching wmclass
.
CinnamonApp * cinnamon_app_system_lookup_desktop_wmclass (CinnamonAppSystem *system,const char *wmclass);
Find a valid application whose .desktop file, without the extension
and properly canonicalized, matches wmclass
.
GSList *
cinnamon_app_system_get_running (CinnamonAppSystem *self);
Returns the set of applications which currently have at least one
open window in the given context. The returned list will be sorted
by cinnamon_app_compare().
GSList * cinnamon_app_system_initial_search (CinnamonAppSystem *system,GSList *terms);
Search through applications for the given search terms.
GSList * cinnamon_app_system_subsearch (CinnamonAppSystem *system,GSList *previous_results,GSList *terms);
Search through a previous result set; for more information, see
js/ui/search.js. Note the value of prefs
must be
the same as passed to cinnamon_app_system_initial_search(). Note that returned
strings are only valid until a return to the main loop.
GMenuTree *
cinnamon_app_system_get_settings_tree (CinnamonAppSystem *system);
GSList * cinnamon_app_system_search_settings (CinnamonAppSystem *system,GSList *terms);
Search through settings for the given search terms.
CinnamonApp * cinnamon_app_system_lookup_setting (CinnamonAppSystem *system,const char *id);
Application in gnomecc.menu, or NULL if none
OBSOLETE - ONLY LEFT IN FOR COMPATIBILITY
RETURNS NULL IF NOT FOUND IN STANDARD APPS.
[transfer none]
“app-state-changed” signalvoid user_function (CinnamonAppSystem *cinnamonappsystem, CinnamonApp *arg1, gpointer user_data)
Flags: Run Last
“installed-changed” signalvoid user_function (CinnamonAppSystem *cinnamonappsystem, gpointer user_data)
Flags: Run Last