Re: [gtk-list] Window resizing
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Window resizing
- Date: Wed, 16 Dec 1998 09:37:17 -0600 (CST)
On Wed, 16 Dec 1998, Mike Oliphant wrote:
> I have a vbox with a number of widgets in it. When I hide one of them, I
> want the window to automatically shrink to its new minimum size.
> Currently, it just stays the same size. Is there any way to make this work
> like I want?
>
Using gtk_window_set_policy, set the auto_shrink policy to TRUE. When you
remove a widget, you may need to queue_resize on the window - this used to
be true, I don't know if it still is. Try it out.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]