PackageKitGlib.Category

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

get_icon ()

get_id ()

get_name ()

get_parent_id ()

get_summary ()

set_icon (icon)

set_id (cat_id)

set_name (name)

set_parent_id (parent_id)

set_summary (summary)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

PackageKitGlib.Source (2)

Name

Type

Flags

Short Description

cat-id

str

r/w

icon

str

r/w

name

str

r/w

parent-id

str

r/w

summary

str

r/w

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

PackageKitGlib.Source

r

priv

PackageKitGlib.CategoryPrivate

r

Class Details

class PackageKitGlib.Category(**kwargs)
Bases:

PackageKitGlib.Source

Abstract:

No

Structure:

PackageKitGlib.CategoryClass

classmethod new()
Returns:

a new PackageKitGlib.Category object.

Return type:

PackageKitGlib.Category

New in version 0.5.4.

get_icon()
Returns:

the string value, or None for unset.

Return type:

str

Gets the icon filename.

New in version 0.6.2.

get_id()
Returns:

the string value, or None for unset.

Return type:

str

Gets the id specific to this category.

New in version 0.6.2.

get_name()
Returns:

the string value, or None for unset.

Return type:

str

Gets the name.

New in version 0.6.2.

get_parent_id()
Returns:

the string value, or None for unset.

Return type:

str

Gets the parent category id.

New in version 0.6.2.

get_summary()
Returns:

the string value, or None for unset.

Return type:

str

Gets the summary.

New in version 0.6.2.

set_icon(icon)
Parameters:

icon (str) – the new value

Sets the icon filename.

New in version 0.6.2.

set_id(cat_id)
Parameters:

cat_id (str) – the new value

Sets the id specific to this category.

New in version 0.6.2.

set_name(name)
Parameters:

name (str) – the new value

Sets the name.

New in version 0.6.2.

set_parent_id(parent_id)
Parameters:

parent_id (str) – the new value

Sets the parent category id.

New in version 0.6.2.

set_summary(summary)
Parameters:

summary (str) – the new value

Sets the summary.

New in version 0.6.2.

Property Details

PackageKitGlib.Category.props.cat_id
Name:

cat-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Category.props.icon
Name:

icon

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Category.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Category.props.parent_id
Name:

parent-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.

PackageKitGlib.Category.props.summary
Name:

summary

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

New in version 0.5.4.