Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Properties Author(s) References
A widget used to catch events for widgets which do not have their own window
gtkEventBoxNew(show = TRUE)
gtkEventBoxSetAboveChild(object, above.child)
gtkEventBoxGetAboveChild(object)
gtkEventBoxSetVisibleWindow(object, visible.window)
gtkEventBoxGetVisibleWindow(object)
gtkEventBox(show = TRUE)
1 2 3 4 5 6 7 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkEventBox
|
GtkEventBox implements
AtkImplementorIface and GtkBuildable
.
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.
GtkEventBox
The GtkEventBox
struct contains private data only, and
should be accessed using the functions below.
gtkEventBox
is the equivalent of gtkEventBoxNew
.
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
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkEventBox.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.