[pyclutter/wip/introspection] Override Clutter.Actor.get_transformed_position()
- From: Bastian Winkler <bwinkler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyclutter/wip/introspection] Override Clutter.Actor.get_transformed_position()
- Date: Wed, 18 Apr 2012 13:48:58 +0000 (UTC)
commit 4b641492a0427dbd986c9c767c90a2bd6ce20316
Author: Bastian Winkler <buz netbuz org>
Date: Tue Apr 17 13:33:11 2012 +0200
Override Clutter.Actor.get_transformed_position()
introspection/Clutter.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/introspection/Clutter.py b/introspection/Clutter.py
index 14c90c3..79ac9cf 100644
--- a/introspection/Clutter.py
+++ b/introspection/Clutter.py
@@ -633,6 +633,11 @@ class Actor(Clutter.Actor):
if success:
return (x_out, y_out)
+ def get_transformed_position(self):
+ success, x, y = super(Actor, self).get_transformed_position()
+ if success:
+ return (x, y)
+
def get_paint_box(self):
success, box = super(Actor, self).get_paint_box()
if success:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]