type Gtk_Event_Box_Record is new Gtk.Bin.Gtk_Bin_Record with private;
type Gtk_Event_Box is access all Gtk_Event_Box_Record'Class;
Above_Child_Property : constant Glib.Properties.Property_Boolean;
Visible_Window_Property : constant Glib.Properties.Property_Boolean;
procedure Gtk_New
( | Event_Box | : out Gtk_Event_Box); |
procedure Initialize
( | Event_Box | : access Gtk_Event_Box_Record'Class); |
function Get_Type return Gtk.Gtk_Type;
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; |
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.
Binding from C File version 2.8.17