Package: gdk

GFlags gdk:drag-action

Declaration

(gobject:define-gflags "GdkDragAction" drag-action
  (:export t
   :type-initializer "gdk_drag_action_get_type")
  (:default 1)
  (:copy 2)
  (:move 4)
  (:link 8)
  (:private 16)
  (:ask 32))  

Values

:default
Means nothing, and should not be used.
:copy
Copy the data.
:move
Move the data, that is, first copy it, then delete it from the source using the "DELETE" target of the X selection protocol.
:link
Add a link to the data. Note that this is only useful if source and destination agree on what it means.
:private
Special action which tells the source that the destination will do something that the source does not understand.
:ask
Ask the user what to do with the data.

Details

Used in the gdk:drag-context object to indicate what the destination should do with the dropped data.
 

See also

2024-6-28