allow_transparency

Function allow_transparency 

Source
pub fn allow_transparency(wgt: &mut WidgetBuilding, allow: impl IntoValue<bool>)
Expand description

B If semi-transparent content is see-through, mixing with the operating system pixels behind the window.

Note that to actually see behind the window you must set the clear_color and background_color to a transparent color. The composition is a simple alpha blend, effects like blur do not apply to the pixels behind the window.

ยงMixin Property

This property is a mixin, it modifies the widget builder during build, it does not produce a standalone UI node.