Method

GtkApplicationget_window_by_id

since: 3.6

Declaration [src]

GtkWindow*
gtk_application_get_window_by_id (
  GtkApplication* application,
  guint id
)

Description [src]

Returns the GtkApplicationWindow with the given ID.

The ID of a GtkApplicationWindow can be retrieved with gtk_application_window_get_id().

Available since: 3.6

Parameters

id

Type: guint

An identifier number.

Return value

Type: GtkWindow

The window with ID id, or NULL if there is no window with this ID.

The returned data is owned by the instance.
The return value can be NULL.