class virtual generic_dragg :
object
.. end
Inherits
method virtual add_drop : common -> (common -> common -> unit) -> unit
Add a common where it is possible to drop
self
to. The second argument
is the action to be taken when such a case happen. This callback uses the
dragged common as first argument and the dropped common as the second
argument. There can be several actions on the same common.
Note that actions added while a dragging is in progress won't be triggered
this one time. The opposite is true for removed actions.method virtual remove_drop_action : common -> (common -> common -> unit) -> unit
Removes an action for a particular droppable common.
method virtual remove_drop : common -> unit
Removes entirely an droppable common and all of his actions.
method virtual deactivate_dragg : unit
Temporarely deactivate dragg. Can be reactivated.
method virtual activate_dragg : unit
Activate/Reactivate dragg. Note that draggs are not initialized with
activation, they need to be manually activated.