To implement dragging in an
output-pane
include an appropriate callback on the
(:button-1 :press)
gesture in the pane's
input-model
. This callback should call
drag-pane-object
with arguments which provide the data formats and values associated with each format. See the example file in
examples/capi/output-panes/drag-and-drop.lisp
Note: If you implement dragging of text in an
editor-pane
, you will use EDITOR functions such as
editor:points-to-string
to obtain the value for the
:string
format.
CAPI User Guide (Unix version) - 30 Aug 2011