def _seticon(object_alias, icondata):
 finder = _getfinder()
 args = {}
 attrs = {}
 aeobj_00 = aetypes.ObjectSpecifier(want=aetypes.Type('cobj'), form='alis', seld=object_alias, fr=None)
 aeobj_01 = aetypes.ObjectSpecifier(want=aetypes.Type('prop'), form='prop', seld=aetypes.Type('iimg'), fr=aeobj_00)
 args['----'] = aeobj_01
 args['data'] = icondata
 (_reply, args, attrs) = finder.send('core', 'setd', args, attrs)
 if args.has_key('errn'):
  raise Error, aetools.decodeerror(args)
 if args.has_key('----'):
  return args['----'].data

def _seticon ( object_alias , icondata ) : finder = _getfinder ( ) args = { } attrs = { } aeobj_00 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'cobj' ) , form = 'alis' , seld = object_alias , fr = None ) aeobj_01 = aetypes . ObjectSpecifier ( want = aetypes . Type ( 'prop' ) , form = 'prop' , seld = aetypes . Type ( 'iimg' ) , fr = aeobj_00 ) args [ '----' ] = aeobj_01 args [ 'data' ] = icondata ( _reply , args , attrs ) = finder . send ( 'core' , 'setd' , args , attrs ) if args . has_key ( 'errn' ) : raise Error , aetools . decodeerror ( args ) if args . has_key ( '----' ) : return args [ '----' ] . data
set the icondata for object .