Dnia 28-01-2005, pią o godzinie 09:30 -0500, Steve McClure napisał:
> >> I'd like to build a Treeview that looks like a dear old CTree,
> >> replacing the triangle expander with the old [+]/[-] expander, and
> >> adding the lines that connect fathers and childs.
> >> I think that this goals can be achieved using cellrenderers, but I
> >> don't know how.
> >> I'd really appreciate ideas, examples, code snippets ...
> >>
> >you should look at this thread :
> >http://www.mail-archive.com/[email protected]/msg09555.html
> >changing triangles is possible easily, but it's not possible to have the
> >connecting lines. A bug is opened :
> >http://bugs.gnome.org/show_bug.cgi?id=142415
> >
> >Yann Le Boulanger
>
> Interesting. I wonder how Evolution manages to do this? I'm running
> version 1.4.6 on Fedore Core 2 and it appears to be a gtk 2.0 app and
> the trees have that look to them.
It uses its own tree widget (ETree). In version 2.0 and above, ETree was
synced with stock GTK+ look, so it no longer has plus signs and dotted
lines, but it still is different widget.
Cheers,
Maciej
--
"Tautologizm to coś tautologicznego"
Maciej Katafiasz <[EMAIL PROTECTED]>
http://mathrick.org
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/