Top | ![]() |
![]() |
![]() |
![]() |
KaimingTransactionProgress is an object that represents the progress of a single operation in a transaction. You obtain a KaimingTransactionProgress with the “new-operation” signal.
gboolean
kaiming_transaction_progress_get_is_estimating
(KaimingTransactionProgress *self
);
Gets whether the progress is currently estimating
int
kaiming_transaction_progress_get_progress
(KaimingTransactionProgress *self
);
Gets the current progress.
char *
kaiming_transaction_progress_get_status
(KaimingTransactionProgress *self
);
Gets the current status string
void kaiming_transaction_progress_set_update_frequency (KaimingTransactionProgress *self
,guint update_interval
);
Sets how often progress should be updated.
guint64
kaiming_transaction_progress_get_bytes_transferred
(KaimingTransactionProgress *self
);
Gets the number of bytes that have been transferred.
Since: 1.1.2
guint64
kaiming_transaction_progress_get_start_time
(KaimingTransactionProgress *self
);
Gets the time at which this operation has started, as monotonic time.
Since: 1.1.2
“changed”
signalvoid user_function (KaimingTransactionProgress *object, gpointer user_data)
Emitted when some detail of the progress object changes, you can call the various methods to get the current status.
Flags: Run Last