I don't seem to be able to override OnDestroyEvent in my Window  
subclass.

         protected override bool OnDestroyEvent(Gdk.Event args)
         {
             Console.WriteLine("b");

             if (base.OnDestroyEvent(args))
                 return true;

             Console.WriteLine("c");

             return false;
         }

I explicitly call Destroy for the Window

        Console.WriteLine("a");
        mainWindow.Destroy();
        Console.WriteLine("b");

I see a and b printed on the screen, but not c or d.

What could be wrong?

Thanks

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

Reply via email to