tasn pushed a commit to branch master.

commit 5cba5a8ab9162b16ff9ba626b2a159e9c00b5acb
Author: Simon Busch <[email protected]>
Date:   Wed Mar 4 22:32:09 2009 +0000

    Add Charlie's patch for elementary.Layout.edje_get
    
    SVN revision: 39372
---
 elementary/elementary.c_elementary.pyx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/elementary/elementary.c_elementary.pyx 
b/elementary/elementary.c_elementary.pyx
index 456f606..d2d1b58 100644
--- a/elementary/elementary.c_elementary.pyx
+++ b/elementary/elementary.c_elementary.pyx
@@ -504,9 +504,10 @@ cdef class Layout(Object):
         
     def content_set(self, swallow, c_evas.Object content):
         elm_layout_content_set(self.obj, swallow, content.obj)
-    
-    # TODO: need?
-    #def edje_get(self):
+   
+    def edje_get(self):
+        cdef c_evas.Evas_Object *obj = elm_layout_edje_get(self.obj)
+        return evas.c_evas._Object_from_instance(<long> obj)
     
 cdef class Hover(Object):
     def __init__(self, c_evas.Object parent):

-- 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar

Reply via email to