Method

StThemeNodeget_background_gradient

Declaration [src]

void
st_theme_node_get_background_gradient (
  StThemeNode* node,
  StGradientType* type,
  ClutterColor* start,
  ClutterColor* end
)

Description [src]

The start and end arguments will only be set if type is not #ST_GRADIENT_NONE.

Parameters

type

Type: StGradientType

Type of gradient.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
start

Type: ClutterColor

Color at start of gradient.

The argument will be set by the function.
The returned data is owned by the instance.
end

Type: ClutterColor

Color at end of gradient.

The argument will be set by the function.
The returned data is owned by the instance.