add support for IntVar, BoolVar, etc.
Merge pull request #9 from fwang2002/master

add support for IntVar, BoolVar, etc.