Package org.gnome.gtk

Class DragIcon

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, Buildable, ConstraintTarget, Native, Root

@Generated("io.github.jwharm.JavaGI") public class DragIcon extends Widget implements Accessible, Buildable, ConstraintTarget, Native, Root
GtkDragIcon is a GtkRoot implementation for drag icons.

A drag icon moves with the pointer during a Drag-and-Drop operation and is destroyed when the drag ends.

To set up a drag icon and associate it with an ongoing drag operation, use getForDrag(org.gnome.gdk.Drag) to get the icon for a drag. You can then use it like any other widget and use setChild(org.gnome.gtk.Widget) to set whatever widget should be used for the drag icon.

Keep in mind that drag icons do not allow user input.