diff options
author | ericm <ericm> | 2000-05-14 23:25:03 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-05-14 23:25:03 (GMT) |
commit | 5a419fa18771e4048b825850f2c7a861d1103e97 (patch) | |
tree | 8af676e2dbc9ae13cebab793f841d51a4a46b932 /doc | |
parent | fb29a6c87e4505a9ba03eaad1248cecd64640960 (diff) | |
download | tk-5a419fa18771e4048b825850f2c7a861d1103e97.zip tk-5a419fa18771e4048b825850f2c7a861d1103e97.tar.gz tk-5a419fa18771e4048b825850f2c7a861d1103e97.tar.bz2 |
* doc/clipboard.n: Added documentation for "clipboard get".
* generic/tkClipboard.c (Tk_ClipboardCmd): Added "clipboard get"
subcommand [RFE: 4628].
* tests/clipboard.test: Updated to use "clipboard get" instead of
"selection get -s CLIPBOARD".
Diffstat (limited to 'doc')
-rw-r--r-- | doc/clipboard.n | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/clipboard.n b/doc/clipboard.n index 44bb3bb..3417623 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.2 1998/09/14 18:22:55 stanton Exp $ +'\" RCS: @(#) $Id: clipboard.n,v 1.3 2000/05/14 23:25:03 ericm Exp $ '\" .so man.macros .TH clipboard n 4.0 Tk "Tk Built-In Commands" @@ -76,6 +76,13 @@ next argument will always be used as \fIdata\fR. This feature may be convenient if, for example, \fIdata\fR starts with a \fB\-\fR. .RE +.TP +\fBclipboard get\fR ?\fB\-displayof\fR \fIwindow\fR? ?\fB\-type\fR? +Retrieve data from the clipboard on \fIwindow\fR's display. +\fIwindow\fR defaults to ".". \fIType\fR specifies the form in which +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 \fBselection get -selection CLIPBOARD\fR. .SH KEYWORDS clear, format, clipboard, append, selection, type |