[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Preventing child widgets form beeing deleted?
- From: Bodo Bauer <bb zenguin com>
- To: gtk-app-devel-list redhat com
- Subject: Preventing child widgets form beeing deleted?
- Date: Fri, 6 Aug 1999 17:31:03 -0700
Hello,
is tehre a way to prevent the deletion of childs in a GtkTable
when the table is destroyed calling gtk_widget_destroy ?
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....
Any ideas?
BB
--
Bodo Bauer bb@zenguin.com
Zenguin, Inc. Simplicity in Linux Applications
http://www.zenguin.com http://skaro.nightcrawler.com/~bb
PGP available
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]