Function

GimpDisplayget_by_id

unstable since: 3.0

Declaration [src]

GimpDisplay*
gimp_display_get_by_id (
  gint32 display_id
)

Description [src]

Returns a GimpDisplay representing display_id.

Available since: 3.0

Parameters

display_id

Type: gint32

The display id.

Return value

Type: GimpDisplay

A GimpDisplay 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.

The data is owned by the called function.
The return value can be NULL.