[Gtk-sharp-list] Removing all the widgets from a table Mac OSX GTK#
Billy Schoenberg
wasbridge at gmail.com
Sat Jun 28 21:58:32 EDT 2008
Hey,
I changed it so that each object I have has its own version of this table,
this table is packed into HBox, so when I want to change which table I
display I remove the table, destroy it, then pack in the new one, this works
on Windows, but fails with the same segfault on OSX. It is the
container.Remove that is to blame. Is there anyway to swap tables like this
without calling remove? Who do I file a bug report with? Generally how
long does it take to get fixed?
Billy
On Sat, Jun 28, 2008 at 5:43 PM, Michael Hutchinson <
m.j.hutchinson at gmail.com> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080628/f3c2032a/attachment.html
More information about the Gtk-sharp-list
mailing list