Virtual Method
IdeSessionAddinrestore_page_async
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 |
GVariant |
A |
|
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 |
Callback to execute upon completion. |
|
user_data |
gpointer |
Closure data for |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |