When selecting a widget, in the common tab you can find the events control.
What is it for? How to use it?
It is used to enable and disable x events (they aren't all enabled by default). You can use them by assigning a handler to them in the signals tab under "GtkWidget".