A widget used to catch events.
The primary purpose of this class is to provide those widgets that do not have native event handling capabilities with the ability to receive and act on user-driven input.
The most common usage is its application on images. Sometimes, you may want images that you have displayed on your application to respond to events. GtkEventBox helps you do just that. Of course, you can always use this class on any widget that does not have its own window.
This class is a subclass of GtkBin and therefore has its own window.
GtkEventBox ();-- Creates a new event box.
get_above_child() Returns whether the event box is above or below the window of its child. get_visible_window() Returns whether the event box contains a visible window. set_above_child() Sets whether the event box is positioned above the window of its child. set_visible_window() Sets whether the child window of the event box is visible or not.