Remove a mouse drag binding.
(&mut self, button: mouse::Button)
| 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> { |