Re: [gtk-list] packing/unpacking of boxes AND colors -> segment violation



>  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]