Re: Clist column width



On Wed, Jun 06, 2001 at 01:21:38PM -0400, Chas Owens wrote:
Do you mean the lenth of the string in the cell or the actual pixel
length of the cell?

string length is easy: $len = length($clist->get_text($row, $col));

pixel length is damn near impossible as far as I know, the closest I
have gotten is


  Thanks for your quick answer! But I would like to know the "pixel length"
of a column. At the beginning I know it, but the user can freely modify it
as he wants. I tried to use the resize_column signal, but I didn't get the
size (only the number of the resized column).

What do you want to do with the width?

  I would like save it on exit, to set it back on next startup.

MCS




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]