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
评论列表
文章目录