procedure Destroy (Data : in out User_Data_Type)
type Gdk_Event_Func is access procedure (Event : Gdk.Event.Gdk_Event; Data : User_Data_Type);
Specifies the type of function passed to Gdk.Event.Handler_Set to handle all GDK events.
the Gdk.Event.Gdk_Event to process.
user data set when the event handler was installed with Gdk.Event.Handler_Set.
procedure Handler_Set (Func : Gdk_Event_Func; Data : User_Data_Type)
Sets the function to call to handle all events from GDK. Note that GTK+ uses this to install its own event handler, so it is usually not useful for GTK+ applications. (Although an application can call this function then call Gtk.Main.Main_Do_Event to pass events to GTK+.)
the function to call to handle events from GDK.
user data to pass to the function.
type User_Data_Type (<>) is private;