| 976 | return TargetElement(self) |
| 977 | |
| 978 | class TargetElement(BaseTarget): |
| 979 | def __init__(self, parent): |
| 980 | self.dispatch = self.dispatch._join(parent.dispatch) |
| 981 | |
| 982 | def create(self): |
| 983 | return TargetElement(self) |
| 984 | |
| 985 | def run_event(self, arg): |
| 986 | list(self.dispatch.event_one) |
| 987 | self.dispatch.event_one(self, arg) |
| 988 | |
| 989 | self.BaseTarget = BaseTarget |
| 990 | self.TargetFactory = TargetFactory |