zng_wgt_ansi_text

Function default_text_fn

source
pub fn default_text_fn(args: TextFnArgs) -> impl UiNode
Expand description

Default TEXT_FN_VAR.

This view is configured by contextual variables like BLINK_INTERVAL_VAR and all text variables that are not overridden by the ANSI style, like the font.

Returns a Text! with the text and style.