Re: [gtk-list] A newbie problem




Drizzt <terron@arrakis.es> writes:

> Hi everybody
> 
> I'm developing a little FTP client, for learning gtk programming, and I
> have a problem. I create widgets widt gtk_<name>_new funtion.  When I
> exit for the program, the widget ( and resources associated with these
> widget are destroyed), but , if I create  ej, a dialog box, with elements,
> if  I don't need these more, Have I to destroy each widget in order to
> release the resources?. How I can control create/destroy widget?

If I understand your problem correctly, just call:
  
  gtk_widget_destroy (dialog);

GTK will automatically take care of destroying the child widgets.

Regards,
                                        Owen



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