Пример #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
    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()