![]() |
![]() |
![]() |
LibAppStream Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
AsDistroDetailsAsDistroDetails — Get details about the AppStream settings for the current distribution |
#define AS_TYPE_DISTRO_DETAILS gchar ** as_distro_details_get_icon_repository_paths (AsDistroDetails *self
); gchar * as_distro_details_config_distro_get_str (AsDistroDetails *self
,const gchar *key
); gboolean as_distro_details_config_distro_get_bool (AsDistroDetails *self
,const gchar *key
); AsDistroDetails * as_distro_details_new (void
); const gchar * as_distro_details_get_distro_id (AsDistroDetails *self
); const gchar * as_distro_details_get_distro_name (AsDistroDetails *self
); const gchar * as_distro_details_get_distro_version (AsDistroDetails *self
); struct AsDistroDetails; struct AsDistroDetailsClass;
#define AS_TYPE_DISTRO_DETAILS (as_distro_details_get_type ())
The type for AsDistroDetails.
gchar ** as_distro_details_get_icon_repository_paths
(AsDistroDetails *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 AsDistroDetails instance |
Returns : |
A NULL-terminated array of paths. [array length=result_length1] |
gchar * as_distro_details_config_distro_get_str (AsDistroDetails *self
,const gchar *key
);
|
the AsDistroDetails instance |
|
gboolean as_distro_details_config_distro_get_bool (AsDistroDetails *self
,const gchar *key
);
|
the AsDistroDetails instance |
|
const gchar * as_distro_details_get_distro_id (AsDistroDetails *self
);
Get and return the current value of the "distro-id" property.
|
the AsDistroDetails instance to query |
Returns : |
the value of the "distro-id" property |
const gchar * as_distro_details_get_distro_name (AsDistroDetails *self
);
Get and return the current value of the "distro-name" property.
|
the AsDistroDetails instance to query |
Returns : |
the value of the "distro-name" property |
const gchar * as_distro_details_get_distro_version
(AsDistroDetails *self
);
Get and return the current value of the "distro-version" property.
|
the AsDistroDetails instance to query |
Returns : |
the value of the "distro-version" property |
struct AsDistroDetails { GObject parent_instance; AsDistroDetailsPrivate * priv; };
Get details about the AppStream settings for the current distribution
struct AsDistroDetailsClass { GObjectClass parent_class; };
The class structure for AS_TYPE_DISTRO_DETAILS
. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |