Control.getColor

Returns a color from assigned Theme with given name and associated with Control of given node_type.

More...
struct Control
@nogc nothrow const
Color
getColor
(
in String name
,
in String node_type = gs!""
)

Detailed Description

func _ready(): modulate = get_color("font_color", "Button") #get the color defined for button fonts

Meta