Package: gtk

Function gtk:drag-source-target-list

Lambda List

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

Syntax

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

Arguments

widget -- a gtk:widget that is a drag source
tlist -- a gtk:target-list instance with the draggable targets, or nil for none

Details

The gtk:drag-source-target-list function gets the list of targets this widget can provide for drag and drop. The (setf gtk:drag-source-target-list) function changes the target types.

The widget must first be made into a drag source with the gtk:drag-source-set function.
 

See also

#2023-3-17