~bratsche/libgrip/python-fixage-wip

« back to all changes in this revision

Viewing changes to examples/pygrip/pygrip.py

  • Committer: Cody Russell
  • Date: 2011-01-21 07:29:17 UTC
  • Revision ID: crussell@canonical.com-20110121072917-dn8l6r6sg754e6so
Fix register_window() parameters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        # reverted to the older API until the new one is merged to trunk.
33
33
        finger_count = 2
34
34
        gesture_manager.register_window(
35
 
            self.window, Grip.GestureType.PINCH, finger_count,self.callback,
36
 
            None, None)
 
35
            self.window, Grip.GestureType.PINCH, finger_count, self.callback, None)
37
36
 
38
37
    def callback(self, window, time_type, gesture_type, gesture_event):
39
38
        print "received gesture"