window.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:ssh-manager 作者: Doka-NT 项目源码 文件源码
def __fill_listbox(self):
        self._list_store.clear()
        connections = self._manager.get_connections()
        for connection in connections:
            self._list_store.append([connection.label])

        renderer = Gtk.CellRendererText()
        column = self._listbox.get_column(0)
        if not column:
            column = Gtk.TreeViewColumn(None, renderer, text=0)
            self._listbox.append_column(column)
        self._listbox.show_all()

    # noinspection PyUnusedLocal
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号