From ba0d72184ca56a429976205aeef140c01921d669 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 10 Feb 2007 12:21:35 +0000 Subject: STR 1577: added documentation for Drag And Drop. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/events.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/documentation/events.html b/documentation/events.html index c4838e497..2f1ad1554 100644 --- a/documentation/events.html +++ b/documentation/events.html @@ -227,6 +227,19 @@ selection indication. Most modern programs ignore this.

Drag And Drop Events

+

FLTK supports Drag And Drop of text and files from any +application on the desktop. Text is transfered as ASCII using +the current code page. Files are received as a list of full path +and file names, seperated by newline. On some platforms, path +names are prepended with file://. + +

The Drag And Drop data is available in Fl::event_text() +at the concluding FL_PASTE. On some platforms, the +event text is already available for all FL_DND_* events. + +

FL_DND_* events can not be used in widgets derived +form Fl_Group or Fl_Window. +

FL_DND_ENTER

The mouse has been moved to point at this widget. A widget -- cgit v1.2.3