def __methods(cls):
 _dict = {}
 __methodDict(cls, _dict)
 return _dict.keys()

def __methods ( cls ) : _dict = { } __methodDict ( cls , _dict ) return _dict . keys ( )
helper function for scrolled canvas .