accounts.py 文件源码

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

项目:Gnome-Authenticator 作者: bil-elmoussaoui 项目源码 文件源码
def generate(self):
        Gtk.ListBox.__init__(self)
        self.get_style_context().add_class("applications-list")
        self.set_adjustment()
        self.set_selection_mode(Gtk.SelectionMode.SINGLE)

        count = len(self.accounts)

        for account in self.accounts:
            self.add(AccountRowList(self, self.window, account))

        if count != 0:
            self.select_row(self.get_row_at_index(0))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号