[pygtk] Treeview: How to set Font Size in Column Titles?

John Finlay finlay at moeraki.com
Thu Feb 5 06:08:53 WST 2009


darethehair wrote:
> Hello all!
>
>  From the PyGTK docs, I know the various ways to change the font size in 
> 'treeview' columns/cells, but they appear to only work on the column 
> *data*, and not the column *titles*.  The effect of this is that I can 
> make my fonts (for example) smaller and get more rows in the screen, but 
> the title font sizes do not change, and so it looks silly.
>
> Any tips?
>   
Try using a custom widget for the header using TreeViewColumn.set_widget()

JOhn


More information about the pygtk mailing list