static void PoppedUp_cb(IntPtr inst, IntPtr p0, IntPtr p1, bool p2, bool p3) { try { Menu __obj = GLib.Object.GetObject(inst, false) as Menu; __obj.OnPoppedUp(p0, p1, p2, p3); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }