Function

GimpDisplayid_is_valid

since: 3.0

Declaration [src]

gboolean
gimp_display_id_is_valid (
  gint display_id
)

Description [src]

Returns TRUE if the display ID is valid.

This procedure checks if the given display ID is valid and refers to an existing display.

Note: in most use cases, you should not use this function. If you got a GimpDisplay from the API, you should trust it is valid. This function is mostly for internal usage.

Available since: 3.0

Parameters

display_id

Type: gint

The display ID to check.

Return value

Type: gboolean

Whether the display ID is valid.