gpt4 book ai didi

python - gtk.ListStore/gtk.TreeModel 和 dict 类型

转载 作者:行者123 更新时间:2023-12-01 06:06:14 25 4
gpt4 key购买 nike

我有一本字典(dict 类型),我将其存储在 gtk.ListStore 中。

有办法做到这一点吗? (哪种列类型适合?)或者我是否必须在 gtk.ListStore 中添加与字典中的元素一样多的列?

谢谢

最佳答案

您可能想查看DictionaryGrid quickly widget 。请参阅here因为它的用途。

DictionaryGrid 可能完全满足您的需要,或者您也可以复制其中的部分内容。

关于python - gtk.ListStore/gtk.TreeModel 和 dict 类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7862275/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com