[pygtk] liststore column names

Walter Leibbrandt walter at translate.org.za
Mon Jul 20 21:14:15 WST 2009

Imre Horvath wrote:
> How can I get the column names in a liststore?

[column.get_title() for column in treeview.get_columns()]

I assume you are referring to the column names of a gtk.TreeView, since 
gtk.ListStores don't have column names.

Walter Leibbrandt                  Software Developer
Recent blogs:
* Conquering the CellRendererWidget

More information about the pygtk mailing list