(&mut self, button: mouse::Button, action: ClickAction, enabled: bool)
| 122 | } |
| 123 | |
| 124 | fn set_double_click(&mut self, button: mouse::Button, action: ClickAction, enabled: bool) { |
| 125 | if enabled { |
| 126 | self.widget |
| 127 | .get_controls_mut() |
| 128 | .bind_double_click(button, action); |
| 129 | } else { |
| 130 | self.widget.get_controls_mut().unbind_double_click(button); |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | fn double_click_enabled(&self, button: mouse::Button, action: ClickAction) -> bool { |
| 135 | self.widget |
no test coverage detected