Make clear that clipboard and drag-n-drop textual data are UTF-8 encoded.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2016-09-12 10:47:05 +00:00
parent 0e94558dda
commit ee0a47973c
+9 -5
View File
@@ -482,20 +482,24 @@ or if it is clipped.
\section subclassing_cutnpaste Cut and Paste Support \section subclassing_cutnpaste Cut and Paste Support
FLTK provides routines to cut and paste 8-bit text (in the future this FLTK provides routines to cut and paste UTF-8 encoded text between applications:
may be UTF-8) between applications: \li Fl::copy()
\li Fl::paste() \li Fl::paste()
\li Fl::selection() \li Fl::selection()
\li Fl::selection_owner() \li Fl::selection_owner()
It may be possible to cut/paste non-text data by using Fl::add_handler(). It is also possible to copy and paste image data between applications:
\li Fl_Copy_Surface
\li Fl::clipboard_contains()
\li Fl::paste()
It may be possible to cut/paste other kinds of data by using Fl::add_handler().
Note that handling events beyond those provided by FLTK may be operating Note that handling events beyond those provided by FLTK may be operating
system specific. See \ref osissues for more details. system specific. See \ref osissues for more details.
\section subclassing_dragndrop Drag And Drop Support \section subclassing_dragndrop Drag And Drop Support
FLTK provides routines to drag and drop 8-bit text between applications: FLTK provides routines to drag and drop UTF-8 encoded text between applications:
Drag'n'drop operations are initiated by copying data to the Drag'n'drop operations are initiated by copying data to the
clipboard and calling the function Fl::dnd(). clipboard and calling the function Fl::dnd().