Method

GtkSymbolicColorto_string

deprecated: 3.8 

Declaration [src]

char*
gtk_symbolic_color_to_string (
  GtkSymbolicColor* color
)

Description [src]

Converts the given color to a string representation. This is useful both for debugging and for serialization of strings. The format of the string may change between different versions of GTK, but it is guaranteed that the GTK css parser is able to read the string and create the same symbolic color from it.

Deprecated since: 3.8

GtkSymbolicColor is deprecated.

Return value

Type: char*

A new string representing color.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.