Gtk.EventBox
const Gtk = imports.gi.Gtk;
let event_box = new Gtk.EventBox({
above_child: value,
visible_window: value,
});
The Gtk.EventBox widget is a subclass of Gtk.Bin 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.
Hierarchy
-
GObject.Object
-
GObject.InitiallyUnowned
-
Gtk.Widget
-
Gtk.Container
-
Gtk.Bin
- Gtk.EventBox
-
-
-
-