DragAndDrop.setIconName

Sets the icon for a given drag from a named themed icon. See the docs for GtkIconTheme for more details. Note that the size of the icon depends on the icon theme (the icon is loaded at the symbolic size GTK_ICON_SIZE_DND), thus hot_x and hot_y have to be used with care. Since 2.8

class DragAndDrop
void
setIconName
(
string iconName
,
int hotX
,
int hotY
)

Parameters

iconName string

name of icon to use

hotX int

the X offset of the hotspot within the icon

hotY int

the Y offset of the hotspot within the icon

Meta