AppStream.Bundle

g AppStream.Bundle AppStream.Bundle GObject.Object GObject.Object GObject.Object->AppStream.Bundle

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_id ()

get_kind ()

set_id (id)

set_kind (kind)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class AppStream.Bundle(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

AppStream.BundleClass

classmethod new()
Returns:

a AppStream.Bundle

Return type:

AppStream.Bundle

Creates a new AppStream.Bundle.

New in version 0.10.

get_id()
Returns:

ID, e.g. “foobar-1.0.2”

Return type:

str

Gets the ID for this bundle.

New in version 0.10.

get_kind()
Returns:

the AppStream.BundleKind

Return type:

AppStream.BundleKind

Gets the bundle kind.

New in version 0.10.

set_id(id)
Parameters:

id (str) – the URL.

Sets the ID for this bundle.

New in version 0.10.

set_kind(kind)
Parameters:

kind (AppStream.BundleKind) – the AppStream.BundleKind, e.g. AppStream.BundleKind.LIMBA.

Sets the bundle kind.

New in version 0.10.