コード例 #1
0
ファイル: Bin.py プロジェクト: BGCX067/eyestabs-svn-to-git
    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
ファイル: Bin.py プロジェクト: illume/eyestabs
    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
ファイル: Container.py プロジェクト: illume/eyestabs
    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()