for f in self.onLayoutFinish:
if type(f) is not type(self.close): # is this the best way to do this?
exec(f) in globals(), locals()
for f in self.onLayoutFinish:
if type(f) is not type(self.close): # is this the best way to do this?
exec(f) in globals(), locals()