⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clipboard.n

📁 linux系统下的音频通信
💻 N
字号:
'\"'\" Copyright (c) 1994 The Regents of the University of California.'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" SCCS: @(#) clipboard.n 1.9 96/03/26 18:21:12'\" .so man.macros.TH clipboard n 4.0 Tk "Tk Built-In Commands".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMEclipboard \- Manipulate Tk clipboard.SH SYNOPSIS\fBclipboard \fIoption\fR ?\fIarg arg ...\fR?.BE.SH DESCRIPTION.PPThis command provides a Tcl interface to the Tk clipboard,which stores data for later retrieval using the selection mechanism.In order to copy data into the clipboard, \fBclipboard clear\fR mustbe called, followed by a sequence of one or more calls to \fBclipboardappend\fR.  To ensure that the clipboard is updated atomically, allappends should be completed before returning to the event loop..PPThe first argument to \fBclipboard\fR determines the format of therest of the arguments and the behavior of the command.  The followingforms are currently supported:.PP.TP\fBclipboard clear\fR ?\fB\-displayof\fR \fIwindow\fR?Claims ownership of the clipboard on \fIwindow\fR's display and removesany previous contents.  \fIWindow\fR defaults to ``.''.  Returns anempty string..TP\fBclipboard append\fR ?\fB\-displayof\fR \fIwindow\fR? ?\fB\-format\fR \fIformat\fR? ?\fB\-type\fR \fItype\fR? ?\fB\-\|\-\fR? \fIdata\fRAppends \fIdata\fR to the clipboard on \fIwindow\fR'sdisplay in the form given by \fItype\fR with the representation givenby \fIformat\fR and claims ownership of the clipboard on \fIwindow\fR'sdisplay..RS.PP\fIType\fR specifies the form in which the selection is to be returned(the desired ``target'' for conversion, in ICCCM terminology), andshould be an atom name such as STRING or FILE_NAME; see theInter-Client Communication Conventions Manual for complete details.\fIType\fR defaults to STRING..PPThe \fIformat\fR argument specifies the representation that should beused to transmit the selection to the requester (the second column ofTable 2 of the ICCCM), and defaults to STRING.  If \fIformat\fR isSTRING, the selection is transmitted as 8-bit ASCII characters.  If\fIformat\fR is ATOM, then the \fIdata\fR isdivided into fields separated by white space; each field is convertedto its atom value, and the 32-bit atom value is transmitted instead ofthe atom name.  For any other \fIformat\fR,  \fIdata\fR is dividedinto fields separated by white space and each field is converted to a 32-bit integer; an array of integers istransmitted to the selection requester.  Note that strings passed to\fBclipboard append\fR are concatenated before conversion, so thecaller must take care to ensure appropriate spacing across stringboundaries.  All items appended to the clipboard with the same\fItype\fR must have the same \fIformat\fR..PPThe \fIformat\fR argument is needed only for compatibility withclipboard requesters that don't use Tk.  If the Tk toolkit is beingused to retrieve the CLIPBOARD selection then the value is converted back toa string at the requesting end, so \fIformat\fR isirrelevant..PPA \fB\-\|\-\fR argument may be specified to mark the end of options:  thenext argument will always be used as \fIdata\fR.This feature may be convenient if, for example, \fIdata\fR startswith a \fB\-\fR..RE.SH KEYWORDSclear, format, clipboard, append, selection, type

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -