Thank you, this works, previously I try to get it from ListStore...

Imre Horvath

On Mon, 2009-07-20 at 15:14 +0200, Walter Leibbrandt wrote:
> 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.
> 

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to