James Henstridge wrote:
> 
> In C, you would use clist->column[i].width, which will give you the width
> of the column.  I should add an accessor like this to pygtk along with the
> adjustment modifier routines.
> 
> James.

Supposing one were to try adding such an accessor, what would
be the right way to go about it?  My best guess would be to
do something similar to what you have done for GdkWindow:

        o Write a wrapper object for GtkCListColumn.
        o Include `width' among its __members__.
        o Add _wrap_gtk_clist_column, and make it return a
          list of GtkCListColumn wrappers.  (?)
        o Add 'column' to gtk.GtkCList.__getattr__.attrs. (?)
        o Add a description for GtkCListColumn to description.py.

Thanks for any advice.

-- 
Mitch Chapman
[EMAIL PROTECTED]
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to