DragAndDrop.setIconWidget

Changes the icon for a widget to a given widget. GTK+ will not destroy the icon, so if you don't want it to persist, you should connect to the "drag-end" signal and destroy it yourself.

class DragAndDrop
void
setIconWidget

Parameters

widget Widget

a toplevel window to use as an icon.

hotX int

the X offset within widget of the hotspot.

hotY int

the Y offset within widget of the hotspot.

Meta