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 Treeview 给我的是这样的:
有什么方法可以在 Gtk3 Python 中实现这一点吗?
您可以同时使用 TreeViewset_grid_lines方法集。
set_grid_lines
例子:
treeview.set_grid_lines(Gtk.TreeViewGridLines.BOTH)