Method
HexDocumentread_async
Declaration
void
hex_document_read_async (
HexDocument* doc,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Read the GFile
into the buffer connected to the HexDocument
object.
This method is mostly a wrapper around hex_buffer_read_async()
but will allow additional steps and appropriate signals to be emitted
applicable to the document object above and beyond the buffer, when
the operation completes.
This method completes asynchronously. Use hex_document_read_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
cancellable
-
Type:
GCancellable
A
GCancellable
.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
Function to be called when the operation is complete.
The argument can be NULL
. user_data
-
Type:
gpointer
No description available.
The argument can be NULL
.The data is owned by the caller of the method.