GTK+ Reference Manual | |||
---|---|---|---|
<<< Prev | Home | Up | Next >>> |
GtkEventBox — a widget used to catch events for widgets which do not have their own window.
#include <gtk/gtk.h> struct GtkEventBox; GtkWidget* gtk_event_box_new (void);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkEventBox
The GtkEventBox widget is a subclass of GtkBin which also has its own window. It is useful since it allows you to catch events for widgets which do not have their own window.
struct GtkEventBox;
The GtkEventBox struct contains private data only, and should be accessed using the functions below.
GtkWidget* gtk_event_box_new (void);
Creates a new GtkEventBox.
Returns : | a new GtkEventBox. |
<<< Prev | Home | Up | Next >>> |
GtkDrawingArea | GtkHandleBox |