Why don't create a GtkCellRenderer derived object with the properties you
need?
At creation time you can get the "0:0" (the open tag row) GtkCellRenderer as
argument then you can hide it when "0:0" collapse using a GObject signal.
2008/7/25 Gabriele Greco <[EMAIL PROTECTED]>:
> > Couldn't you j
> Couldn't you just add another row in the TreeStore for the closing tag?
> If is "0" and is "0:0", then inserting a row after
> with parent would be "0:1".
The problem doing it in this way is that I've to attach an handler to every
collapse/expand event and I've to show/hide a line for each
On Thu, 2008-07-24 at 10:48 +0200, Gabriele Greco wrote:
>
> o
> | |
> | --
> |
> -
Couldn't you just add another row in the TreeStore for the closing tag?
If is "0" and is "0:0", then inserting a row after
with parent would be "0:1".
AfC
Sydney
I've add to a program an option to view an XML tree on a TreeView, it works
well except for one thing, the XML close tag of container tags. I've
not found a way to display it in a acceptable way, at the moment I don't
show it at all, that it's the best solution I can implement on a TreeView.
The