get_by_name


Description:

[ Version ( since = "3.0" ) ]
public static unowned Gradient? get_by_name (string name)

Returns the gradient with the given name.

Returns an existing gradient having the given name. Returns null when no gradient exists of that name.

Parameters:

name

The name of the gradient.

Returns:

The gradient.