[pygtk] A ListView component with easier API

François Ingelrest athropos at gmail.com
Sun Sep 23 02:46:31 WST 2007


Hi all,

Just to let you know that I've written a ListView component for my own
needs, and I though some people may be interested in using it.
Basically, this is a class that inherits from a TreeView and that
provides an easier API than the standard TreeView.

Besides the easier API, it also comes with interesting features that
are not part of the standard TreeView component:

    * Internal reordering with multiple selection
    * Automatic sorting of columns based on multiple criteria
    * Prevents moving a row into another row
    * No need to create a ListStore, it is managed internally by the ListView
    * It's possible to mark a row and to let the mark move with the
row (when reordering, sorting...)

It can be found here:

http://fingelrest.silent-blade.org/index.php?n=Hobbies.ExtListView

Cheers,


More information about the pygtk mailing list