zng::tip

Function style_fn

source
pub fn style_fn(
    child: impl UiNode,
    style_fn: impl IntoVar<StyleFn>,
) -> impl UiNode
Expand description

P Extends or replaces the widget style.

Properties and when conditions in the style are applied to the widget. Style instances extend the contextual style by default, you can set replace on a style to true to fully replace.