[cells-gtk-devel] tree-view children

ΜΑΡΓΙΟΥΛΑΣ ΒΑΣΙΛΕΙΟΣ vasilism at sch.gr
Wed Feb 2 19:45:59 UTC 2005


Kenny Tilton wrote

> I have been poking around treebox and tree-view for 
> a while, cannot spot anything. My guess, therefore, is that eventually 
> we get a callback from Gtk which asks "what are the children of this 
> object?". Then some GF is being dispatched on that object. So we have to 
> find the callback and then the GF. My guess is that the ubiquitous 
> "kids" slot is being sampled in this example, which would be a 
> reasonable default for a Cells app. But I would expect an override (what 
> "items-factory" sounds like but is not), so perhaps there is some GF 
> which calls kids but can be overrode, or some other factory slot is 
> being bound to #'kids.

gtk-tree-store-set-kids traverse family-kids hierarchy and sets tree-store 
model.
forcing :items to be of type family was propably a bad idea 



-------------------------------------------------
This mail sent through Greek School Network: http://www.sch.gr/
Το μήνυμα εστάλη μέσω του Πανελλήνιου Σχολικού Δικτύου: http://www.sch.gr/



More information about the cells-gtk-devel mailing list