static void RowHasChildToggled_cb(IntPtr inst, IntPtr path, IntPtr iter) { try { Gtk.TreeModelFilter __obj = GLib.Object.GetObject(inst, false) as Gtk.TreeModelFilter; __obj.OnRowHasChildToggled(path == IntPtr.Zero ? null : (Gtk.TreePath)GLib.Opaque.GetOpaque(path, typeof(Gtk.TreePath), false), Gtk.TreeIter.New(iter)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }