If you only want to do the sizing once, a more efficient way would be to
add all the rows and call the GtkCList.columns_autosize() method which
will resize all the columns to the optimal widths without causing them to
resize every time a cell is changed.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 30 Jun 1999, Harry Henry Gebel wrote:
> > you can get gtk to automatically resize a column with the
> > GtkCList.set_column_auto_resize(col) method. If you want to find
>
> Thanks for the information, I settled on setting the columns to auto
> resize when filling them with the initial data, then turning auto
> resizing off after showing the list so if any additional data doesn't
> fit it will be handled as a special case by the user, I think this is a
> good compromise, will see how it works in actual practice.
>
> -Harry
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]