Compilation Units
Tagged Types
Provides raw access to the event stream.
It should only be used as a last resort if none of the other event controllers or gestures do the job.
type Cb_GObject_Gdk_Event_Boolean is not null access function
(Self : access Glib.Object.GObject_Record'Class;
Event : Gdk.Event.Gdk_Event) return Boolean;
type Cb_Gtk_Event_Controller_Legacy_Gdk_Event_Boolean is not null access function
(Self : access Gtk_Event_Controller_Legacy_Record'Class;
Event : Gdk.Event.Gdk_Event) return Boolean;
function Get_Type return Glib.GType
type Gtk_Event_Controller_Legacy is access all Gtk_Event_Controller_Legacy_Record'Class;
function Gtk_Event_Controller_Legacy_New return Gtk_Event_Controller_Legacy
Creates a new legacy event controller.
type Gtk_Event_Controller_Legacy_Record is new Gtk_Event_Controller_Record with null record;
procedure Gtk_New (Self : out Gtk_Event_Controller_Legacy)
Creates a new legacy event controller. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Initialize
(Self : not null access Gtk_Event_Controller_Legacy_Record'Class)
Creates a new legacy event controller. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure On_Event
(Self : not null access Gtk_Event_Controller_Legacy_Record;
Call : Cb_GObject_Gdk_Event_Boolean;
Slot : not null access Glib.Object.GObject_Record'Class;
After : Boolean := False)
Emitted for each GDK event delivered to Controller.
Callback parameters: -- @param Event the GdkEvent which triggered this signal
procedure On_Event
(Self : not null access Gtk_Event_Controller_Legacy_Record;
Call : Cb_Gtk_Event_Controller_Legacy_Gdk_Event_Boolean;
After : Boolean := False)
Emitted for each GDK event delivered to Controller.
Callback parameters: -- @param Event the GdkEvent which triggered this signal
Signal_Event : constant Glib.Signal_Name := "event";
Emitted for each GDK event delivered to Controller.
Callback parameters: -- @param Event the GdkEvent which triggered this signal