gtkDragSourceSet {RGtk}R Documentation

Set a widget as a potential drop source or destination.

Description

These establish a widget as a drag and drop source or destination.

Usage

gtkDragSourceSet(widget, flags, targets, actions)
gtkDragDestSet(widget, flags, targets, actions)

Arguments

widget the widget
flags the flags that specify what actions GTK+ should take on behalf of a widget for drops onto that widget. The targets and actions fields only are used if GTK\_DEST\_DEFAULT\_MOTION or GTK\_DEST\_DEFAULT\_DROP are given.
targets a pointer to an array of GtkTargetEntry indicating the drop types that this widget will accept.
actions a bitmask of possible actions for a drop onto this widget.

Details

Value

Author(s)

Duncan Temple Lang <duncan@research.bell-labs.com>

References

Information on the package is available from http://www.omegahat.org/RGtk.

Information on Gtk is available from http://www.gtk.org.

See Also

See the Gtk tutorial and API documents at http://developer.gnome.org/doc/API/gtk/gtk-drag-and-drop.html

Examples



[Package RGtk version 0.7-0 Index]