Flags

Details

class Flatpak.InstallFlags(value)

Bases: GObject.GFlags

Flags to alter the behavior of Flatpak.Installation.install_full().

NONE = 0

Default

NO_STATIC_DELTAS = 1

Don’t use static deltas when pulling

NO_TRIGGERS = 16

Don’t call triggers after installing. If used, the caller must later call Flatpak.Installation.run_triggers() to update the exported files.

New in version 1.0.3.

NO_DEPLOY = 4

Don’t install any new builds that might be fetched

NO_PULL = 8

Don’t try to fetch new builds from the remote repo

class Flatpak.LaunchFlags(value)

Bases: GObject.GFlags

Flags to alter the behavior of Flatpak.Installation.launch_full().

NONE = 0

Default

DO_NOT_REAP = 1

Do not reap the child. Use this if you want to wait for the child with GLib.child_watch_add().

New in version 1.1.

class Flatpak.QueryFlags(value)

Bases: GObject.GFlags

Flags to alter the behavior of e.g Flatpak.Installation.list_remote_refs_sync_full().

New in version 1.3.3.

NONE = 0

Default

ONLY_CACHED = 1

Don’t do any network i/o, but only return cached data. This can return stale data, or a Flatpak.Error.NOT_CACHED error, however it is a lot more efficient if you’re doing many requests.

ONLY_SIDELOADED = 2

Only list refs available from sideload repos; see flatpak(1).

New in version 1.7.

ALL_ARCHES = 4

Include refs from all arches, not just the primary ones.

New in version 1.11.2.

class Flatpak.TransactionErrorDetails(value)

Bases: GObject.GFlags

The details for Flatpak.Transaction ::operation-error.

FATAL = 1

The operation failure was not fatal

class Flatpak.TransactionResult(value)

Bases: GObject.GFlags

The details for Flatpak.Transaction ::operation-done.

CHANGE = 1

The update caused no changes

class Flatpak.UninstallFlags(value)

Bases: GObject.GFlags

Flags to alter the behavior of Flatpak.Installation.uninstall_full().

New in version 0.11.8.

NONE = 0

Default

NO_PRUNE = 1

Don’t prune the local OSTree repository after uninstalling

NO_TRIGGERS = 2

Don’t call triggers after uninstalling. If used, the caller must later call Flatpak.Installation.run_triggers() to update the exported file.

New in version 1.0.3.

class Flatpak.UpdateFlags(value)

Bases: GObject.GFlags

Flags to alter the behavior of Flatpak.Installation.update().

NONE = 0

Fetch remote builds and install the latest one (default)

NO_DEPLOY = 1

Don’t install any new builds that might be fetched

NO_TRIGGERS = 16

Don’t call triggers after updating. If used, the caller must later call Flatpak.Installation.run_triggers() to update the exported files.

New in version 1.0.3.

NO_PULL = 2

Don’t try to fetch new builds from the remote repo

NO_STATIC_DELTAS = 4

Don’t use static deltas when pulling

NO_PRUNE = 8

Don’t prune the local OSTree repository after updating

New in version 0.11.8.