def __init__(self, topLevelWidget, pathFilter, **kw):
    GafferUI.Widget.__init__(self, topLevelWidget, **kw)
    self.__pathFilter = pathFilter
    self.__pathFilterChangedConnection = self.__pathFilter.changedSignal().connect(Gaffer.WeakMethod(self.__pathFilterChanged))
def __init__(self, topLevelWidget, pathFilter, **kw):
    GafferUI.Widget.__init__(self, topLevelWidget, **kw)
    self.__pathFilter = pathFilter
    self.__pathFilterChangedConnection = self.__pathFilter.changedSignal().connect(Gaffer.WeakMethod(self.__pathFilterChanged))