烂学生向各位老师求助 gtk 列表 (解决)
发表于 : 2010-02-25 16:48
self.listStore = gtk.ListStore(gobject.TYPE_STRING)
for i in range(10):
self.listStore.append(["Message #%d" % i])
self.list = gtk.TreeView(self.listStore)
self.list.show()
请问各位武林高手,这里是不是漏了什么,没有显示出列表
for i in range(10):
self.listStore.append(["Message #%d" % i])
self.list = gtk.TreeView(self.listStore)
self.list.show()
请问各位武林高手,这里是不是漏了什么,没有显示出列表