예제 #1
0
    def set_sensitive(self, sensitive=True):
        """C.set_sensitive (...) -> None

        Sets the sensitivity of the Container and its children.
        """
        BaseWidget.set_sensitive(self, sensitive)
        for child in self.children:
            child.set_sensitive(sensitive)
예제 #2
0
    def set_sensitive (self, sensitive=True):
        """B.set_sensitive (...) -> None

        Sets the sensitivity of the Bin and its child.
        """
        BaseWidget.set_sensitive (self, sensitive)
        if self.child:
            self.child.set_sensitive (sensitive)
예제 #3
0
    def set_sensitive(self, sensitive=True):
        """C.set_sensitive (...) -> None

        Sets the sensitivity of the Container and its children.
        """
        BaseWidget.set_sensitive(self, sensitive)
        for child in self.children:
            child.set_sensitive(sensitive)
예제 #4
0
파일: Bin.py 프로젝트: illume/eyestabs
    def set_sensitive(self, sensitive=True):
        """B.set_sensitive (...) -> None

        Sets the sensitivity of the Bin and its child.
        """
        self.lock()
        BaseWidget.set_sensitive(self, sensitive)
        if self.child:
            self.child.set_sensitive(sensitive)
        self.unlock()