get_by_id


Description:

[ Version ( since = "3.2" ) ]
public static unowned LinkLayer? get_by_id (int32 layer_id)

Returns a LinkLayer representing layer_id.

This function calls [func@Gimp.Item.get_by_id] and returns the item if it is a link layer or null otherwise.

Parameters:

layer_id

The layer id.

Returns:

a LinkLayer for layer_id or null if layer_id does not represent a valid link layer. The object belongs to libgimp and you must not modify or unref it.