Method
GtkStyleContextget_color
since: 3.0
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
-
Type:
GtkStateFlags
State to retrieve the color for.
color
-
Type:
GdkRGBA
Return value for the foreground color.
The argument will be set by the function. The returned data is owned by the instance.