summaryrefslogtreecommitdiffstats
path: root/doc/clipboard.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-03-04 13:34:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-03-04 13:34:00 (GMT)
commit0fa57d5efc72eef6d6cc9528fbff31a060fe5497 (patch)
treedab2263464cd715a57ebc44f966b782e684325e0 /doc/clipboard.n
parenta78e60d70cf7cf8985c0bc05dfb98c770e883aa4 (diff)
downloadtk-0fa57d5efc72eef6d6cc9528fbff31a060fe5497.zip
tk-0fa57d5efc72eef6d6cc9528fbff31a060fe5497.tar.gz
tk-0fa57d5efc72eef6d6cc9528fbff31a060fe5497.tar.bz2
Added note about transfer types, prompted by question on Tcler's Chat.
Diffstat (limited to 'doc/clipboard.n')
-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