StyleContext.getColor

Gets the foreground color for a given state.

See gtk.style_context.StyleContext.getProperty and #GTK_STYLE_PROPERTY_COLOR for details.

class StyleContext
void
getColor

Parameters

state gtk.types.StateFlags

state to retrieve the color for

color gdk.rgba.RGBA

return value for the foreground color