zng_wgt_ansi_text

Function page_fn

source
pub fn page_fn(
    child: impl UiNode,
    wgt_fn: impl IntoVar<WidgetFn<PageFnArgs>>,
) -> impl UiNode
Expand description

P Widget function that converts PageFnArgs to widgets.

A page is a stack of a maximum of lines_per_page, the text is split in pages mostly for performance reasons.

Sets the PAGE_FN_VAR.