id_is_valid


Description:

[ Version ( since = "3.0" ) ]
public static bool id_is_valid (int display_id)

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 [class@Gimp.Display] from the API, you should trust it is valid. This function is mostly for internal usage.

Parameters:

display_id

The display ID to check.

Returns:

Whether the display ID is valid.