static void Toggled_cb(IntPtr inst, IntPtr path) { try { CellRendererToggle __obj = GLib.Object.GetObject(inst, false) as CellRendererToggle; __obj.OnToggled(GLib.Marshaller.Utf8PtrToString(path)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }