Esempio n. 1
0
    def set_depth (self, depth):
        """B.set_depth (...) -> None

        Sets the depth of the Bin.

        Sets the depth of the Bin and its child to the given value.
        """
        self.lock ()
        BaseWidget.set_depth (self, depth)
        if self.child:
            self.child.set_depth (depth)
        self.unlock ()
Esempio n. 2
0
    def set_depth(self, depth):
        """B.set_depth (...) -> None

        Sets the depth of the Bin.

        Sets the depth of the Bin and its child to the given value.
        """
        self.lock()
        BaseWidget.set_depth(self, depth)
        if self.child:
            self.child.set_depth(depth)
        self.unlock()
Esempio n. 3
0
    def set_depth(self, depth):
        """C.set_depth (...) -> None

        Sets the depth of the Container.

        Sets the depth of the Container and its children to the given
        value.
        """
        self.lock()
        BaseWidget.set_depth(self, depth)
        for child in self.children:
            child.set_depth(depth)
        self.unlock()
Esempio n. 4
0
    def set_depth(self, depth):
        """C.set_depth (...) -> None

        Sets the depth of the Container.

        Sets the depth of the Container and its children to the given
        value.
        """
        self.lock()
        BaseWidget.set_depth(self, depth)
        for child in self.children:
            child.set_depth(depth)
        self.unlock()