Function zng_wgt_style::replace

source ·
pub fn replace(replace: impl IntoValue<bool>)
Expand description

c Fully replace the contextual style.

This is not enabled by default, if set to true the contextual style properties are removed.

§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.