gtkDragSetDefaultIcon: gtkDragSetDefaultIcon

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

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

1
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.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.