Infinityd.ProgressRequest

g GObject.GInterface GObject.GInterface Infinity.Request Infinity.Request GObject.GInterface->Infinity.Request GObject.Object GObject.Object Infinityd.Request Infinityd.Request GObject.Object->Infinityd.Request Infinity.Request->Infinityd.Request Infinityd.ProgressRequest Infinityd.ProgressRequest Infinityd.Request->Infinityd.ProgressRequest

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Infinity.Request (5)

Structs:

GObject.ObjectClass (5)

initiated (total)

progress ()

Virtual Methods

Inherited:

GObject.Object (7), Infinity.Request (2)

Properties

Inherited:

Infinityd.Request (2), Infinity.Request (2)

Name

Type

Flags

Short Description

current

int

r

The current number of finished operations

total

int

r

The total number of operations

Signals

Inherited:

GObject.Object (1), Infinity.Request (1)

Fields

Inherited:

GObject.Object (1), Infinity.Request (1)

Name

Type

Access

Description

parent

Infinityd.Request

r

Class Details

class Infinityd.ProgressRequest(**kwargs)
Bases:

Infinityd.Request

Abstract:

No

Structure:

Infinityd.ProgressRequestClass

Infinityd.ProgressRequest is an opaque data type. You should only access it via the public API functions.

initiated(total)
Parameters:

total (int) – The total number of operations.

Initiates the request. A progress request is considered initiated as soon as the total number of operations is known.

progress()

Indicates that one more operation has been finished and changes the Infinityd.ProgressRequest :current property accordingly.

Property Details

Infinityd.ProgressRequest.props.current
Name:

current

Type:

int

Default Value:

0

Flags:

READABLE

The current number of finished operations

Infinityd.ProgressRequest.props.total
Name:

total

Type:

int

Default Value:

0

Flags:

READABLE

The total number of operations