Re: [gtk-list] Re: Optimum way to set the width of a clist
- From: Geert Bevin <gbevin thunderstorms org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Optimum way to set the width of a clist
- Date: Thu, 23 Sep 1999 11:27:55 +0200
Do a gtk_widget_set_usize() on the window or the clist widget. Strangely
this only needs to be done once (for example when you show the widget
the first time).
>         This works. But then there are another problem. How can I to limit the size of
> the scrolled window ? If the clist is too big the result window is bigger than
> screen.
> 
>         I have tried to catch the configure, size_request/allocate events and, if the
> width is greater than i.e. 1280, setting a fixed width of 1280 and horizontal
> scroll policy to AUTOMATIC.
> The result is ugly, the window resizes itself to the minimum size of clist ...
> 
>         Thanks,
> 
>                 - José Miguel
-- 
Geert Bevin - gbevin@thunderstorms.org
Montenegrostraat 11      1060 Brussels
BELGIUM                   0477/302.599
--------------------------------------
>>  Idealists have to communicate  <<
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]