Method

GtkStyleContextget_color

Declaration [src]

void
gtk_style_context_get_color (
  GtkStyleContext* context,
  GtkStateFlags state,
  GdkRGBA* color
)

Description [src]

Gets the foreground color for a given state.

See gtk_style_context_get_property() and

GTK_STYLE_PROPERTY_COLOR for details.

Available since:3.0

Parameters

state GtkStateFlags
 

State to retrieve the color for.

color GdkRGBA
 

Return value for the foreground color.

 The argument will be set by the function.
 The data is owned by the caller of the function.