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