Re: [gtk-list] Killing Widgets Questions

"Thomas S. Urban" <> writes:

> Hi
> I am working with Gtk on an app, and am wondering what
> the best way to kill widgets is.  I've seen setting
> the top level widget to null, and also using some
> destroy_widget function.  What I am doing is creating
> a window with a bunch of widgets with a function, and
> then later, I want to kill it after some event.  My
> concerns
> 1.  How to kill the window so that all widgets are
> freed up.

  gtk_widget_destroy (window);

Hope this helps,

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