Top |
This class represents a request which consists of multiple steps and for which progress on the overall operation is reported.
void infc_progress_request_initiated (InfcProgressRequest *request
,guint total
);
Initiates the request. A progress request is considered initiated as soon as the total number of items is known.
gboolean
infc_progress_request_get_initiated (InfcProgressRequest *request
);
Returns whether the request was initiated, i.e. the total number of items is known.
void
infc_progress_request_progress (InfcProgressRequest *request
);
Indicates that one more operation has been performed and changes the “current” property accordingly. The request must be initiated before this function can be called.
struct InfcProgressRequest;
InfcProgressRequest is an opaque data type. You should only access it via the public API functions.
“current”
property“current” guint
The current number of finished operations.
Flags: Read
Default value: 0