Unity-5.0 C API Documentation

Class: UnityActivationResponse

Properties

gchar*"goto-uri"construct-only

UnityHandledType"handled"construct-only

Constructors

UnityActivationResponse*unity_activation_response_new(UnityHandledType handled, const gchar *goto_uri)

Class: UnityAlbumPreview

Subclass of: UnityPreview

Constructors

UnityAlbumPreview*unity_album_preview_new(const gchar *name, const gchar *artist, const gchar *year, gchar **genres, gint genres_length1, const gchar *album_cover, const gchar *primary_action_name, const gchar *primary_action_icon_hint, const gchar *primary_action_uri)

Class: UnityAppInfoManager

Signals

void"changed"(UnityAppInfoManager *app_info_manager, gchar* id, GAppInfo* new_appinfo)

Methods

voidunity_app_info_manager_clear(UnityAppInfoManager *self)

gchar**unity_app_info_manager_get_categories(UnityAppInfoManager *self, gchar *id, gint *result_length1)

UnityAppInfoManager*unity_app_info_manager_get_default()

UnityAppInfoManager*unity_app_info_manager_get_instance()

gchar**unity_app_info_manager_get_keywords(UnityAppInfoManager *self, gchar *id, gint *result_length1)

gchar*unity_app_info_manager_get_path(UnityAppInfoManager *self, gchar *id)

GAppInfo*unity_app_info_manager_lookup(UnityAppInfoManager *self, gchar *id)

voidunity_app_info_manager_lookup_async(UnityAppInfoManager *self, gchar *id, GAsyncReadyCallback _callback_, gpointer *_callback__target)

GAppInfo*unity_app_info_manager_lookup_finish(UnityAppInfoManager *self, GAsyncResult *_res_)

Class: UnityApplicationPreview

Subclass of: UnityPreview

Constructors

UnityApplicationPreview*unity_application_preview_new(const gchar *name, const gchar *version, const gchar *size, const gchar *license, const gchar *last_updated, gfloat rating, guint n_ratings, const gchar *description, const gchar *icon_hint, const gchar *screenshot_icon_hint, const gchar *primary_action_name, const gchar *primary_action_icon_hint, const gchar *primary_action_uri)

Class: UnityCategory

Properties

gchar*"name"construct-only

GIcon*"icon-hint"construct-only

UnityCategoryRenderer"default-renderer"construct-only

Constructors

UnityCategory*unity_category_new(const gchar *name, GIcon *icon_hint, UnityCategoryRenderer renderer)

Class: UnityCheckOptionFilter

Subclass of: UnityOptionsFilter

Constructors

UnityCheckOptionFilter*unity_check_option_filter_new(const gchar *id, const gchar *display_name, GIcon *icon_hint, gboolean collapsed)

Class: UnityCheckOptionFilterCompact

Subclass of: UnityOptionsFilter

Constructors

UnityCheckOptionFilterCompact*unity_check_option_filter_compact_new(const gchar *id, const gchar *display_name, GIcon *icon_hint, gboolean collapsed)

Abstract Class: UnityFilter

Known subclasses: UnityRatingsFilter, UnityOptionsFilter

Properties

gboolean"filtering"construct-only

gboolean"collapsed"construct-only

gboolean"visible"construct-only

UnityFilterRenderer"renderer"construct-only

GIcon*"icon-hint"construct-only

gchar*"display-name"construct-only

gchar*"id"construct-only

Signals

void"changed"(UnityFilter *filter)

Class: UnityFilterOption

Properties

gboolean"active"construct-only

gchar*"display-name"construct-only

gchar*"id"construct-only

GIcon*"icon-hint"construct-only

Constructors

UnityFilterOption*unity_filter_option_new(const gchar *id, const gchar *display_name, GIcon *icon_hint, gboolean active)

Class: UnityGenericPreview

Subclass of: UnityPreview

Constructors

UnityGenericPreview*unity_generic_preview_new(const gchar *name, guint date_modified, guint size, const gchar *type, const gchar *description, const gchar *large_icon_hint, const gchar *primary_action_name, const gchar *primary_action_icon_hint, const gchar *primary_action_uri, const gchar *secondary_action_name, const gchar *secondary_action_icon_hint, const gchar *secondary_action_uri, const gchar *tertiary_action_name, const gchar *tertiary_action_icon_hint, const gchar *tertiary_action_uri)

Class: UnityInspector

Properties

gboolean"unity-running" read-only

gchar*"unity-bus-name" read-only

Methods

UnityInspector*unity_inspector_get_default()

Class: UnityLauncherEntry

Implements: DeeSerializable

Properties

gint64"count"read/write

gboolean"progress-visible"read/write

gboolean"count-visible"read/write

gchar*"app-uri"construct-only

DbusmenuMenuitem*"quicklist"read/write

gboolean"urgent"read/write

gdouble"progress"read/write

Methods

UnityLauncherEntry*unity_launcher_entry_get_for_app_uri(gchar *app_uri)

UnityLauncherEntry*unity_launcher_entry_get_for_desktop_file(gchar *desktop_file)

UnityLauncherEntry*unity_launcher_entry_get_for_desktop_id(gchar *desktop_id)

Class: UnityLauncherFavorites

Signals

void"changed"(UnityLauncherFavorites *launcher_favorites)

Methods

GAppInfo**unity_launcher_favorites_enumerate_app_infos(UnityLauncherFavorites *self, gint *result_length1)

gchar**unity_launcher_favorites_enumerate_ids(UnityLauncherFavorites *self, gint *result_length1)

UnityLauncherFavorites*unity_launcher_favorites_get_default()

gbooleanunity_launcher_favorites_has_app_id(UnityLauncherFavorites *self, gchar *app_id)

gbooleanunity_launcher_favorites_has_app_info(UnityLauncherFavorites *self, GAppInfo *appinfo)

GAppInfo*unity_launcher_favorites_lookup(UnityLauncherFavorites *self, gchar *app_id)

Class: UnityLens

Properties

UnityMergeStrategy*"global-merge-strategy"read/write

UnityMergeStrategy*"merge-strategy"read/write

gboolean"searching"read/write

gchar*"search-hint"read/write

gboolean"visible"read/write

gboolean"search-in-global"read/write

gboolean"exported"read/write

GList*"filters"read/write

gboolean"active"read/write

gchar*"dbus-path"construct-only

gchar*"id"construct-only

GList*"categories"read/write

gchar*"sources-display-name"construct-only

Constructors

UnityLens*unity_lens_new(const gchar *dbus_path_, const gchar *id_)

Methods

voidunity_lens_add_local_scope(UnityLens *self, UnityScope *scope)

voidunity_lens_export(UnityLens *self)

Class: UnityLensSearch

Properties

GHashTable*"hints"construct-only

DeeSerializableModel*"results-model"construct-only

gchar*"search-string"construct-only

Signals

void"finished"(UnityLensSearch *lens_search)

Constructors

UnityLensSearch*unity_lens_search_new(const gchar *search_string, GHashTable *hints, DeeSerializableModel *results_model)

Methods

gbooleanunity_lens_search_equals(UnityLensSearch *self, UnityLensSearch *other)

voidunity_lens_search_finished(UnityLensSearch *self)

voidunity_lens_search_set_reply_hint(UnityLensSearch *self, gchar *key, GVariant *variant)

Interface: UnityMergeStrategy

Methods

DeeModelIter*unity_merge_strategy_merge_result(UnityMergeStrategy *self, DeeModel *target, GVariant **row, gint row_length1)

Class: UnityMultiRangeFilter

Subclass of: UnityOptionsFilter

Constructors

UnityMultiRangeFilter*unity_multi_range_filter_new(const gchar *id, const gchar *display_name, GIcon *icon_hint, gboolean collapsed)

Methods

UnityFilterOption*unity_multi_range_filter_get_first_active(UnityMultiRangeFilter *self)

UnityFilterOption*unity_multi_range_filter_get_last_active(UnityMultiRangeFilter *self)

Class: UnityMusicPlayer

Properties

gboolean"can-play"read/write

UnityPlaylist*"current-playlist"read/write

GAppInfo*"app-info"construct-only

gboolean"can-go-next"read/write

gchar*"title"read/write

gboolean"can-go-previous"read/write

gboolean"can-pause"read/write

gboolean"is-blacklisted"read/write

DbusmenuMenuitem*"track-menu"read/write

gchar*"desktop-file-name"construct-only

UnityTrackMetadata*"current-track"read/write

UnityPlaybackState"playback-state"read/write

DbusmenuMenuitem*"player-menu"read/write

Signals

void"activate_playlist"(UnityMusicPlayer *music_player, const char* playlist_id)

void"next"(UnityMusicPlayer *music_player)

void"previous"(UnityMusicPlayer *music_player)

void"raise"(UnityMusicPlayer *music_player)

void"play_pause"(UnityMusicPlayer *music_player)

Constructors

UnityMusicPlayer*unity_music_player_new(const gchar *desktop)

Methods

gbooleanunity_music_player_add_playlist(UnityMusicPlayer *self, UnityPlaylist *p)

voidunity_music_player_edit_playlist_name(UnityMusicPlayer *self, gchar *id, gchar *name)

voidunity_music_player_export(UnityMusicPlayer *self)

UnityPlaylist**unity_music_player_get_playlists(UnityMusicPlayer *self, gint *result_length1)

gbooleanunity_music_player_remove_playlist(UnityMusicPlayer *self, UnityPlaylist *p)

voidunity_music_player_unexport(UnityMusicPlayer *self)

Class: UnityNoPreview

Subclass of: UnityPreview

Constructors

UnityNoPreview*unity_no_preview_new()

Class: UnityOptionsFilter

Known subclasses: UnityRadioOptionFilter, UnityCheckOptionFilterCompact, UnityCheckOptionFilter, UnityMultiRangeFilter

Subclass of: UnityFilter

Properties

UnityOptionsFilterSortType"sort-type"read/write

Constructors

UnityOptionsFilter*unity_options_filter_new()

Methods

UnityFilterOption*unity_options_filter_add_option(UnityOptionsFilter *self, gchar *id, gchar *display_name, GIcon *icon_hint)

UnityFilterOption*unity_options_filter_get_option(UnityOptionsFilter *self, gchar *id)

gbooleanunity_options_filter_remove_option(UnityOptionsFilter *self, gchar *id)

Class: UnityPlaylist

Properties

gchar*"name"read/write

GDateTime*"last-play-date"read/write

GDateTime*"creation-date"read/write

GDateTime*"modification-date"read/write

gchar*"id"construct-only

GIcon*"icon"read/write

Constructors

UnityPlaylist*unity_playlist_new(const gchar *id)

Abstract Class: UnityPreview

Known subclasses: UnityNoPreview, UnityTrackPreview, UnityGenericPreview, UnityApplicationPreview, UnityAlbumPreview

Class: UnityRadioOptionFilter

Subclass of: UnityOptionsFilter

Constructors

UnityRadioOptionFilter*unity_radio_option_filter_new(const gchar *id, const gchar *display_name, GIcon *icon_hint, gboolean collapsed)

Methods

UnityFilterOption*unity_radio_option_filter_get_active_option(UnityRadioOptionFilter *self)

Class: UnityRatingsFilter

Subclass of: UnityFilter

Properties

gfloat"rating"construct-only

Constructors

UnityRatingsFilter*unity_ratings_filter_new(const gchar *id, const gchar *display_name, GIcon *icon_hint, gboolean collapsed)

Class: UnityScope

Properties

UnityOptionsFilter*"sources"read/write

gboolean"search-in-global"read/write

gboolean"exported"read/write

GList*"filters" read-only

DeeSerializableModel*

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.