gtk_drag_set_icon_name ()

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.

[method]

Parameters

context

the context for a drag. (This must be called
with a context for the source side of a drag)

Parameters

Types and Values

enum GtkDestDefaults

The GtkDestDefaults enumeration specifies the various
types of action that will be taken on behalf
of the user for a drag destination site.

Members

GTK_DEST_DEFAULT_MOTION

If set for a widget, GTK+, during a drag over this
widget will check if the drag matches this widget’s list of possible targets
and actions.
GTK+ will then call gdk_drag_status() as appropriate.

GTK_DEST_DEFAULT_HIGHLIGHT

If set for a widget, GTK+ will draw a highlight on
this widget as long as a drag is over this widget and the widget drag format
and action are acceptable.

GTK_DEST_DEFAULT_DROP

If set for a widget, when a drop occurs, GTK+ will
will check if the drag matches this widget’s list of possible targets and
actions. If so, GTK+ will call gtk_drag_get_data() on behalf of the widget.
Whether or not the drop is successful, GTK+ will call gtk_drag_finish(). If
the action was a move, then if the drag was successful, then TRUE will be
passed for the delete
parameter to gtk_drag_finish().