[Github-comments] [geany/geany] Notebook tabs mouse scroll with gtk3 (#2455)

luigifab notifications at xxxxx
Tue Mar 17 22:11:02 UTC 2020


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/appearance/appearance-main.c#L208) + [capplet_dialog_page_scroll_event_cb function](https://github.com/mate-desktop/mate-control-center/blob/master/capplets/common/capplet-util.c#L173)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2455
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200317/35657cbc/attachment.htm>


More information about the Github-comments mailing list