def populate(self):
for file_ in self.item.raw.split('\n'):
button = Gtk.LinkButton()
button.set_halign(Gtk.Align.START)
button.set_label(file_[0:40])
button.set_tooltip_text(file_)
button.connect('activate-link', self._on_activate_file_link, file_)
self._box.add(button)
self._box.show_all()
评论列表
文章目录