On Mon, 18 Sep 2000, Aaron Optimizer Digulla wrote:
> On Mon, Sep 18, 2000 at 02:36:10AM -0500, Eric Gillespie, Jr. wrote:
>
> > With Gnome-Python 1.0.53 from Debian unstable, i can't seem to
> > attach any data to a row in a CTree. I don't know of any other
> > way to find what the user selected. Even if i were to catch the
> > selection signal, i would still have the same problem of mapping
> > the node to useful data. Am i missing something obvious?
> >
> > Anyway, i've attached a small program demonstrating the problem.
> > The error message i get is below.
> >
> > Traceback (innermost last):
> > File "hey.py", line 11, in ?
> > ctree.set_row_data(node, "hey")
> > File "/usr/lib/python1.5/site-packages/gtk.py", line 1278, in set_row_data
> > _gtk.gtk_clist_set_row_data(self._o, row, data)
> > TypeError: illegal argument type for built-in operation
>
> To get the current selection, try ctree.selection (it's an attribute,
> not a method).
>
> And there is a bug in 0.6.6: node_set_cell_style() and
> node_get_cell_style() call _gtk.gtk_ctree_node_[sg]et_row_style()
> instead of ...cell_style(). James, can you fix it, please ?
fixed.
Sorry about not releasing a new version for a while. I have been very
busy at university for the last few months. I am not sure how soon I will
have the time to make a new release.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk