except ValueError:
break
self.line_index.append(len(data))
- Win.InvalRect(self.rect)
+ self.wid.InvalWindowRect(self.rect)
self.ted.TESetSelect(0,0)
self.ted.TECalText()
self.ted.TESelView()
def setbreaks(self, list):
self.breakpointlist = list[:]
Qd.SetPort(self.wid)
- Win.InvalRect(self.iconrect)
+ self.wid.InvalWindowRect(self.iconrect)
def setcurline(self, line, pic=PIC_CURRENT):
self.curline = line
def setscrollbars(self):
MT_TextWidget.setscrollbars(self)
- Win.InvalRect(self.iconrect)
+ self.wid.InvalWindowRect(self.iconrect)
def update(self, rgn):
MT_TextWidget.update(self, rgn)
for y in range(len(column)):
self.list.LSetCell(column[y], (x, y))
self.list.LSetDrawingMode(1)
- Win.InvalRect(self.rect)
+ self.wid.InvalWindowRect(self.rect)
def deselectall(self):
while 1:
def force_redraw(self):
Qd.SetPort(self.wid)
- Win.InvalRgn(self.wid.GetWindowPort().visRgn)
+ self.wid.InvalWindowRgn(self.wid.GetWindowPort().visRgn)
def do_activate(self, activate, event):
self.modules.activate(activate)
def force_redraw(self):
Qd.SetPort(self.wid)
- Win.InvalRgn(self.wid.GetWindowPort().visRgn)
+ self.wid.InvalWindowRgn(self.wid.GetWindowPort().visRgn)
def do_activate(self, activate, event):
self.stack.activate(activate)