StyleContext.getColor

void getColor(gtk.types.StateFlags state, out gdk.rgba.RGBA color)

Gets the foreground color for a given state.

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

Parameters

statestate to retrieve the color for
colorreturn value for the foreground color