The clipboard Command

   

Practical Programming in Tcl & Tk, Third Edition
By Brent B. Welch

Table of Contents
Chapter 35.  Selections and the Clipboard


The clipboard Command

The clipboard command installs values into the CLIPBOARD selection. The CLIPBOARD is meant for values that have been recently or temporarily deleted. It is use for the copy and paste model of selections. You must use the selection command to retrieve values from the CLIPBOARD selection:

 selection get -selection CLIPBOARD 

Table 35-2 summarizes the clipboard command:

Table 35-2. The clipboard command.
clipboard clear ?-displayof win?Clears the CLIPBOARD selection.
clipboard append ?-displayof win? ?-format format? ?-type type? ?--? dataAppends data to the CLIPBOARD with the specified type and format, which both default to STRING.


       
    Top
     



    Practical Programming in Tcl and Tk
    Practical Programming in Tcl and Tk (4th Edition)
    ISBN: 0130385603
    EAN: 2147483647
    Year: 1999
    Pages: 478

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net