Method
HexDocumentwrite_to_file_async
Declaration
void
hex_document_write_to_file_async (
HexDocument* doc,
GFile* file,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Write the buffer to file
asynchronously. This can be used for a ‘Save As’
operation. This is the non-blocking version of
hex_document_write_to_file()
.
Note that for both this method and hex_document_write_async()
,
hex_document_write_finish()
is the method to retrieve the return
value in your GAsyncReadyCallback
function.
Parameters
file |
GFile |
|
|
The data is owned by the caller of the function. | |
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
Function to be called when the operation is complete. |
|
The argument can be NULL . | |
user_data |
gpointer |
No description available. | |
The argument can be NULL . | |
The data is owned by the caller of the function. |