© Joshua M. Willman 2020
J. M. WillmanBeginning PyQthttps://doi.org/10.1007/978-1-4842-5857-6_8

8. Working with the Clipboard

Joshua M. Willman1 
(1)
Hampton, VA, USA
 

One of the major benefits of GUIs is the ability to create programs that can visually interact with your system and other applications. Previous chapters have shown how to use dialog boxes to open and save files to your computer, change fonts or colors, and send images to a printer. In Chapter 8 you will see how to use the clipboard and drag and drop functions to extend the capabilities of your programs even further.

The clipboard is a location in your computer’s memory that is used to temporarily store data that you have copied or cut from an application. The clipboard can store a number ...

Get Beginning PyQt: A Hands-on Approach to GUI Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.