Learn R Programming

RGtk2 (version 2.20.31)

gtkDragSetDefaultIcon: gtkDragSetDefaultIcon

Description

Changes the default drag icon. GTK+ retains references for the arguments, and will release them when they are no longer needed. 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.

Usage

gtkDragSetDefaultIcon(colormap, pixmap, mask, hot.x, hot.y)

Arguments

colormap
the colormap of the icon
pixmap
the image data for the icon
mask
the transparency mask for an image, or NULL. [ allow-none ]
hot.x
The X offset within widget of the hotspot.
hot.y
The Y offset within widget of the hotspot.