Thanks for the feedback. Though I understand your being sceptical, I don't 
think that the chosen approach violates the MVC paradigm. pygtk comes with 
some model classes for being used with TreeViews, so what I am doing is to 
extend the GenericListModel. The other thing is to create some _controller_ 
classes that take care of the usual business like deleting, changing and 
inserting data. 

I am making an effort to stick to MVC, and in the only case I can think of, 
which might violate a purists conception of MVC (ListView has a convenience 
method for returning the selected row's data), this is documented and the 
users are free to fiddle with the tree_iter themselves.

>> Hi folks,
>   Hello.
>> seems that the sourceforge list server is down.
>   Seems to work all right.
>> a project that I have started a short while
>> ago. It's goal is to extend some pygtk classes so they can be used easily
>> with SQLObject.
>   I am afraid it would violate MVC pattern. But you are welcome anyway!
>Oleg.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to