zng_wgt_undo_history

Function undo_entry_fn

Source
pub fn undo_entry_fn(
    child: impl UiNode,
    wgt_fn: impl IntoVar<WidgetFn<UndoEntryArgs>>,
) -> impl UiNode
Expand description

P Widget function that converts UndoEntryArgs to widgets.

Try undo_button_style_fn for making only visual changes.

Sets the UNDO_ENTRY_FN_VAR.