Function

GioFileProgressCallback

Declaration

void
(* GFileProgressCallback) (
  goffset current_num_bytes,
  goffset total_num_bytes,
  gpointer user_data
)

Description [src]

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 goffset
 

The current number of bytes in the operation.

total_num_bytes goffset
 

The total number of bytes in the operation.

user_data gpointer
 

User data passed to the callback.