Re: [gtk-list] Re: Ataching data to a widget
- From: Sven LUTHER <luther maxime u-strasbg fr>
- To: Havoc Pennington <rhp zirx pair com>, luther dpt-info u-strasbg fr
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Ataching data to a widget
- Date: Thu, 3 Jun 1999 17:35:16 +0200
On Thu, Jun 03, 1999 at 11:32:01AM -0400, Havoc Pennington wrote:
>
> On Thu, 3 Jun 1999, Sven LUTHER wrote:
> >
> > When a widget with attached data is destroyed, what happens to attached data ?
> > Does it get freed normally, or does it just get leaked ?
> >
>
> You can use gtk_object_set_data_full() to specify a function to free it
> with. Then it will be freed when you destroy the widget.
>
> > what about the data associated to a clist row ?
> >
>
> There's a gtk_clist_set_row_data_full() for this.
Thanks, that will be very helpfull.
Friendly,
Sven LUTHER
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]