Remove a mouse click binding.
(&mut self, button: mouse::Button)
| 192 | |
| 193 | /// Remove a mouse click binding. |
| 194 | pub fn unbind_click(&mut self, button: mouse::Button) -> Option<ClickAction> { |
| 195 | self.click.remove(&button) |
| 196 | } |
| 197 | |
| 198 | /// Return the action bound to a mouse click trigger. |
| 199 | pub fn click_action(&self, button: mouse::Button) -> Option<ClickAction> { |