Re: XML and treeviews

2008-07-26 Thread Daniel Espinosa
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

Re: XML and treeviews

2008-07-25 Thread Gabriele Greco
> 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

Re: XML and treeviews

2008-07-24 Thread Andrew Cowie
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