DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2281
Version: 1.3-feature


"static void Fl::copy   (       const char *     stuff,
                int     len,
                int     clipboard = 0    
        )                       [static, inherited]

Copies the data pointed to by stuff to the selection (0) or primary (1)
clipboard.

The selection clipboard is used for middle-mouse pastes and for
drag-and-drop selections. The primary clipboard is used for traditional
copy/cut/paste operations."

"static void Fl::paste          (       Fl_Widget &      receiver,
                int     clipboard        
        )                       [static, inherited]

Pastes the data from the selection (0) or primary (1) clipboard into
receiver.

The selection clipboard is used for middle-mouse pastes and for
drag-and-drop selections. The primary clipboard is used for traditional
copy/cut/paste operations. "


1. The primary clipboard is used for middle-mouse paste and dnd on linux.
For middle-mouse paste, I must set clipboard to 0 (use primary 
   buffer).  
2. The clipboard buffer is used for traditional copy/cut/paste-operations,
but not primary buffer.

There are three selection buffers (PRIMARY, SECONDARY, CLIPBOARD) defined
in the ICCCM: 
 
http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt


Link: http://www.fltk.org/str.php?L2281
Version: 1.3-feature

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to