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

Billy Schoenberg wasbridge at gmail.com
Sat Jun 28 02:31:06 EDT 2008


Hi,
I am having a problem removing all of the widgets from a table.  I use this
code


foreach ( Widget c in controller.GTKObjectPropertiesTable.Children)
                {
                   controller.GTKObjectPropertiesTable.Remove(c);
                }

to try to clear a table, but it gives this exception

 at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000a>
  at Open_Dialect.MainWindow..ctor (string) [0x0070a] in
/Users/Billy/Desktop/Open Dialect/Open
Dialect/OpenDialect/FormsAndViews/MainWindow.cs:257
  at Open_Dialect.Program.Main (string[]) [0x0005f] in
/Users/Billy/Desktop/Open Dialect/Open Dialect/OpenDialect/Program.cs:43
  at (wrapper runtime-invoke)
Open_Dialect.Program.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>

yes that is the full stack trace, it is missing pieces and I do not know
why.  The first time this piece of code is called it works fine, removes the
widgets from the table, but then after I reattach them and call this method
again it throws this exception.  Any ideas?  Who to report to?  I am having
a lot of trouble registering for the Bugzilla at Novell.

Billy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080628/af546b45/attachment.html 


More information about the Gtk-sharp-list mailing list