static IntPtr CompositeName_cb(IntPtr inst, IntPtr child) { try { Container __obj = GLib.Object.GetObject(inst, false) as Container; string __result; __result = __obj.OnCompositeName(GLib.Object.GetObject(child) as Gtk.Widget); return(GLib.Marshaller.StringToPtrGStrdup(__result)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }