Bind a mouse double-click trigger to an action.
(&mut self, button: mouse::Button, action: ClickAction)
| 207 | |
| 208 | /// Bind a mouse double-click trigger to an action. |
| 209 | pub fn bind_double_click(&mut self, button: mouse::Button, action: ClickAction) -> &mut Self { |
| 210 | self.double_click.insert(button, action); |
| 211 | self |
| 212 | } |
| 213 | |
| 214 | /// Remove a mouse double-click binding. |
| 215 | pub fn unbind_double_click(&mut self, button: mouse::Button) -> Option<ClickAction> { |
no outgoing calls
no test coverage detected