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

Method unbind_key

src/controls.rs:236–238  ·  view source on GitHub ↗

Remove a key binding.

(&mut self, key: &keyboard::Key)

Source from the content-addressed store, hash-verified

234
235 /// Remove a key binding.
236 pub fn unbind_key(&mut self, key: &keyboard::Key) -> Option<KeyAction> {
237 self.key.remove(key)
238 }
239
240 /// Return the key-press action for a key.
241 pub fn key_action(&self, key: &keyboard::Key) -> Option<KeyAction> {

Callers 2

unbind_arrow_panMethod · 0.80
set_keyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected