[pitivi/ges: 266/287] viewer: Document the setZoom method
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 266/287] viewer: Document the setZoom method
- Date: Thu, 15 Mar 2012 16:48:13 +0000 (UTC)
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]