Is there a reason that CList and CTree have the calling arguments as 
follows?

def __init__(self, cols=1, titles=None, _obj=None):
def __init__(self, cols=1, tree_col=0, titles=None, _obj=None):

It would seem to make more sense to make titles right after self rather than 
cols.  Especially since almost every call to either of these two 
constructors which uses titles is going to be of the form:

CList(len(titlelist),titlelist) when one would expect
CList(titlelist) to be far more common and useful.

and then let CList work out the number of columns.

This is especially true since there doesn't seem to be any way to modify the 
titles except destroying the old CList and rebuilding a new one.

Admittedly I'm being picky, but it just seems that the common case of 
calling with a set of titles and the number of columns being the same length 
should be preferred over the uncommon case of the number of titles and the 
number of columns being different.

Andy
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to