PDA

View Full Version : [SOLVED] Python/Glade TreeView and ListView add columns where?



Frozen Forest
February 25th, 2012, 08:10 PM
Started learning gtk with glade using python all version three, one thing I wonder what is the proper way to handle treeviews and listviews, should the columns be defined in glade or in python? Should listviews be added in glade or in python? How much should be done in glade?

If I design a listview in glade what types should I use for columns, let say (string, long, int) in python, should it be (guchar, gulong, guint)?

EDIT:
Found the solution http://readthedocs.org/docs/python-gtk-3-tutorial/en/latest/treeview.html