def connect(self, func): class ePythonSlot4LongCStrCStrCStr(eSlot4LongCStrCStrCStr): def __init__(self, func): eSlot4LongCStrCStrCStr.__init__(self) self.cb_func = func slot = ePythonSlot4LongCStrCStrCStr(WeakMethodReference(func)) self.connect2(slot) return slot
def connect(self, func): class ePythonSlot5IntIntIntIntBool(eSlot5IntIntIntIntBool): def __init__(self, func): eSlot5IntIntIntIntBool.__init__(self) self.cb_func = func slot = ePythonSlot5IntIntIntIntBool(WeakMethodReference(func)) self.connect2(slot) return slot
def connect(self, func): class ePythonSlot3LongStrListByteVectorList( eSlot3LongStrListByteVectorList): def __init__(self, func): eSlot3LongStrListByteVectorList.__init__(self) self.cb_func = func slot = ePythonSlot3LongStrListByteVectorList(WeakMethodReference(func)) self.connect2(slot) return slot