Re: Subclassing gtk-list-store
Andy Wingo <[email protected]>
| Newsgroups | gmane.lisp.guile.gtk |
|---|---|
| Message-ID | <[email protected]> |
Hi Andy, So, contrary to my previous suggestion ;), I suggest you just use the existing list store. There's no need to subclass it. I have written loads of programs with pygtk and never needed to use their custom model facilities, which this code is based off of; I think you probably don't need it either. That said... On Sun, 2007-05-20 at 01:07 +0100, Andy Chambers wrote: > on-get-columns ;; number > on-get-column-type ;; gtype > on-get-iter ;; #f (after setting up iter to > point at the root node) > on-get-path ;; list representing a path > on-get-value ;; value at iter's node > on-iter-next ;; the iter (after altering the iter > to point to the next sibling) See http://www.pygtk.org/pygtk2tutorial/sec-GenericTreeModel.html, except for the note about get-flags. The interface offered by the generic tree model is slightly different from that of the C interfaces. Regards, Andy. -- http://wingolog.org/