[pygtk] Re: Icon in TreeStore problem?
ali.jan at gmail.com
Thu Mar 31 15:22:18 WST 2005
Okay sorry for the bother, I am stupid. Append of tree store needs to
be passed an additional parameter.
On Thu, 31 Mar 2005 11:38:35 +0500, Muhammad Ali <ali.jan at gmail.com> wrote:
> This is related to the FAQ entry, How do I put Icons in a TreeView:
> The problem is that the example uses a ListStore instead of a
> TreeStore and then appends the icon to it. When I use the same append
> method with the TreeStore, it throws a TypeError exception:
> TypeError: parent must be a GtkTreeIter or None
> But the same method works fine with a ListStore. How do I put Icons in
> a TreeView using TreeStore?
More information about the pygtk