zng::widget

Function is_disabled

source
pub fn is_disabled(child: impl UiNode, state: impl IntoVar<bool>) -> impl UiNode
Expand description

P If the widget is disabled for interaction.

This property is used only for probing the state. You can set the state using the enabled property.