'Connect a function + args to signal event on an element.
Each event may only be handled by one callback in this implementation.'

def connect(self, element, event, func, *args):

    assert ((element, event) not in self._ids)
    self._ids[(element, event)] = element.connect(event, func, *args)
