From b4c9b3eb8ad6997dcb49b9f459aaee9fda8cb161 Mon Sep 17 00:00:00 2001 From: dkf Date: Thu, 4 Mar 2010 13:32:18 +0000 Subject: Added note about transfer types, prompted by question on Tcler's Chat. --- ChangeLog | 24 ++++++++++++++---------- doc/clipboard.n | 7 ++++++- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index d9a53f7..57e23a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,18 +1,22 @@ +2010-03-04 Donal K. Fellows + + * doc/clipboard.n: Added note about STRING vs. UTF8_STRING types. + 2010-03-02 Jan Nijtmans - * unix/tcl.m4 [Enh 2959069] Support for -fvisibility=hidden - * unix/configure (regenerated with autoconf-2.59) + * unix/tcl.m4: [Tcl FRQ 2959069]: Support for -fvisibility=hidden + * unix/configure: (regenerated with autoconf-2.59) 2010-02-23 Jan Nijtmans - * unix/configure.in Use @EXEEXT@ in stead of @EXT_SUFFIX@ - * unix/tcl.m4 - * unix/Makefile.in Use -DBUILD_tk - * unix/configure (regenerated) - * generic/tkConfig.c Make internal Tk_ObjCustomOption const - * generic/tkPanedWindow.c - * generic/tkTest.c - * generic/tkText.c + * unix/configure.in: Use @EXEEXT@ in stead of @EXT_SUFFIX@ + * unix/tcl.m4: + * unix/Makefile.in: Use -DBUILD_tk + * unix/configure: (regenerated) + * generic/tkConfig.c: Make internal Tk_ObjCustomOption const + * generic/tkPanedWindow.c: + * generic/tkTest.c: + * generic/tkText.c: 2010-02-21 Donal K. Fellows 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. -- cgit v0.12