get_color


Description:

[ Version ( since = "3.0" ) ]
public RGBA get_color (StateFlags state)

Gets the foreground color for a given state.

See get_property and STYLE_PROPERTY_COLOR for details.

Parameters:

this

a StyleContext

state

state to retrieve the color for

color

return value for the foreground color