DragAndDrop.setDefaultIcon

Warning gtk_drag_set_default_icon is deprecated and should not be used in newly-written code. Change the default drag icon via the stock system by changing the stock pixbuf for GTK_STOCK_DND instead. Changes the default drag icon. GTK+ retains references for the arguments, and will release them when they are no longer needed.

class DragAndDrop
static
void
setDefaultIcon

Parameters

colormap Colormap

the colormap of the icon

pixmap Pixmap

the image data for the icon

mask Bitmap

the transparency mask for an image, or NULL. [allow-none]

hotX int

The X offset within widget of the hotspot.

hotY int

The Y offset within widget of the hotspot.

Meta