static void ScrollChild_cb(IntPtr inst, int scroll, bool horizontal) { try { ScrolledWindow __obj = GLib.Object.GetObject(inst, false) as ScrolledWindow; __obj.OnScrollChild((Gtk.ScrollType)scroll, horizontal); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }