Package: gtk

Function gtk:drag-dest-target-list

Lambda List

gtk:drag-dest-target-list (widget)

Syntax

(gtk:dag-dest-target-list widget) => tlist
(setf (gtk:drag-dest-target-list widget) tlist)

Arguments

widget -- a gtk:widget object that is a drag destination
tlist -- a gtk:target-list instance of droppable targets, or nil for none

Details

The gtk:drag-dest-target-list function returns the list of targets this widget can accept from drag and drop. The (setf gtk:drag-dest-target-list) function sets the target types. The widget must first be made into a drag destination with the gtk:drag-dest-set function.
 

See also

2024-3-24