Re: [gtk-list] Re: Bug/Feature Destroying Widgets



Eckehard Berns wrote:

> On Mon, Mar 30, 1998 at 04:02:21AM -0500, Scott Dybiec wrote:
> > A program that worked with a previous version of GTK (0.99.1) no longer
> > destroys widgets with the gtk_widget_destroy() command.  If I try to
> > destroy a frame, only things *in* the frame are destroyed, not the frame
> > itself.
>
> That's not quite true. Well, it might be a bug, but not the bug you
> described. I ran the program and forced a redraw by dragging the window out of
> the screen and back again -- no frame any more.
>
> Maybe you should force a redraw of the window after destroying the frame.

Thanks for taking a look at the issue, Eckehard.  What's the right way to
initiate the redraw?

Seems like the gtk_widget_destroy() call should behave the same for both the
container widget as well those widgets held within it. Why do some widgets (those
contained) not need the redraw while the container does for it to disappear?

$cott




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]