Method

EvinceDocumentAnnotationset_color

deprecated: 3.6 

Declaration [src]

gboolean
ev_annotation_set_color (
  EvAnnotation* annot,
  const GdkColor* color
)

Description [src]

Set the color of the annotation to color. You can monitor changes to the annotation’s color by connecting to notify::color signal on annot.

Deprecated since: 3.6

Use ev_annotation_set_rgba() instead.

Parameters

color

Type: GdkColor

A GdkColor.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE when the color has been changed, FALSE otherwise.