Flatpak.BundleRef¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Flatpak.BundleRef(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(file)¶
- Parameters:
- Raises:
- Returns:
a new bundle ref.
- Return type:
Creates a new bundle ref for the given file.
- get_appstream()¶
- Returns:
an
GLib.Bytes
with the appstream contents, orNone
- Return type:
Get the compressed appstream for the app/runtime
- get_icon(size)¶
- Parameters:
size (
int
) – 64 or 128- Returns:
an
GLib.Bytes
with png contents- Return type:
Get the icon png data for the app/runtime
- get_installed_size()¶
- Returns:
the installed size
- Return type:
Returns the installed size for the bundle.
- get_metadata()¶
- Returns:
an
GLib.Bytes
with the metadata contents, orNone
- Return type:
Get the metadata for the app/runtime
- get_origin()¶
-
Get the origin url stored in the bundle