get_by_id


Description:

[ Version ( since = "3.0" ) ]
public static unowned VectorLayer? get_by_id (int32 layer_id)

Returns a VectorLayer representing layer_id.

This function calls get_by_id and returns the item if it is layer or null otherwise.

Parameters:

layer_id

The layer id.

Returns:

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