Label.with_text


Description:

[ CCode ( has_construct_function = false , type = "ClutterActor*" ) ]
public Label.with_text (string text, string? font, Color? text_color, Color? label_color)

Creates a new instance of Label with text value.

Parameters:

text

the text of the label

font

the font to use to draw the text, for example "Courrier Bold 11", can be NULL

text_color

a Color, the color of the text, can be NULL

label_color

a Color, the color of the label, can be NULL

Returns:

a new Label with a drawn label containing the given text.




2022 vala-language.org