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

Method unbind_drag

src/controls.rs:140–142  ·  view source on GitHub ↗

Remove a mouse drag binding.

(&mut self, button: mouse::Button)

Source from the content-addressed store, hash-verified

138
139 /// Remove a mouse drag binding.
140 pub fn unbind_drag(&mut self, button: mouse::Button) -> Option<DragAction> {
141 self.drag.remove(&button)
142 }
143
144 /// Return the action bound to a mouse drag trigger.
145 pub fn drag_action(&self, button: mouse::Button) -> Option<DragAction> {

Callers 2

newMethod · 0.80
set_dragMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected