[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Resizing
- From: Nigel Gamble <nigel nrg org>
- To: gtk-app-devel-list <gtk-app-devel-list redhat com>
- Subject: Re: Resizing
- Date: Mon, 30 Nov 1998 15:45:40 -0800 (PST)
On Mon, 30 Nov 1998, Thomas Habets wrote:
> I init my window to 640x480 with
> gtk_widget_set_usize(GTK_WIDGET(window), 640,480)
>
> But then I can't change the size of the window to something thinner
> (horizontally smaller) than 640. I have a text widget with a scrollbar in
> the window.
> How do I fix it so that I can resize it as I want?
try adding
gtk_window_set_policy(GTK_WINDOW(window), TRUE, TRUE, TRUE);
Nigel Gamble nigel@nrg.org
Mountain View, CA, USA. http://www.nrg.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]