def _getwindowview(folder_alias):
 attrs = {}
 args = {}
 finder = _getfinder()
 args = {}
 attrs = {}
 aeobj_00 = aetypes.ObjectSpecifier(want=aetypes.Type('cfol'), form='alis', seld=folder_alias, fr=None)
 aeobj_01 = aetypes.ObjectSpecifier(want=aetypes.Type('prop'), form='prop', seld=aetypes.Type('cwnd'), fr=aeobj_00)
 aeobj_02 = aetypes.ObjectSpecifier(want=aetypes.Type('prop'), form='prop', seld=aetypes.Type('pvew'), fr=aeobj_01)
 args['----'] = aeobj_02
 (_reply, args, attrs) = finder.send('core', 'getd', args, attrs)
 if ('errn' in args):
  raise Error, aetools.decodeerror(args)
 views = {'iimg': 0, 'pnam': 1, 'lgbu': 2}
 if ('----' in args):
  return views[args['----'].enum]

def _getwindowview ( folder_alias ) : attrs = { } args = { } finder = _getfinder ( ) args = { } attrs = { } aeobj_00 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'cfol' ) , form = 'alis' , seld = folder_alias , fr = None ) aeobj_01 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'prop' ) , form = 'prop' , seld = aetypes . Type ( 'cwnd' ) , fr = aeobj_00 ) aeobj_02 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'prop' ) , form = 'prop' , seld = aetypes . Type ( 'pvew' ) , fr = aeobj_01 ) args [ '----' ] = aeobj_02 ( _reply , args , attrs ) = finder . send ( 'core' , 'getd' , args , attrs ) if ( 'errn' in args ) : raise Error , aetools . decodeerror ( args ) views = { 'iimg' : 0 , 'pnam' : 1 , 'lgbu' : 2 } if ( '----' in args ) : return views [ args [ '----' ] . enum ]
get the windowview .