Package: gtk

Function gtk:drop-target-new

Lambda List

gtk:drop-target-new (gtype actions)

Arguments

gtype -- a g:type-t type ID with the supported type
actions -- a gdk:drag-action value with the supported actions

Return Value

The new gtk:drop-target object.

Details

Creates a new drop target. If the drop target should support more than one type, pass nil for gtype and then call the gtk:drop-target-gtypes function.
 

See also

2024-11-2