on_disabled_touch_long_press

Function on_disabled_touch_long_press 

Source
pub fn on_disabled_touch_long_press(
    child: impl IntoUiNode,
    handler: Box<dyn FnMut(&TouchLongPressArgs) -> HandlerResult + Send>,
) -> UiNode
Expand description

P Single touch contact was made and held in place for a duration of time (default 500ms) on the widget and the widget is disabled.

§Preview

You can preview this event using on_pre_disabled_touch_long_press. Otherwise the handler is only called after the widget content has a chance to stop propagation.

§Async

You can use async event handlers with this property.