From 8b043252267e6ebdde5b6daeb9d8b935c10ad468 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 12 Sep 2016 10:52:27 +0000 Subject: 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 --- documentation/src/subclassing.dox | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'documentation/src') 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(). -- cgit v1.2.3