开发者

PyGTK: Modifying GTKTreeView gridline color

开发者 https://www.devze.com 2023-03-01 16:40 出处:网络
I am trying to change the default color (black) of the gridlines in a GTKTreeVi开发者_运维技巧ew widget. Using gtk+ 2 and latest pygtk. Any help is appreciated - I do hope this is possible.This has be

I am trying to change the default color (black) of the gridlines in a GTKTreeVi开发者_运维技巧ew widget. Using gtk+ 2 and latest pygtk. Any help is appreciated - I do hope this is possible.


This has been sitting a while, so I'll take a crack at it. In looking through the PyGTK documentation (which is pretty comprehensive), there does not appear to be a way to set the gridlines. You can, however, hide or show the gridlines (link), and set the even and odd line colors (link, search for "even-row-color")

Here's hoping I missed something, and there is a way to set line color. But, as far as I can tell, there is no way to do this. That may not be the case in the latest update (PyGObject 3).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号