Re: trees and paths
| From: | Ivan Rodriguez | Date: | Tue, 16 Dec 2003 09:38:47 +0000 |
| Subject: | Re: trees and paths | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4300@lists.php.net to get a copy of this message | ||
Hi Alan, can you put some screenshots of this program?¿ or make a .tar.gz to
donwload with all needed files.
Thanks
Regards
Iván Rodriguez
----- Original Message -----
From: "Alan Knowles" <alan@akbkhome.com>
To: "Dimitri Giardina" <dimitri@cdinformatica.it>
Cc: "Php-Gtk-General" <php-gtk-general@lists.php.net>; "epplestun"
<epplestun@alaplaya.com>
Sent: Tuesday, December 16, 2003 10:26 AM
Subject: Re: [PHP-GTK] trees and paths
> This is partly working, but I've not had time to finish it.. - a docbook
> editor using GtkCtree, with styles etc. (eg. the titles come up as
> black/larger/bold etc..)
>
> It uses the SGML parser from flexy (as docbook contains
> &some.special.stuff; - that causes most xml parsers serious problems.
>
> I used a hidden column rather than set_data..., and basically stored the
> remaining node data in there, so the whole tree can be got from the
> gtkctree widget, with no other storage used.
>
> http://devel.akbkhome.com/svn/index.php/akpear/Gtk_XMLTreeView/
>
> Regards
> Alan
>
>
>
> Dimitri Giardina wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > another hint
> >
> > i'm writing a xml editor in php, using a ctree, a table for xml-node
attributes and a gtktext for cdata into nodes.
> > for parse a xml file i'm using xml_parser functions.
> > xml nodes are not labeled (i have no id for a node), and making path
from node types have not sense, i thought the better thing was:
> >
> >
$obj=&$this->tree->insert_node($parent,Null,array($key),3,Null,Null,Null,Nul
l,False,True);
> > $this->key="KEY_".(++$this->datacounter);
> > $this->tree->set_data(serialize($obj),$this->key);
> >
> > the set_data is a access function (for all widgets) to a hash table.
> >
> > i think it's very useful, but it's very little documented.
> >
> > Dimitri Giardina
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.0.6 (MingW32)
> > Comment: For info see http://www.gnupg.org
> >
> > iEYEARECAAYFAj/eyUEACgkQjbCncHBsBCK3mQCgnLSpBkFA8XJXm4ofvR4MYlM/
> > EcEAoNqHg6LXtR/blsx6D/fBJgxdtHeL
> > =cXH+
> > -----END PGP SIGNATURE-----
> >
>
>
> --
> Can you help out?
> Need Consulting Services or Know of a Job?
> http://www.akbkhome.com
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>