Remove all drag bindings for a given action.
(&mut self, action: DragAction)
| 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 | /// |