Description
This widget is a container that catches events for its child when its
child does not have its own window (like a Gtk_Scrolled_Window or a
Gtk_Label for instance).
Some widgets in GtkAda do not have their own window, and thus can not
directly get events from the server. The
Gtk_Event_Box widget can be
used to force its child to receive events anyway.
For instance, this widget is used internally in a Gtk_Combo_Box so that
the application can change the cursor when the mouse is in the popup
window. In that case, it contains a frame, that itself contains the
scrolled window of the popup.
Subprograms
-
procedure Gtk_New (Event_Box : out Gtk_Event_Box);
-
procedure Initialize (Event_Box : access Gtk_Event_Box_Record'Class);
-
-
procedure Set_Visible_Window
(Event_Box : access Gtk_Event_Box_Record;
Visible_Window : Boolean);
function Get_Visible_Window
(Event_Box : access Gtk_Event_Box_Record) return Boolean;
-
procedure Set_Above_Child
(Event_Box : access Gtk_Event_Box_Record;
Above_Child : Boolean);
function Get_Above_Child
(Event_Box : access Gtk_Event_Box_Record) return Boolean;