[pygtk] GtkCTreeNode bug in 0.6.6
James Henstridge
james@daa.com.au
Sun, 1 Oct 2000 17:48:57 +0800 (WST)
On Sat, 30 Sep 2000, Alexandre Fayolle wrote:
> Hi,
>
> I'm experiencing incoherent behaviour in pygtk 0.6.6 with GtkCTreeNode
> objects. Depending on where they come from, they do not behave in the same
> fashion. Specifically, it is not possible to access the attributes
> described in description.py from the GtkCTreeNode obtained by
> tree.selection (where tree is a GtkCTree):
> File "Narval/narval/gui/XmlEditor.py", line 125, in
> add_attribute_activated
> if self.tree.selection.children:
> AttributeError: children
ctree.selection is a list of GtkCTreeNode objects. Lists do not have
attributes named children.
James.
--
Email: james@daa.com.au
WWW: http://www.daa.com.au/~james/