mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 23:06:54 +08:00
Clean up new DND docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -227,18 +227,20 @@ selection indication. Most modern programs ignore this.
|
|||||||
|
|
||||||
<H2><A NAME="dnd">Drag And Drop Events</A></H2>
|
<H2><A NAME="dnd">Drag And Drop Events</A></H2>
|
||||||
|
|
||||||
<P>FLTK supports Drag And Drop of text and files from any
|
<P>FLTK supports drag and drop of text and files from any
|
||||||
application on the desktop. Text is transfered as ASCII using
|
application on the desktop. Text is transfered using
|
||||||
the current code page. Files are received as a list of full path
|
the current code page. Files are received as a list of full path
|
||||||
and file names, seperated by newline. On some platforms, path
|
and file names, seperated by newline. On some platforms, path
|
||||||
names are prepended with <tt>file://</tt>.
|
names are prepended with <tt>file://</tt>.
|
||||||
|
|
||||||
<P>The Drag And Drop data is available in <tt>Fl::event_text()</tt>
|
<P>The drag and drop data is available in <tt>Fl::event_text()</tt>
|
||||||
at the concluding <tt>FL_PASTE</tt>. On some platforms, the
|
at the concluding <tt>FL_PASTE</tt>. On some platforms, the
|
||||||
event text is already available for all <tt>FL_DND_*</tt> events.
|
event text is also available for the <tt>FL_DND_*</tt> events,
|
||||||
|
however application must not depend on that behavior because it
|
||||||
|
depends on the protocol used on each platform.
|
||||||
|
|
||||||
<P><tt>FL_DND_*</tt> events can not be used in widgets derived
|
<P><tt>FL_DND_*</tt> events cannot be used in widgets derived
|
||||||
form <tt>Fl_Group</tt> or <tt>Fl_Window</tt>.
|
from <tt>Fl_Group</tt> or <tt>Fl_Window</tt>.
|
||||||
|
|
||||||
<H3>FL_DND_ENTER</H3>
|
<H3>FL_DND_ENTER</H3>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user