get_layer_by_name


Description:

[ Version ( since = "2.8" ) ]
public unowned Layer get_layer_by_name (string name)

Find a layer with a given name in an image.

This procedure returns the layer with the given name in the specified image.

Parameters:

this

The image.

name

The name of the layer to find.

Returns:

The layer with the specified name.