2009/10/1 Daniel Hernandez Bahr <[email protected]>:
> Hello, everybody!
>
> I'm new to the list so perhaps this issue has been treated before, os if
> someone knows about that I'd love if you point me on the right direction.

What you're trying to do is not a trivial thing to do.
I'd say that the first step would be to create your own cell renderers
for the cells of every row,
then you should expand the height of the cells of the selected row and
draw a window on top of that.

In any case, that is just a hack, TreeView is not the right tool to do
something like this, I'd rather implement a GtkCellLayout from scratch
but that comes with its own set of problems.

> The thing is i want to display some info on a tree view, but i would like to
> show just the basic data at first and when the user selects a row, new
> information should be displayed (such as a description of the object), but
> in a new cell below the others and not limited to the size of a column but
> expanding to the full width of the treeview. The attached image shows
> somehow what i want.
>
> I have been searching the web and found nothing so far. Any ideas are
> welcomed.
>
> Best regards,
> D.H. Bahr
>
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>



-- 
Un saludo,
Alberto Ruiz
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to