Forgot the recreation part, I am so sorry!

There are two classes. The second (SettingsWindow) is derived from
Gtk.Window. The first class creates an instance of the second in the private
variable settings_window. The first class then calls settings_window.Show().
This works. The second class then receives OnDeleteEvent which runs
this.Hide();. The user then accesses a menu so that the
settings_window.Show(); is run again. This time the application crashes and
it says that it is a void object.

Again, sorry for missing including this the first time around. I am tired
after bending my head on this for hours.

Martin
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to