DISCLAIMER: HORRIBLE code ahead!

Michael McLay wrote:
> My goal is to populate a TreeModel with an XML tree. So far I've had no luck 
> in getting started.  I suspect that others on this list would really love to 
> see an example that shows how to tie a XML DOM tree to the TreeModel.  (An 

   I don't have the specific example you're asking for, but I've done 
some experimentation with TreeModel and come up with an example that 
maps a filesystem to a TreeModel:
     http://www.micampe.it/software/explorer/files/explorermodel.py
   Note that I am nowhere near to understand how and why this code works 
(I know, I've written it, so? ;), but I hope it can help you...

   Btw, have considered using TreeStore instead? I've thrown away that 
code and used the simple TreeStore and it fits quite fine...

-- 
   Michele - www.micampe.it

   "Smile, it makes people wonder what you are thinking"

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to