def __init__(self, pathFilter):
    self.__checkBox = GafferUI.BoolWidget(str(pathFilter))
    PathFilterWidget.__init__(self, self.__checkBox, pathFilter)
    self.__stateChangedConnection = self.__checkBox.stateChangedSignal().connect(Gaffer.WeakMethod(self.__stateChanged))
    self._updateFromPathFilter()
def __init__(self, pathFilter):
    self.__checkBox = GafferUI.BoolWidget(str(pathFilter))
    PathFilterWidget.__init__(self, self.__checkBox, pathFilter)
    self.__stateChangedConnection = self.__checkBox.stateChangedSignal().connect(Gaffer.WeakMethod(self.__stateChanged))
    self._updateFromPathFilter()