get_by_id


Description:

[ Version ( since = "3.0" ) ]
public static unowned Display? get_by_id (int32 display_id)

Returns a Display representing display_id.

Note: in most use cases, you should not need to retrieve a Display by its ID, which is mostly internal data and not reusable across sessions. Use the appropriate functions for your use case instead.

Parameters:

display_id

The display id.

Returns:

a 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.