Re: Auto_shrink not working
- From: Wolfgang Sourdeau <wolfgang insu com>
- To: gtk-devel-list gnome org
- Subject: Re: Auto_shrink not working
- Date: Tue, 04 Jul 2000 14:01:51 -0400
> http://developer.gnome.org/doc/API/gtk/gtkwindow.html#GTK-WINDOW-SET-POLICY
> explains this issue.
I took a look at those explanations and wasn't too much satisfied with
them. What Daniel want is to have a window which is unresizeable, no
matter the size of the children widgets.
The way we found to achieve this is to use gtk_widget_set_usize
(widget, widget->allocation.width, widget->allocation.height). This
works, but I am sure the average GTK programmer won't understand why
his windows shrink even if he sets both allow_shrink, auto_shrink to
off (allow_grow is set to FALSE as well).
It's a bit of a non-sense.
Wolfgang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]