summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-07-26 16:04:29 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-07-26 16:04:29 (GMT)
commit8431733c0744cbed410139b9b5d625aa29a38917 (patch)
tree9b95b3332ab4c6655d69f78bc3a47358708df10a /Mac/Lib/test
parent16038ee18e6dadea97b0ae24545fddaff30e0004 (diff)
downloadcpython-8431733c0744cbed410139b9b5d625aa29a38917.zip
cpython-8431733c0744cbed410139b9b5d625aa29a38917.tar.gz
cpython-8431733c0744cbed410139b9b5d625aa29a38917.tar.bz2
Allow only one selection (this tests settability of selFlags)
Diffstat (limited to 'Mac/Lib/test')
-rw-r--r--Mac/Lib/test/tlist.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Lib/test/tlist.py b/Mac/Lib/test/tlist.py
index 4dba121..fdcfe6e 100644
--- a/Mac/Lib/test/tlist.py
+++ b/Mac/Lib/test/tlist.py
@@ -11,6 +11,7 @@ from FrameWork import *
import Win
import Qd
import List
+import Lists
import os
class ListWindow(Window):
@@ -22,6 +23,7 @@ class ListWindow(Window):
Qd.SetPort(w)
self.wid = w
self.list = List.LNew(r2, (0, 0, 1, 1), (0,0), 0, w, 0, 1, 1, 1)
+ self.list.selFlags = Lists.lOnlyOne
self.filllist()
w.DrawGrowIcon()
self.do_postopen()