def windowview(folder, view=None):
 fsr = Carbon.File.FSRef(folder)
 folder_alias = fsr.FSNewAliasMinimal()
 if (view is None):
  return _getwindowview(folder_alias)
 return _setwindowview(folder_alias, view)

def windowview ( folder , view = None ) : fsr = Carbon . File . FSRef ( folder ) folder_alias = fsr . FSNewAliasMinimal ( ) if ( view is None ) : return _getwindowview ( folder_alias ) return _setwindowview ( folder_alias , view )
windowview: set the view of the window for the folder .