set_selection_color


Description:

public void set_selection_color (Color? color)

Sets the color of the selection of a Text actor.

If color is null, the selection color will be the same as the cursor color, or if no cursor color is set either then it will be the same as the text color.

Parameters:

this

a Text

color

the color of the selection, or null to unset it




2022 vala-language.org