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

Method bind_double_click

src/controls.rs:209–212  ·  view source on GitHub ↗

Bind a mouse double-click trigger to an action.

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

Source from the content-addressed store, hash-verified

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> {

Callers 2

defaultMethod · 0.80
set_double_clickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected