Broken link in docs - GdkEventMask



Hi all.

On the page: https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-add-events
 ... the link for GdkEventMask points to:
https://developer.gnome.org/gtk3/gdk4/gdk4-Events.html#GdkEventMask
... which doesn't exist.

Could anyone point me to some docs that would help me understand what
I pass to gtk_widget_add_events? I have some ( perl ) code that I was
given in the gtk-perl list to add some events for catching mouse
events:

$drawing_area->add_events(0x004|0x100|0x200);

This works, but:
 a) I don't know where these values are coming from and what they are
 b) I'd like to also catch mouse wheel events now

Any tips?

Thanks :)

Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]