Re: clist question
| From: | Adrian Snyman | Date: | Wed, 25 Aug 2004 07:44:51 +0000 |
| Subject: | Re: clist question | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4992@lists.php.net to get a copy of this message | ||
On Wednesday 25 August 2004 09:25, tony@php.net wrote:
> Hi,
>
> I have a clist inside a scrolled window, the clist has 4 columns.
>
> What I would like is for columns 1, 3 and 4 to each have a fixed width
> of 100 px, and for column 2 to take up the rest of the available width.
> When the window is resized I would like column 2 to resize and the
> others to stay fixed.
>
> I have tried various combinations of set_column_auto_resize,
> set_column_width,set_column_max_width. I have even tried catching the
> column_resized signals and then to the resize column 4. Whatever I do I
> can't stop the 4th column taking up the remaining space.
>
> Is there a way around this?
>
> Thanks
> tony
I am only just getting into php/gtk ..
But is there not a way to interrogate the width of the clist prior to
population ??
Then just divide it up ??
Not too sure ..
--
Regards,
Adrian Snyman
Tel: (083)647-5299
/* Beat Me, Whip Me, Make me use Windows !! */