Re: XML and treeviews
- From: "Gabriele Greco" <gabriele greco darts it>
- To: "Andrew Cowie" <andrew operationaldynamics com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: XML and treeviews
- Date: Fri, 25 Jul 2008 17:49:04 +0200
Couldn't you just add another row in the TreeStore for the closing tag?
If <root> is "0" and <node> is "0:0", then inserting a row after <node>
with parent <root> 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 of those events,
I can do it but I thought there was a cleaner solution like an attribute of
the CellRenderer to change the indent level of a given column item.
--
Ing. Gabriele Greco, DARTS Engineering
Tel: +39-0105761240 Fax: +39-0105760224
s-mail: Via G.T. Invrea 14 - 16129 GENOVA (ITALY)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]