StyleContext.getColor

Gets the foreground color for a given state.

See Style.contextGetProperty 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