(&mut self, button: mouse::Button, action: ClickAction, enabled: bool)
| 110 | } |
| 111 | |
| 112 | fn set_click(&mut self, button: mouse::Button, action: ClickAction, enabled: bool) { |
| 113 | if enabled { |
| 114 | self.widget.get_controls_mut().bind_click(button, action); |
| 115 | } else { |
| 116 | self.widget.get_controls_mut().unbind_click(button); |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | fn click_enabled(&self, button: mouse::Button, action: ClickAction) -> bool { |
| 121 | self.widget.get_controls().click_is_bound(button, action) |
no test coverage detected