This is a duplicate of #1778 #1815 #1848, but here is a solution. I see that in mate-appearance-properties the mouse scroll works very well like this:
#include <gdk/gdk.h> #if GTK_CHECK_VERSION (3,0,0) gtk_widget_add_events (GTK_WIDGET (notebook1), GDK_SCROLL_MASK); g_signal_connect (GTK_WIDGET (notebook1), "scroll-event", G_CALLBACK (capplet_dialog_page_scroll_event_cb), GTK_WINDOW (window)); #endif
[source](https://github.com/mate-desktop/mate-control-center/blob/master/capplets/app...) + [capplet_dialog_page_scroll_event_cb function](https://github.com/mate-desktop/mate-control-center/blob/master/capplets/com...)