Class (GI Struct)

St-18StIconColors

The St.IconColors structure encapsulates colors for colorizing a symbolic icon.

Index

Constructors

Properties

error: Cogl.Color
foreground: Cogl.Color
success: Cogl.Color
warning: Cogl.Color
$gtype: GType<IconColors>

Methods

  • Creates a new StIconColors structure that is a copy of the passed in colors. You would use this function instead of st_icon_colors_ref() if you were planning to change colors in the result.

    Returns IconColors

    a newly created St.IconColors.

  • Atomically decrements the reference count of colors by one. If the reference count drops to 0, all memory allocated by the St.IconColors is released.

    Returns void