Signal

GtkApplication::restore-window

unstable since: 4.22

Declaration

void
restore_window (
  GtkApplication* self,
  GtkRestoreReason reason,
  GVariant* state,
  gpointer user_data
)

Description [src]

Emitted when application state is restored.

In response to this signal, you should create a new application window, and add it to application. If reason and state are passed, they should be applied to the newly created window.

GtkApplication will call gtk_window_present() on the window.

Default handler:

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

Available since: 4.22

Parameters

reason

Type: GtkRestoreReason

The reason this window is restored.

state

Type: GVariant

The state to restore, as saved by a GtkApplicationWindow::save-state handler.

The argument can be NULL.
The data is owned by the caller of the function.