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

Method double_click_is_bound

src/controls.rs:225–227  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

223
224 /// Return whether a mouse double-click trigger is bound to an action.
225 pub fn double_click_is_bound(&self, button: mouse::Button, action: ClickAction) -> bool {
226 self.double_click_action(button) == Some(action)
227 }
228
229 /// Bind a key trigger to an action.
230 pub fn bind_key(&mut self, key: keyboard::Key, action: KeyAction) -> &mut Self {

Callers 1

double_click_enabledMethod · 0.80

Calls 1

double_click_actionMethod · 0.80

Tested by

no test coverage detected