Declaration
(gobject:define-gflags "GtkDestDefaults" dest-defaults
(:export t
:type-initializer "gtk_dest_defaults_get_type")
(:motion 1)
(:highlight 2)
(:drop 4)
(:all 7)) Values - :motion
- If set for a widget, GTK, during a drag over this widget
will check if the drag matches the list of possible targets and actions of the widget. GTK will then call the gdk:drag-status function as appropriate.
- :highlight
- If set for a widget, GTK will draw a highlight on the
widget as long as a drag is over this widget and the widget drag format and action are acceptable.
- :drop
- If set for a widget, when a drop occurs, GTK will will check
if the drag matches the list of possible targets and actions of the widget. If so, GTK will call the gtk:drag-data function on behalf
of the widget. Whether or not the drop is successful, GTK will call the gtk:drag-finish function. If the action was a move, then if the drag was successful true will be passed for the delete parameter to the gtk:drag-finish function.
- :all
- If set, specifies that all default actions should be taken.
Details The gtk:dest-defaults flags specifies the various types of action
that will be taken on behalf of the user for a drag destination site. |
| See also |