static void ComputeChildAllocation_cb(IntPtr inst, IntPtr allocation) { try { Frame __obj = GLib.Object.GetObject(inst, false) as Frame; __obj.OnComputeChildAllocation((Gdk.Rectangle)Marshal.PtrToStructure(allocation, typeof(Gdk.Rectangle))); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }