Example #1
0
 def __getitem__(self, name):
     return gv.agget(self.handle,name)
Example #2
0
 def __getitem__(self, name):
     item=gv.agget(self.handle,name)
     if item is None:
         ah=gv.agattr(self.handle,self.type,name,None)            
         item=gv.agattrdefval(ah)
     return item