All Manuals > CAPI User Guide > 16 Drag and Drop > 16.2 Dragging

NextPrevUpTopContentsIndex

16.2.2 Dragging values from an output-pane

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

NextPrevUpTopContentsIndex