Re: [gtk-list] A newbie problem
- From: Owen Taylor <owt1 cornell edu>
- To: Drizzt <terron arrakis es>
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] A newbie problem
- Date: 08 Jan 1998 16:08:20 -0500
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]