summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-03-04 13:33:59 (GMT)
committerdkf <dkf@noemail.net>2010-03-04 13:33:59 (GMT)
commitec655cc5bc0d0a0eeef32b3aadac0e599652fb99 (patch)
treedab2263464cd715a57ebc44f966b782e684325e0 /doc
parentc8ff96606f48027ca1ffc5293140b63309bfd251 (diff)
downloadtk-ec655cc5bc0d0a0eeef32b3aadac0e599652fb99.zip
tk-ec655cc5bc0d0a0eeef32b3aadac0e599652fb99.tar.gz
tk-ec655cc5bc0d0a0eeef32b3aadac0e599652fb99.tar.bz2
Added note about transfer types, prompted by question on Tcler's Chat.
FossilOrigin-Name: b7647c6329eb32dd2c73f7002bbba7e47e7a5fbf
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 d0ea02b..46c2a00 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.16 2007/12/13 15:23:43 dgp Exp $
+'\" RCS: @(#) $Id: clipboard.n,v 1.16.2.1 2010/03/04 13:34:00 dkf Exp $
'\"
.so man.macros
.TH clipboard n 8.4 Tk "Tk Built-In Commands"
@@ -90,6 +90,11 @@ the data is to be returned and should be an atom name such as STRING
or FILE_NAME. \fIType\fR defaults to STRING. This command is
equivalent to
.QW "\fBselection get \-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
Get the current contents of the clipboard.
.CS