Snapshot/SnapshotDefaultGrabber.py

branch
screenshot
changeset 6917
7075ede48c2f
parent 6914
5ae038f273c4
--- a/Snapshot/SnapshotDefaultGrabber.py	Tue Apr 02 19:52:36 2019 +0200
+++ b/Snapshot/SnapshotDefaultGrabber.py	Wed Apr 03 19:13:02 2019 +0200
@@ -59,7 +59,8 @@
             SnapshotModes.Ellipse,
         )
     
-    def grab(self, mode, delay=0):
+    def grab(self, mode, delay=0, captureCursor=False,
+             captureDecorations=False):
         """
         Public method to perform a grab operation potentially after a delay.
         
@@ -67,6 +68,12 @@
         @type ScreenshotModes
         @param delay delay in seconds
         @type int
+        @param captureCursor flag indicating to include the mouse cursor
+            (not used)
+        @type bool
+        @param captureDecorations flag indicating to include the window
+            decorations (not used)
+        @type bool
         """
         self.__mode = mode
         if delay:

eric ide

mercurial