Flags¶
Details¶
- class AppStream.CacheFlags(value)¶
Bases:
GObject.GFlags
Flags on how caching should be used.
- NONE = 0¶
No flags.
- USE_USER = 1¶
Create an user-specific metadata cache.
- USE_SYSTEM = 2¶
Use and - if possible - update the system metadata cache.
- NO_CLEAR = 4¶
Don’t clear the cache when opening it.
- REFRESH_SYSTEM = 8¶
Refresh the system cache that is shared between applications.
- class AppStream.ComponentBoxFlags(value)¶
Bases:
GObject.GFlags
Flags controlling the component box behavior.
- NONE = 0¶
No flags.
- NO_CHECKS = 1¶
Only perform the most basic verification.
- class AppStream.DataIdMatchFlags(value)¶
Bases:
GObject.GFlags
The flags used when matching unique IDs.
- NONE = 0¶
No flags set
- SCOPE = 1¶
Scope, e.g. a
AppStream.ComponentScope
- BRANCH = 16¶
Branch
- BUNDLE_KIND = 2¶
Bundle kind, e.g. a
AppStream.BundleKind
- ORIGIN = 4¶
Origin
- ID = 8¶
Component AppStream ID
- class AppStream.ParseFlags(value)¶
Bases:
GObject.GFlags
Influence certain aspects of how AppStream metadata is parsed.
- NONE = 0¶
No flags.
- IGNORE_MEDIABASEURL = 1¶
Do not process the media_baseurl document property.
- class AppStream.PoolFlags(value)¶
Bases:
GObject.GFlags
Flags controlling the metadata pool behavior.
- NONE = 0¶
No flags.
- LOAD_OS_CATALOG = 1¶
Load AppStream catalog metadata from OS locations.
- MONITOR = 128¶
Monitor registered directories for changes, and auto-reload metadata if necessary.
- IGNORE_CACHE_AGE = 16¶
Load fresh data even if an up-o-date cache is available.
- LOAD_OS_METAINFO = 2¶
Load MetaInfo data from OS locations.
- RESOLVE_ADDONS = 32¶
Always resolve addons for returned components.
- LOAD_OS_DESKTOP_FILES = 4¶
Load components from desktop-entry files in OS locations.
- PREFER_OS_METAINFO = 64¶
Prefer local metainfo data over the system-provided catalog data. Useful for previewing local data.
- LOAD_FLATPAK = 8¶
Load AppStream catalog metadata from Flatpak.
- class AppStream.ReviewFlags(value)¶
Bases:
GObject.GFlags
The flags for the review.
New in version 0.14.0.
- NONE = 0¶
No special flags set
- SELF = 1¶
The user wrote the review themselves
- VOTED = 2¶
The user voted on the review
- class AppStream.ValueFlags(value)¶
Bases:
GObject.GFlags
Set how values assigned to an
AppStream.Component
should be treated when they are set or retrieved.- NONE = 0¶
No flags.
- DUPLICATE_CHECK = 1¶
Check for duplicates when adding items to list values.
- NO_TRANSLATION_FALLBACK = 2¶
Don’t fall back to C when retrieving translated values.
- class AppStream.VercmpFlags(value)¶
Bases:
GObject.GFlags
The flags used when matching unique IDs.
- NONE = 0¶
No flags set
- IGNORE_EPOCH = 1¶
Ignore epoch part of a version string.