Method
IdeSessionAddinrestore_page_async
since: 41
Declaration
void
ide_session_addin_restore_page_async (
IdeSessionAddin* self,
GVariant* state,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Asynchronously requests that addin self restore a page’s session state with
the provided state, previously saved by this addin using
ide_session_addin_save_page_async(). This only happens when opening a project.
Available since: 41
Parameters
state-
Type:
GVariantA
GVariantof previous state.The data is owned by the caller of the function. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackCallback to execute upon completion.
The argument can be NULL. user_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the function.