![]() |
![]() |
![]() |
LibAppStream Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define AS_TYPE_APP_INFO gboolean as_appinfo_is_valid (AsAppInfo *self
); gchar * as_appinfo_to_string (AsAppInfo *self
); AsAppInfo * as_appinfo_new (void
); const gchar * as_appinfo_get_desktop_file (AsAppInfo *self
); void as_appinfo_set_desktop_file (AsAppInfo *self
,const gchar *value
); struct AsAppInfo; struct AsAppInfoClass;
gboolean as_appinfo_is_valid (AsAppInfo *self
);
Check if the essential properties of this AppInfo instance are populated with useful data.
|
the AsAppInfo instance |
gchar * as_appinfo_to_string (AsAppInfo *self
);
|
the AsAppInfo instance |
const gchar * as_appinfo_get_desktop_file (AsAppInfo *self
);
Get and return the current value of the "desktop-file" property.
|
the AsAppInfo instance to query |
Returns : |
the value of the "desktop-file" property |
void as_appinfo_set_desktop_file (AsAppInfo *self
,const gchar *value
);
Set the value of the "desktop-file" property to value
.
|
the AsAppInfo instance to modify |
|
the new value of the "desktop-file" property |
struct AsAppInfo { AsComponent parent_instance; AsAppInfoPrivate * priv; };
Class to store data describing an application in AppStream
struct AsAppInfoClass { AsComponentClass parent_class; };
The class structure for AS_TYPE_APP_INFO
. All the fields in this structure are private and should never be accessed directly.