MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / remove_drag_action

Method remove_drag_action

src/controls.rs:275–278  ·  view source on GitHub ↗

Remove all drag bindings for a given action.

(&mut self, action: DragAction)

Source from the content-addressed store, hash-verified

273
274 /// Remove all drag bindings for a given action.
275 pub fn remove_drag_action(&mut self, action: DragAction) -> &mut Self {
276 self.drag.retain(|_, bound| *bound != action);
277 self
278 }
279
280 /// Set the mouse button used for a drag action.
281 ///

Callers 1

set_drag_actionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected