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

Method key_enabled

examples/controls_toggles.rs:148–150  ·  view source on GitHub ↗
(&self, key: &keyboard::Key, action: KeyAction)

Source from the content-addressed store, hash-verified

146 }
147
148 fn key_enabled(&self, key: &keyboard::Key, action: KeyAction) -> bool {
149 self.widget.get_controls().key_is_bound(key, action)
150 }
151
152 fn update(&mut self, message: Message) {
153 match message {

Callers

nothing calls this directly

Calls 2

key_is_boundMethod · 0.80
get_controlsMethod · 0.80

Tested by

no test coverage detected