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