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