StyleContext.getColor

Gets the foreground color for a given state.

See gtk_style_context_get_property() and #GTK_STYLE_PROPERTY_COLOR for details.

class StyleContext
void
getColor

Parameters

state GtkStateFlags

state to retrieve the color for

color RGBA

return value for the foreground color

Meta