Hi,
I’ve noticed a weirdness with the OSX implementation of GetBoolean.
If you have only one item in the itemlist it doesn’t seem to show at all, but it works fine with more than one item in the list.
For example:
srchType = rs.GetBoolean( "Options", ("Full_Search", "Off", "On"), (True) )
print str( srchType )
Doesn’t work
But:
items = ("Include_Bells", "Off", "On"), ("Whistles", "Off", "On")
srchType = rs.GetBoolean( "Options", items, (True, False) )
print str( srchType )
Works fine.
Not really a deal breaker, but perhaps it should go on a list…
cheers
Peter