MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / click_is_bound

Method click_is_bound

src/controls.rs:204–206  ·  view source on GitHub ↗

Return whether a mouse click trigger is bound to an action.

(&self, button: mouse::Button, action: ClickAction)

Source from the content-addressed store, hash-verified

202
203 /// Return whether a mouse click trigger is bound to an action.
204 pub fn click_is_bound(&self, button: mouse::Button, action: ClickAction) -> bool {
205 self.click_action(button) == Some(action)
206 }
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 {

Callers 1

click_enabledMethod · 0.80

Calls 1

click_actionMethod · 0.80

Tested by

no test coverage detected