Signal

GtkApplication::restore-state

unstable since: 4.22

Declaration

gboolean
restore_state (
  GtkApplication* self,
  GtkRestoreReason reason,
  GVariant* state,
  gpointer user_data
)

Description [src]

Emitted when application state is restored.

The handler for this signal should do the opposite of what the corresponding handler for GtkApplication::save-state does.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 4.22

Parameters

reason

Type: GtkRestoreReason

The reason for restoring state.

state

Type: GVariant

An “a{sv}” GVariant with state to restore.

The data is owned by the caller of the function.

Return value

Type: gboolean

True to stop stop further handlers from running.