Color.setForegroundColor

Set the foreground color of the widget.

mixintemplate Color()
setForegroundColor
(
this T
)
(
string color
)

Parameters

color string

The name of the color, e.g. 'black' or a hex value, e.g. '#000000'.

Return Value

Type: auto

This widget to aid method chaining.

See Also

tkd.element.color for standard defined colors.

Meta