Screen Capture Widget¶
The screen capture widgets makes it easy to take screenshots. Similar to pressing CMD+SHIFT+4/CMD+SHIFT+3 on the mac, this widget implements several different ways in which the screen can be captured, either via a cross hair style selection or by grabbing the entire screen.
-
screen_grab.
get_desktop_pixmap
(rect)[source]¶ Performs a screen capture on the specified rectangle.
Parameters: rect ( QRect
) – Rectangle to captureReturns: Captured image Return type: QPixmap