static void SetLabel_cb(IntPtr inst, IntPtr label) { try { MenuItem __obj = GLib.Object.GetObject(inst, false) as MenuItem; __obj.OnSetLabel(GLib.Marshaller.Utf8PtrToString(label)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }