Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试用 GTK 和 python 构建一些程序。
我在 Glade 中创建了 GUI,并为树视图分配了一个模型。那么当我在单元格渲染器中设置对齐时,它不起作用
列的模型类型是 gchararray,单元格渲染器类型是文本。我从 sqlite 生成数据,然后将其传递给 listEntry.append(),有问题的列是字符串。
这是来自 glade 的屏幕截图:
这是我的程序的屏幕截图(它是 suma 列):
将其“水平对齐”从 0.0 设置为 1.0