Class

PackageKitProgress

Description [src]

class PackageKit.Progress : GObject.Object
{
  PkProgressPrivate* priv
}

Transaction progress information

This GObject is available to clients to be able to query details about the transaction. All of the details on this object are stored as properties.

Ancestors

Constructors

pk_progress_new

PkProgress is a nice GObject wrapper for PackageKit and makes writing frontends easy.

since: 0.5.2

Instance methods

pk_progress_get_allow_cancel

Get if this transaction can be cancelled.

since: 1.0.12

pk_progress_get_caller_active

Get if the transaction caller is connected.

since: 1.0.12

pk_progress_get_download_size_remaining

Get the number of bytes remaining to download.

since: 1.0.12

pk_progress_get_elapsed_time

Get the amount of time the transaction has taken.

since: 1.0.12

pk_progress_get_item_progress

Get the item progress associated with this transaction.

since: 1.0.12

pk_progress_get_package

Get the package this transaction is acting on.

since: 1.0.12

pk_progress_get_package_id

Get the package ID this transaction is acting on.

since: 1.0.12

pk_progress_get_percentage

Get the percentage complete.

since: 1.0.12

pk_progress_get_remaining_time

Get the amount of time the transaction will take to complete.

since: 1.0.12

pk_progress_get_role

Get the role of this transaction.

since: 1.0.12

pk_progress_get_sender

Get the D-Bus name of the client that started this transaction.

since: 1.2.6

pk_progress_get_speed

Get the speed of this transaction.

since: 1.0.12

pk_progress_get_status

Get the status of this transaction.

since: 1.0.12

pk_progress_get_transaction_flags

Get the flags associated with this transaction.

since: 1.0.12

pk_progress_get_transaction_id

Get the ID used by this transaction.

since: 1.0.12

pk_progress_get_uid

Get the UID that started this transaction.

since: 1.0.12

pk_progress_set_allow_cancel

Set if this transaction can be cancelled.

since: 0.5.2

pk_progress_set_caller_active

Set if the transaction caller is connected.

since: 0.5.2

pk_progress_set_download_size_remaining

Set the number of bytes remaining to download.

since: 0.8.0

pk_progress_set_elapsed_time

Set the amount of time the transaction has taken.

since: 0.5.2

pk_progress_set_item_progress

Set the item progress associated with this transaction.

since: 0.8.1

pk_progress_set_package

Set the package this transaction is acting on.

since: 0.5.2

pk_progress_set_package_id

Set the package ID this transaction is acting on.

since: 0.5.2

pk_progress_set_percentage

Set the percentage complete of this transaction.

since: 0.5.2

pk_progress_set_remaining_time

Set the amount of time the transaction will take to complete.

since: 0.5.2

pk_progress_set_role

Set the role of this transaction.

since: 0.5.2

pk_progress_set_sender

Set the D-Bus name of the client that started this transaction.

since: 1.2.6

pk_progress_set_speed

Set the speed of this transaction.

since: 0.5.2

pk_progress_set_status

Set the status of this transaction.

since: 0.5.2

pk_progress_set_transaction_flags

Set the flags associated with this transaction.

since: 0.8.8

pk_progress_set_transaction_id

Set the ID used by this transaction.

since: 0.5.3

pk_progress_set_uid

Set the UID that started this transaction.

since: 0.5.2

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

PackageKit.Progress:allow-cancel

TRUE if this transaction can be cancelled.

since: 0.5.2

PackageKit.Progress:caller-active

TRUE if the transaction caller is still connected.

since: 0.5.2

PackageKit.Progress:download-size-remaining

Number of bytes remaining to download.

since: 0.8.0

PackageKit.Progress:elapsed-time

Amount of time the transaction has taken in seconds.

since: 0.5.2

PackageKit.Progress:item-progress

Item progress associated with this transaction.

since: 0.8.1

PackageKit.Progress:package

The package this transaction is acting on.

since: 0.5.3

PackageKit.Progress:package-id

Full package ID this transaction is acting on. e.g. ‘gnome-power-manager;0.1.2;i386;fedora’.

since: 0.5.2

PackageKit.Progress:percentage

Percentage complete of this transaction.

since: 0.5.2

PackageKit.Progress:remaining-time

Amount of time the transaction will take to complete in seconds or 0 if unknown.

since: 0.5.2

PackageKit.Progress:role

Role of this transaction.

since: 0.5.2

PackageKit.Progress:sender

The D-Bus name of the client that started this transaction.

since: 1.2.6

PackageKit.Progress:speed

Transaction speed in bits per second or 0 if unknown.

since: 0.5.2

PackageKit.Progress:status

Status of this transaction.

since: 0.5.2

PackageKit.Progress:transaction-flags

A PkBitfield containing PkTransactionFlagEnum associated with this transaction.

since: 0.8.8

PackageKit.Progress:transaction-id

ID used by this transaction.

since: 0.5.2

PackageKit.Progress:uid

The UID that started this transaction.

since: 0.5.2

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PackageKitProgressClass {
  GObjectClass parent_class;
  void (* _pk_reserved1) (
void
  );
  void (* _pk_reserved2) (
void
  );
  void (* _pk_reserved3) (
void
  );
  void (* _pk_reserved4) (
void
  );
  void (* _pk_reserved5) (
void
  );
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.

_pk_reserved1: void (* _pk_reserved1) ( void )

No description available.

_pk_reserved2: void (* _pk_reserved2) ( void )

No description available.

_pk_reserved3: void (* _pk_reserved3) ( void )

No description available.

_pk_reserved4: void (* _pk_reserved4) ( void )

No description available.

_pk_reserved5: void (* _pk_reserved5) ( void )

No description available.