/help menu prefix
menu @test {
mouse:/echo mouse moved at $mouse.x $mouse.y in $active $1
sclick:/echo single click at $mouse.x $mouse.y
dclick:/echo double click at $mouse.x $mouse.y
uclick:/echo mouse released at $mouse.x $mouse.y
rclick:/echo single right-click at $mouse.x $mouse.y in $active $1
lbclick:/echo mouse selected $active $1
leave:/echo mouse left $leftwin
drop:/echo drag and drop at $mouse.x $mouse.y
}
See that bottom thing (not the
} ) ??
The
drop event is triggered if you clicked in the window, held the button down, moved the mouse, and then let go of the button.
---
SideNote: Probably only works in PICTURE-windows ...