Gimp.Display.get_by_id

function get_by_id(display_id: Number(gint32)): Gimp.Display {
    // Gjs wrapper for gimp_display_get_by_id()
}
  

Returns a Gimp.Display representing display_id.

Since 3.0

display_id

The display id.

Returns

a Gimp.Display for display_id or null if display_id does not represent a valid display. The object belongs to libgimp and you must not modify or unref it.