Virtual Method
IdeSessionAddinrestore_page_async
since: 41
Declaration
void
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:
GVariant
A
GVariant
of previous state.The data is owned by the caller of the function. cancellable
-
Type:
GCancellable
A
GCancellable
orNULL
.The argument can be NULL
.The data is owned by the caller of the function. callback
-
Type:
GAsyncReadyCallback
Callback to execute upon completion.
user_data
-
Type:
gpointer
Closure data for
callback
.The argument can be NULL
.The data is owned by the caller of the function.