Package: gdk

GFlags gdk-drag-action

Details

Used in the gdk-drag-context object to indicate what the destination should do with the dropped data.
(define-g-flags "GdkDragAction" gdk-drag-action
  (:export t
   :type-initializer "gdk_drag_action_get_type")
  (:default 1)
  (:copy 2)
  (:move 4)
  (:link 8)
  (:private 16)
  (:ask 32))  
:default
Means nothing, and should not be used.
:copy
Copy the data.
:move
Move the data, i.e. 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.
 

See also

2021-10-3