RGtk2 (version 2.20.31)

GtkEventBox: GtkEventBox

Description

A widget used to catch events for widgets which do not have their own window

Arguments

Methods and Functions

gtkEventBoxNew(show = TRUE) gtkEventBoxSetAboveChild(object, above.child) gtkEventBoxGetAboveChild(object) gtkEventBoxSetVisibleWindow(object, visible.window) gtkEventBoxGetVisibleWindow(object) gtkEventBox(show = TRUE)

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkEventBox

Interfaces

GtkEventBox implements AtkImplementorIface and GtkBuildable.

Detailed Description

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.

Structures

Convenient Construction

gtkEventBox is the equivalent of gtkEventBoxNew.

Properties

above-child [logical : Read / Write]
Whether the event-trapping window of the eventbox is above the window of the child widget as opposed to below it. Default value: FALSE
visible-window [logical : Read / Write]
Whether the event box is visible, as opposed to invisible and only used to trap events. Default value: TRUE

References

http://library.gnome.org/devel//gtk/GtkEventBox.html