Re: [gtk-list] Can't resize a GTK window
- From: Alistair Cunningham <ac212 cam ac uk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Can't resize a GTK window
- Date: Wed, 27 May 1998 18:27:55 +0100 (BST)
On Thu, 28 May 1998, Lynx wrote:
>Hi,
> Is it possible to reduce the size of a window after its creation?
>It seems like gtk sets the minimum size to its initial size!
gtk_window_set_policy (GtkWindow *window,
gint allow_shrink,
gint allow_grow,
gint auto_shrink)
eg. gtk_window_set_policy( GTK_WINDOW( mainwin ), TRUE, FALSE, FALSE );
Hope this helps...
Alistair Cunningham.
--------------------------------------------------------------------------
Alistair Cunningham Selwyn College, Cambridge Email: ac212@cam.ac.uk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]