pyGTK_Box的嵌套

来源:互联网 发布:小幽灵网络论坛 编辑:程序博客网 时间:2024/05/29 14:47

1, 如果RadioButton和Close Button分别用两个VBox进行packing

        box1.show()                VBox
        box2.show()                VBox
        button.show()             RadioButton
        button.show()             RadioButton
        button.show()             RadioButton
        separator.show()       HSeparator
        box2.show()                VBox
        button.show()             CLOSE
        self.window.show()


2, 如果RadioButton和Close Button用同一个VBox进行packing

        box1.show()
        box2.show()
        button.show()
        button.show()
        button.show()
        separator.show()
        button.show()
        self.window.show()


原创粉丝点击