def __init__(self, sources: List[Dict[str, Any]], core: ApartCore, main_view: 'MainView'):
Gtk.Stack.__init__(self)
self.core = core
self.sources = sources
self.main_view = main_view
self.updating = False
self.connect('notify::visible-child', self.on_child_change)
self.get_style_context().add_class('part-info')
self.update_sources(sources)
self.show_all()
评论列表
文章目录