[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Preventing child widgets form beeing deleted?
- From: Federico Mena Quintero <federico redhat com>
- To: gtk-app-devel-list redhat com
- Subject: Re: Preventing child widgets form beeing deleted?
- Date: Mon, 9 Aug 1999 15:04:09 -0400
> I use a tbel to show icons in a scrolled window. Icons should be
> removed from and added to the table dynamically. What I do now is
> destry the table widget and recreate the tabel everytime something
> changes. But as all widgets that are in the table get destroyed
> when teh table is destroyed, I have to recreate them everytime, which
> generates a lot of overhead for huge tables.
>
> The easiest way to avoid this would be to reuse the widgets which
> have been in the table. I store those pointers anyway, but they
> are not valid once the table widget has been destroyed.
>
> Another (nicer...) solution would be a table_unatach function, which
> removes a table cell. But I found neiter one....
1. You can use gtk_container_remove() to remove them from the table.
2. You should be using the GnomeIconList widget.
Federico
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]