1 """Test icglue module by printing all preferences"""
6 ici
= icglue
.ICStart('Pyth')
11 numprefs
= ici
.ICCountPref()
12 print "Number of preferences:", numprefs
14 for i
in range(1, numprefs
+1):
15 key
= ici
.ICGetIndPref(i
)
19 attrs
= ici
.ICFindPrefHandle(key
, h
)
21 print "Data: ", `h
.data
[:64]`