summaryrefslogtreecommitdiff
path: root/documentation/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-09-12 10:52:27 +0000
committerManolo Gouy <Manolo>2016-09-12 10:52:27 +0000
commit8b043252267e6ebdde5b6daeb9d8b935c10ad468 (patch)
tree25342b026e1a2ab6a145af2e6916914646e4ddb3 /documentation/src
parent70194e154a3ac57e9b4ac177ef1dd3cf15dbffe9 (diff)
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-porting@11934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/src')
-rw-r--r--documentation/src/subclassing.dox14
1 files changed, 9 insertions, 5 deletions
diff --git a/documentation/src/subclassing.dox b/documentation/src/subclassing.dox
index cc26d92bf..0ae55489a 100644
--- a/documentation/src/subclassing.dox
+++ b/documentation/src/subclassing.dox
@@ -482,20 +482,24 @@ or if it is clipped.
\section subclassing_cutnpaste Cut and Paste Support
-FLTK provides routines to cut and paste 8-bit text (in the future this
-may be UTF-8) between applications:
-
+FLTK provides routines to cut and paste UTF-8 encoded text between applications:
+\li Fl::copy()
\li Fl::paste()
\li Fl::selection()
\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
system specific. See \ref osissues for more details.
\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
clipboard and calling the function Fl::dnd().