set_icon
Description:
Sets a paintable to use as icon during DND operations.
The hotspot coordinates determine the point on the icon that gets aligned with the hotspot of the cursor.
If paintable
is null, a default icon is used.
This function can be called before a drag is started, or in a prepare or drag_begin signal handler.
Parameters:
this | |
paintable |
the Paintable to use as icon, or null |
hot_x |
the hotspot X coordinate on the icon |
hot_y |
the hotspot Y coordinate on the icon |