diff options
author | ericm <ericm@noemail.net> | 2000-05-14 23:25:02 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-05-14 23:25:02 (GMT) |
commit | 48c2264924c5f59552b6de950e15887a365e07d0 (patch) | |
tree | 8af676e2dbc9ae13cebab793f841d51a4a46b932 /doc | |
parent | 29ba50deb33c7d5e0dbb1bba012420b8db82a575 (diff) | |
download | tk-48c2264924c5f59552b6de950e15887a365e07d0.zip tk-48c2264924c5f59552b6de950e15887a365e07d0.tar.gz tk-48c2264924c5f59552b6de950e15887a365e07d0.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".
FossilOrigin-Name: e5e8f13ef0db99cadf54a47aed90fa44daed5435
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 |