mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Added a region arg to update calls
This commit is contained in:
parent
5f962c2a75
commit
8494967f77
3 changed files with 6 additions and 6 deletions
|
|
@ -115,7 +115,7 @@ class MyDialog(FrameWork.DialogWindow):
|
||||||
v = v + '"' + self.contents[i][1] + '"'
|
v = v + '"' + self.contents[i][1] + '"'
|
||||||
self.list.LSetCell(v, (0, i))
|
self.list.LSetCell(v, (0, i))
|
||||||
self.list.LSetDrawingMode(1)
|
self.list.LSetDrawingMode(1)
|
||||||
self.list.LUpdate()
|
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
|
||||||
|
|
||||||
def do_listhit(self, event):
|
def do_listhit(self, event):
|
||||||
(what, message, when, where, modifiers) = event
|
(what, message, when, where, modifiers) = event
|
||||||
|
|
@ -148,7 +148,7 @@ class MyDialog(FrameWork.DialogWindow):
|
||||||
tp, h, rect = self.wid.GetDialogItem(MAIN_LIST)
|
tp, h, rect = self.wid.GetDialogItem(MAIN_LIST)
|
||||||
Qd.SetPort(self.wid)
|
Qd.SetPort(self.wid)
|
||||||
Qd.FrameRect(rect)
|
Qd.FrameRect(rect)
|
||||||
self.list.LUpdate()
|
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
|
||||||
|
|
||||||
def do_activate(self, activate, event):
|
def do_activate(self, activate, event):
|
||||||
self.list.LActivate(activate)
|
self.list.LActivate(activate)
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
:$e"*3e4LFQphFf8ZFR0bB`"bFh*M8P0&4!#3#!'8,V!!N!3"!!!!!6m!!!!r!!!
|
:$e"*3e4LFQphFf8ZFR0bB`"bFh*M8P0&4!#3#!'8,V!!N!3"!!!!!6m!!!!r!!!
|
||||||
!9G'"(r!!q[m!!2Vr!!$kf!!!qYJ!!2VB!!$kf!!!q[qJ$e"*3e4LFQphFf8ZFR0
|
!9G'"(r!!q[m!!2Vr!!$kf!!!qYJ!!2VB!!$kf!!!q[qJ$e"*3e4LFQphFf8ZFR0
|
||||||
bB`)!!!!rN!J!N!BrN!J!N"LYFaIp!*!'!C6r!!$kr`!!qYJ!!2VB!!$kf!!!qYJ
|
bB`)!!!!rN!J!N!BrN!J!N"LYGH)$!*!'!C6r!!$kr`!!qYJ!!2VB!!$kf!!!qYJ
|
||||||
!!2VrS!$krb$`!2Vr!!$kr`!!qYJ9!!$kf!!!qYJ!!"2kf!!!q[mJ#L!,)!`"S!!
|
!!2VrS!$krb$`!2Vr!!$kr`!!qYJ9!!$kf!!!qYJ!!"2kf!!!q[mJ#L!,)!`"S!!
|
||||||
J"V%3&2J!q[m!!2VB!!$kf!!!qYJ!!2VB!!$kf!!!q[m!!2Vr!!$krrJ!q[m3*J!
|
J"V%3&2J!q[m!!2VB!!$kf!!!qYJ!!2VB!!$kf!!!q[m!!2Vr!!$krrJ!q[m3*J!
|
||||||
!q[r!!2Vr-2J!q[m!N!39!%!!%!%8!-8!!!%!!3#3"3)!N!8L!!%!N!8&!!S!S`#
|
!q[r!!2Vr-2J!q[m!N!39!%!!%!%8!-8!!!%!!3#3"3)!N!8L!!%!N!8&!!S!S`#
|
||||||
X!*!(Y!!m!-J!GJ3%8fK[G`!!!3!!!!%r!!!!2`!!!&8!m#cN%hJ!!!!F!%B!!84
|
X!*!(Y!!m!-J!GJ3%8fK[G`!!!3!!!!%r!!!!2`!!!&8!m#cN%hJ!!!!F!%B!!84
|
||||||
-6dF!!!!54%P86!!!!"i#!*!,!J$rr`!!!"N!N!313R*[Gh0PFL"hD@jNEhHJ9`:
|
-6dF!!!!54%P86!!!!"i#!*!,!J$rr`!!!"N!N!313R*[Gh0PFL"hD@jNEhHh5!:
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ class MyDialog(FrameWork.DialogWindow):
|
||||||
v = v + '"' + self.contents[i][1] + '"'
|
v = v + '"' + self.contents[i][1] + '"'
|
||||||
self.list.LSetCell(v, (0, i))
|
self.list.LSetCell(v, (0, i))
|
||||||
self.list.LSetDrawingMode(1)
|
self.list.LSetDrawingMode(1)
|
||||||
self.list.LUpdate()
|
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
|
||||||
|
|
||||||
def do_listhit(self, event):
|
def do_listhit(self, event):
|
||||||
(what, message, when, where, modifiers) = event
|
(what, message, when, where, modifiers) = event
|
||||||
|
|
@ -170,7 +170,7 @@ class MyDialog(FrameWork.DialogWindow):
|
||||||
tp, h, rect = self.wid.GetDialogItem(MAIN_LIST)
|
tp, h, rect = self.wid.GetDialogItem(MAIN_LIST)
|
||||||
Qd.SetPort(self.wid)
|
Qd.SetPort(self.wid)
|
||||||
Qd.FrameRect(rect)
|
Qd.FrameRect(rect)
|
||||||
self.list.LUpdate()
|
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
|
||||||
|
|
||||||
def do_activate(self, activate, event):
|
def do_activate(self, activate, event):
|
||||||
self.list.LActivate(activate)
|
self.list.LActivate(activate)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue