![]() |
![]() |
![]() |
LibAppStream Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
AppstreamDistroDetailsAppstreamDistroDetails — Get details about the AppStream settings for the current distribution |
#define APPSTREAM_TYPE_DISTRO_DETAILS gchar ** appstream_distro_details_get_icon_repository_paths (AppstreamDistroDetails *self
); gchar * appstream_distro_details_config_distro_get_str (AppstreamDistroDetails *self
,const gchar *key
); gboolean appstream_distro_details_config_distro_get_bool (AppstreamDistroDetails *self
,const gchar *key
); AppstreamDistroDetails * appstream_distro_details_new (void
); const gchar * appstream_distro_details_get_distro_id (AppstreamDistroDetails *self
); const gchar * appstream_distro_details_get_distro_name (AppstreamDistroDetails *self
); const gchar * appstream_distro_details_get_distro_version (AppstreamDistroDetails *self
); struct AppstreamDistroDetails; struct AppstreamDistroDetailsClass;
#define APPSTREAM_TYPE_DISTRO_DETAILS (appstream_distro_details_get_type ())
The type for AppstreamDistroDetails.
gchar ** appstream_distro_details_get_icon_repository_paths
(AppstreamDistroDetails *self
);
Returns list of icon-paths for software-center applications to use. Icons of software (even if it is not installed) are stored in these locations.
|
the AppstreamDistroDetails instance |
Returns : |
A NULL-terminated array of paths. [array length=result_length1] |
gchar * appstream_distro_details_config_distro_get_str (AppstreamDistroDetails *self
,const gchar *key
);
|
the AppstreamDistroDetails instance |
|
gboolean appstream_distro_details_config_distro_get_bool (AppstreamDistroDetails *self
,const gchar *key
);
|
the AppstreamDistroDetails instance |
|
const gchar * appstream_distro_details_get_distro_id
(AppstreamDistroDetails *self
);
Get and return the current value of the "distro-id" property.
|
the AppstreamDistroDetails instance to query |
Returns : |
the value of the "distro-id" property |
const gchar * appstream_distro_details_get_distro_name
(AppstreamDistroDetails *self
);
Get and return the current value of the "distro-name" property.
|
the AppstreamDistroDetails instance to query |
Returns : |
the value of the "distro-name" property |
const gchar * appstream_distro_details_get_distro_version
(AppstreamDistroDetails *self
);
Get and return the current value of the "distro-version" property.
|
the AppstreamDistroDetails instance to query |
Returns : |
the value of the "distro-version" property |
struct AppstreamDistroDetails { GObject parent_instance; AppstreamDistroDetailsPrivate * priv; };
Get details about the AppStream settings for the current distribution
struct AppstreamDistroDetailsClass { GObjectClass parent_class; };
The class structure for APPSTREAM_TYPE_DISTRO_DETAILS
. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |