Skip to main content

drag_hint

Function drag_hint 

Source
pub fn drag_hint(app: &AppHandle) -> Option<String>
Expand description

The hint while a palette is dragged over a target, worded after the drag mode and the keys bound to gesture.workbench.dock (a rebind changes it): “Hold Ctrl to dock” or “Release Ctrl to move only” (modifier-docks), “Hold Ctrl to move without docking” (modifier-floats, the keys not held), “Rest here to dock” (dwell, while the delay runs). None while no palette is dragged over a target.

Experimental: may change in any release (docs/stability.md).