sdlterm/cython/sdlterm.pyx
changeset 50 c5b8b9d2da95
parent 49 1611c462c3e3
child 53 c4263588b716
--- a/sdlterm/cython/sdlterm.pyx	Sat Jan 05 16:47:30 2013 +0100
+++ b/sdlterm/cython/sdlterm.pyx	Sat Jan 05 18:44:56 2013 +0100
@@ -77,6 +77,11 @@
     def commit(self):
         self.thisptr.commit()
 
+    def prepare_attr(self, fg, bg, style):
+        return self.thisptr.prepare_attr(fg, bg, style)
+    def set_attr(self, value):
+        self.thisptr.set_attr(value)
+
     def get_next_event(self):
         self.thisptr.get_next_event(self.event)
         event = self.event