PackageKitGlib.Details

g GObject.Object GObject.Object PackageKitGlib.Source PackageKitGlib.Source GObject.Object->PackageKitGlib.Source PackageKitGlib.Details PackageKitGlib.Details PackageKitGlib.Source->PackageKitGlib.Details

Subclasses:

None

Methods

Inherited:

PackageKitGlib.Source (1), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_description ()

get_download_size ()

get_group ()

get_license ()

get_package_id ()

get_size ()

get_summary ()

get_url ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

PackageKitGlib.Source (2)

Name

Type

Flags

Short Description

description

str

r/w

download-size

int

r/w

group

PackageKitGlib.GroupEnum

r/w

license

str

r/w

package-id

str

r/w

size

int

r/w

summary

str

r/w

url

str

r/w

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

PackageKitGlib.Source

r

priv

PackageKitGlib.DetailsPrivate

r

Class Details

class PackageKitGlib.Details(**kwargs)
Bases:

PackageKitGlib.Source

Abstract:

No

Structure:

PackageKitGlib.DetailsClass

classmethod new()
Returns:

a new PackageKitGlib.Details object.

Return type:

PackageKitGlib.Details

New in version 0.5.4.

get_description()
Returns:

string value

Return type:

str

Gets the description for the details object.

New in version 0.8.12.

get_download_size()
Returns:

the package download size, 0 if already downloaded and GObject.G_MAXUINT64 when unknown

Return type:

int

Gets the package download size.

New in version 1.2.4.

get_group()
Returns:

string value

Return type:

PackageKitGlib.GroupEnum

Gets the group for the details object.

New in version 0.8.12.

get_license()
Returns:

string value

Return type:

str

Gets the license for the details object.

New in version 0.8.12.

get_package_id()
Returns:

string value

Return type:

str

Gets the PackageId for the details object.

New in version 0.8.12.

get_size()
Returns:

string value

Return type:

int

Gets the size for the details object: for installed packages it will return the installed size, for the rest the package size.

New in version 0.8.12.

get_summary()
Returns:

string value

Return type:

str

Gets the summary for the details object.

New in version 0.9.1.

get_url()
Returns:

string value

Return type:

str

Gets the url for the details object.

New in version 0.8.12.

Property Details

PackageKitGlib.Details.props.description
Name:

description

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Details.props.download_size
Name:

download-size

Type:

int

Default Value:

18446744073709551615

Flags:

READABLE, WRITABLE

New in version 1.2.4.

PackageKitGlib.Details.props.group
Name:

group

Type:

PackageKitGlib.GroupEnum

Default Value:

PackageKitGlib.GroupEnum.UNKNOWN

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Details.props.license
Name:

license

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Details.props.package_id
Name:

package-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Details.props.size
Name:

size

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Details.props.summary
Name:

summary

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.9.1.

PackageKitGlib.Details.props.url
Name:

url

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.