Signal

GtkWindow::set-focus

since: 2.24

Declaration

void
set_focus (
  GtkWindow* self,
  GtkWidget* widget,
  gpointer user_data
)

Description [src]

This signal is emitted whenever the currently focused widget in this window changes.

Default handler:

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

Available since: 2.24

Parameters

widget

Type: GtkWidget

The newly focused widget (or NULL for no focus)

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