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

Method drag_enabled

examples/controls_toggles.rs:92–94  ·  view source on GitHub ↗
(&self, button: mouse::Button, action: DragAction)

Source from the content-addressed store, hash-verified

90 }
91
92 fn drag_enabled(&self, button: mouse::Button, action: DragAction) -> bool {
93 self.widget.get_controls().drag_is_bound(button, action)
94 }
95
96 fn set_scroll(&mut self, modifiers: keyboard::Modifiers, action: ScrollAction, enabled: bool) {
97 if enabled {

Callers

nothing calls this directly

Calls 2

drag_is_boundMethod · 0.80
get_controlsMethod · 0.80

Tested by

no test coverage detected