summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-03-04 13:32:18 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-03-04 13:32:18 (GMT)
commitb4c9b3eb8ad6997dcb49b9f459aaee9fda8cb161 (patch)
tree7ed01440f19ef0b4bd6f6be66f0ee1d8fff4429f /doc
parentf201d409293ee10e5c0cb84ffb88d234a46a2d9a (diff)
downloadtk-b4c9b3eb8ad6997dcb49b9f459aaee9fda8cb161.zip
tk-b4c9b3eb8ad6997dcb49b9f459aaee9fda8cb161.tar.gz
tk-b4c9b3eb8ad6997dcb49b9f459aaee9fda8cb161.tar.bz2
Added note about transfer types, prompted by question on Tcler's Chat.
Diffstat (limited to 'doc')
-rw-r--r--doc/clipboard.n7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/clipboard.n b/doc/clipboard.n
index f442e11..b897b65 100644
--- a/doc/clipboard.n
+++ b/doc/clipboard.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: clipboard.n,v 1.19 2010/01/13 16:09:25 dkf Exp $
+'\" RCS: @(#) $Id: clipboard.n,v 1.20 2010/03/04 13:32:20 dkf Exp $
'\"
.so man.macros
.TH clipboard n 8.4 Tk "Tk Built-In Commands"
@@ -91,6 +91,11 @@ the data is to be returned and should be an atom name such as \fBSTRING\fR
or \fBFILE_NAME\fR. \fIType\fR defaults to \fBSTRING\fR. This command is
equivalent to
.QW "\fBselection\fR \fBget \-selection CLIPBOARD\fR" .
+.RS
+.PP
+Note that on modern X11 systems, the most useful type to retrieve for
+transferred strings is not \fBSTRING\fR, but rather \fBUTF8_STRING\fR.
+.RE
.SH EXAMPLES
.PP
Get the current contents of the clipboard.