Method

FoundryGtkGitLanesset_lane_colors

unstable since: 1.2

Declaration [src]

void
foundry_git_lanes_set_lane_colors (
  FoundryGitLanes* self,
  const GdkRGBA* colors,
  guint n_colors
)

Description [src]

Sets the colors to use when drawing graph lanes.

If colors is NULL, the default lane colors are used. When colors is not NULL, the colors are copied and n_colors must be greater than zero.

Available since: 1.2

Parameters

colors

Type: An array of GdkRGBA

The lane colors.

The argument can be NULL.
The length of the array is specified in the n_colors argument.
The data is owned by the caller of the method.
n_colors

Type: guint

The number of colors in colors.