Hi Sébastien,
Pier (actually based on something like PRTreeWidget).
The widget is
here for displaying purpose and it instanciates a visitor which
walk over the structure and gather the information. I assume that I
need this visitor if I want to achieve my goal but a question
remains: what if I want to list every piece of content like
images,...?
visitors can walk over structures and contents. The only thing you
have to do is to start visiting the document when you encounter a
structure. As most visitors don't visit structures *and* documents
(there are still a few that do), this connection is not made by default.
How can I know if there is an image here? In other
words how could
I display more details?
Visit the document and collect all the entries that you are
interested in ;-)
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch