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

Method unbind_click

src/controls.rs:194–196  ·  view source on GitHub ↗

Remove a mouse click binding.

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

Source from the content-addressed store, hash-verified

192
193 /// Remove a mouse click binding.
194 pub fn unbind_click(&mut self, button: mouse::Button) -> Option<ClickAction> {
195 self.click.remove(&button)
196 }
197
198 /// Return the action bound to a mouse click trigger.
199 pub fn click_action(&self, button: mouse::Button) -> Option<ClickAction> {

Callers 1

set_clickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected