Text.with_text


Description:

[ CCode ( has_construct_function = false , type = "ClutterActor*" ) ]
public Text.with_text (string? font_name, string text)

Creates a new Text actor, using font_name as the font description; text will be used to set the contents of the actor.

This function is equivalent to calling Text, set_font_name, and set_text.

Parameters:

font_name

a string with a font description

text

the contents of the actor

Returns:

the newly created Text actor




2022 vala-language.org