[pitivi/ges: 266/287] viewer: Document the setZoom method



commit 354f5a5ba96bbf87d074952fb610f4f4c7cb904a
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Sun Feb 12 16:02:14 2012 -0500

    viewer: Document the setZoom method

 pitivi/viewer.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index a494d1a..912f4a9 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -378,6 +378,10 @@ class PitiviViewer(gtk.VBox, Loggable):
     ## Control gtk.Button callbacks
 
     def setZoom(self, zoom):
+        """
+        Zoom in or out of the transformation box canvas.
+        This is called by clipproperties.
+        """
         if self.target.box:
             maxSize = self.target.area
             width = int(float(maxSize.width) * zoom)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]