Method
IdeHtmlGeneratorgenerate_async
Declaration
void
ide_html_generator_generate_async (
IdeHtmlGenerator* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Asynchronously generate HTML.
This virtual function should be implemented by subclasses to generate HTML based on some form of input (which is left to the subclass).
Upon completion, callback
is called and expected to call
ide_html_generator_generate_finish()
to retrieve the result.
This method completes asynchronously. Use ide_html_generator_generate_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
A function to call after completion.
The argument can be NULL
. user_data
-
Type:
gpointer
Closure data for
callback
.The argument can be NULL
.The data is owned by the caller of the method.