Format
MouseDrag(over_object,src_location,over_location,src_control,over_control,params)
Args
over_object
: the object under the mouse pointersrc_location
: the turf, stat panel, grid cell, etc. from where the src object was draggedover_location
: the turf, stat panel, grid cell, etc. containing the object under the mouse pointersrc_control
: The id of the skin control the object was dragged fromover_control
: The id of the skin control the object was dragged overparams
: other parameters including mouse/keyboard flags, icon offsets, etc.; see mouse handling
This is called while dragging this object by pressing and holding the left mouse button over the object and moving the mouse. The over_object may be null if dragging over a stat panel or over other empty space.
Don’t define this unless you need it, because it generates extra communication that is otherwise avoided. Most operations can be done through Click()
, DblClick()
, and MouseDrop()
. The other procedures are simply available for completeness.
See also
- DblClick proc (atom)
- MouseDown proc (atom)
- MouseDrag proc (client)
- MouseDrop proc (atom)
- MouseEntered proc (atom)
- MouseExited proc (atom)
- MouseMove proc (atom)
- MouseUp proc (atom)
- MouseWheel proc (atom)
- mouse_drag_pointer var (atom)
- mouse_drop_pointer var (atom)
- mouse_drop_zone var (atom)
- mouse_opacity var (atom)
- mouse_over_pointer var (atom)
- show_popup_menus var (client)