tasn pushed a commit to branch master.

commit 58933b349ad084445e5f9c0c84f9f6c91ef20682
Author: Simon Busch <[email protected]>
Date:   Sun Mar 15 11:33:29 2009 +0000

    Add markup_to_utf8 and utf_to_markup
    
    SVN revision: 39489
---
 elementary/elementary.c_elementary_entry.pxi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/elementary/elementary.c_elementary_entry.pxi 
b/elementary/elementary.c_elementary_entry.pxi
index 740823f..ad66880 100644
--- a/elementary/elementary.c_elementary_entry.pxi
+++ b/elementary/elementary.c_elementary_entry.pxi
@@ -93,4 +93,17 @@ cdef class Entry(Object):
 
     def select_all(self):
         elm_entry_select_all(self.obj)
+    
+    @staticmethod
+    def markup_to_utf8(str):
+        cdef char* string
+        string = elm_entry_markup_to_utf8(str)
+        return string
+    
+    @staticmethod
+    def markup_to_utf8(str):
+        cdef char* string
+        string = elm_entry_utf8_to_markup(str)
+        return string
+    
  

-- 

------------------------------------------------------------------------------
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