Function zng_wgt_grid::auto_grow_fn

source ·
pub fn auto_grow_fn(auto_grow: impl IntoVar<WidgetFn<AutoGrowFnArgs>>)
Expand description

c Widget function used when new rows or columns are needed to cover a cell placement.

The function is used according to the auto_grow_mode. Note that imaginary rows or columns are used if the function is WidgetFn::nil.

§Capture-Only

This property is capture-only, it only defines a property signature, it does not implement any behavior by itself. Widgets can capture and implement this property as part of their intrinsics, otherwise it will have no effect if set on a widget that does not implement it.