Class

GtkEventBox

[]

Description [src]

class Gtk.EventBox : Gtk.Bin
  implements Atk.ImplementorIface, Gtk.Buildable {
  /* No available fields */
}

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.

[]

Hierarchy

hierarchy this GtkEventBox implements_0 AtkImplementorIface this--implements_0 implements_1 GtkBuildable this--implements_1 ancestor_0 GtkBin ancestor_0--this ancestor_1 GtkContainer ancestor_1--ancestor_0 ancestor_2 GtkWidget ancestor_2--ancestor_1 ancestor_3 GInitiallyUnowned ancestor_3--ancestor_2 ancestor_4 GObject ancestor_4--ancestor_3
[]

Constructors

gtk_event_box_new

Creates a new GtkEventBox.

[]

Instance methods

gtk_event_box_get_above_child

Returns whether the event box window is above or below the windows of its child. See gtk_event_box_set_above_child() for details.

since: 2.4

gtk_event_box_get_visible_window

Returns whether the event box has a visible window. See gtk_event_box_set_visible_window() for details.

since: 2.4

gtk_event_box_set_above_child

Set whether the event box window is positioned above the windows of its child, as opposed to below it. If the window is above, all events inside the event box will go to the event box. If the window is below, events in windows of child widgets will first got to that widget, and then to its parents.

since: 2.4

gtk_event_box_set_visible_window

Set whether the event box uses a visible or invisible child window. The default is to use visible windows.

since: 2.4

Methods inherited from GtkBin (1)
Methods inherited from GtkContainer (33)
Methods inherited from GtkWidget (263)
Methods inherited from GObject (43)
Methods inherited from GtkBuildable (10)
[]

Properties

Gtk.EventBox:above-child
No description available.

Gtk.EventBox:visible-window
No description available.

Properties inherited from GtkContainer (3)
Properties inherited from GtkWidget (39)
[]

Signals

Signals inherited from GtkContainer (4)
Signals inherited from GtkWidget (69)
Signals inherited from GObject (1)

Class structure