Function

GtkSymbolicColornew_name

deprecated: 3.8 since: 3.0

Declaration [src]

GtkSymbolicColor*
gtk_symbolic_color_new_name (
  const gchar* name
)

Description [src]

Creates a symbolic color pointing to an unresolved named color. See gtk_style_context_lookup_color() and gtk_style_properties_lookup_color().

Available since: 3.0

Deprecated since: 3.8

GtkSymbolicColor is deprecated.

Parameters

name

Type: const gchar*

Color name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkSymbolicColor

A newly created GtkSymbolicColor.

The caller of the function takes ownership of the data, and is responsible for freeing it.