equal
deleted
inserted
replaced
75 def putch(self, x, y, ch): |
75 def putch(self, x, y, ch): |
76 self.thisptr.putch(x, y, ch) |
76 self.thisptr.putch(x, y, ch) |
77 def commit(self): |
77 def commit(self): |
78 self.thisptr.commit() |
78 self.thisptr.commit() |
79 |
79 |
|
80 def prepare_attr(self, fg, bg, style): |
|
81 return self.thisptr.prepare_attr(fg, bg, style) |
|
82 def set_attr(self, value): |
|
83 self.thisptr.set_attr(value) |
|
84 |
80 def get_next_event(self): |
85 def get_next_event(self): |
81 self.thisptr.get_next_event(self.event) |
86 self.thisptr.get_next_event(self.event) |
82 event = self.event |
87 event = self.event |
83 if event.type == event.MOUSEMOVE: |
88 if event.type == event.MOUSEMOVE: |
84 return ('mousemove', event.mouse.x, event.mouse.y) |
89 return ('mousemove', event.mouse.x, event.mouse.y) |