Method

StThemeNodeget_background_gradient

Declaration [src]

void
st_theme_node_get_background_gradient (
  StThemeNode* node,
  StGradientType* type,
  CoglColor* start,
  CoglColor* 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 instance takes ownership of the data, and is responsible for freeing it.
start

Type: CoglColor

Color at start of gradient.

The argument will be set by the function.
The data is owned by the caller of the function.
end

Type: CoglColor

Color at end of gradient.

The argument will be set by the function.
The data is owned by the caller of the function.