[Gtk-sharp-list] Removing all the widgets from a table Mac OSX GTK#

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Jun 28 17:43:51 EDT 2008


On Sat, Jun 28, 2008 at 4:33 PM, Billy Schoenberg <wasbridge at gmail.com> wrote:
> Hey, I thought about the Destroy, make new, but I have run into a problem
> there, Destroy and Dispose both delete all of the Widgets packed inside of
> them, is there anyway to toss out the table but not the widgets packed
> inside?

Nope, except removing them first. That said, it may be that the
crasher bug is in the table, so that might work fine.

IMO it's a pretty odd pattern to clear out all the widgets from the
table, store them, and put them back in. Why not just rebuild the
whole thing from scratch, or store the fully populated table?

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Gtk-sharp-list mailing list