Method

Gtk.Application.get_window_by_id

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().

Parameters

id guint
 

an identifier number

Return value

Returns: GtkWindow

the window for the given id

Ownership is not transferred to the caller
Can be NULL