get_by_id


Description:

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

Returns a GroupLayer representing layer_id.

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

Parameters:

layer_id

The layer id.

Returns:

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