static void Added_cb(IntPtr inst, IntPtr widget) { try { Container __obj = GLib.Object.GetObject(inst, false) as Container; __obj.OnAdded(GLib.Object.GetObject(widget) as Gtk.Widget); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }