Flatpak.TransactionProgress¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted when some detail of the progress object changes, you can call the various methods to get the current status. |
Fields¶
- Inherited:
Class Details¶
- class Flatpak.TransactionProgress(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_bytes_transferred()¶
- Returns:
the number of bytes transferred
- Return type:
Gets the number of bytes that have been transferred.
New in version 1.1.2.
- get_is_estimating()¶
- Returns:
whether we’re estimating
- Return type:
Gets whether the progress is currently estimating
- get_progress()¶
- Returns:
the current progress, as an integer between 0 and 100
- Return type:
Gets the current progress.
- get_start_time()¶
- Returns:
the start time
- Return type:
Gets the time at which this operation has started, as monotonic time.
New in version 1.1.2.
Signal Details¶
- Flatpak.TransactionProgress.signals.changed(transaction_progress)¶
- Signal Name:
changed
- Flags:
- Parameters:
transaction_progress (
Flatpak.TransactionProgress
) – The object which received the signal
Emitted when some detail of the progress object changes, you can call the various methods to get the current status.