FileProgressCallback
Description:
[ CCode ( instance_pos = 2.9 ) ]
public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes)
public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes)
When doing file operations that may take a while, such as moving a file or copying a file, a progress callback is used to pass how far along that operation is to the application.
Parameters:
current_num_bytes |
the current number of bytes in the operation. |
total_num_bytes |
the total number of bytes in the operation. |
data |
user data passed to the callback. |
Namespace: GLib
Package: gio-2.0