Re: [gtk-list] packing/unpacking of boxes AND colors -> segment violation
- From: Federico Mena Quintero <federico redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] packing/unpacking of boxes AND colors -> segment violation
- Date: Thu, 30 Sep 1999 14:42:07 -0400
> HOWEVER, the vbox that contained the widget doesn't seem to resize back
> to its size before the widget was added. It "remembers" the 100x100 and
> displays an ugly, empty, widgetless, 100x100 box. In Tk I would have
> called the packForget() method to unpack/hide the widget quite
> independent of whether or not I wanted to actually destroy it (in
> general I probably don't) but gtk_widget_hide doesn't seem to do
> anything at all.
Use gtk_window_set_policy() and use TRUE for the auto_shrink argument.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]