GtkTreeView question



Is it possible to create a tree node in a GtkTreeView which has no sub-nodes but nonetheless has the expand/collapse handle?

What I want to do is to create a tree view of the local filesystem. As reading in the whole filesystem tree on startup takes way to long I thought it would be better to only read in the directories that are really "needed". So a sub dir is actually read in when the user clicks on the expand handle. But when a tree node has no sub-nodes there is no expand handle.

Thanks in advance!

--
Dipl.-Ing. (FH) Bernd Bartmann <Bernd Bartmann sohanet de>
SoHaNet Technology GmbH / Kaiserin-Augusta-Allee 10-11 / 10553 Berlin
Software / Hardware / Netzwerke * Entwicklung / Verkauf / Wartung
Fon: +49 30 214783-44 / Fax: +49 30 214783-46




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]