static void Deselected_cb(IntPtr inst) { try { MenuItem __obj = GLib.Object.GetObject(inst, false) as MenuItem; __obj.OnDeselected(); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }