Compilation Units
Tagged Types
An event caused by a pointing device moving between surfaces.
type Gdk_Crossing_Event is new Gdk_Event with null record;
type Gdk_Crossing_Mode is (
Normal,
Grab,
Ungrab,
Gtk_Grab,
Gtk_Ungrab,
State_Changed,
Touch_Begin,
Touch_End,
Device_Switch);
Specifies the crossing mode for enter and leave events.
package Gdk_Crossing_Mode_Properties is
new Generic_Internal_Discrete_Property (Gdk_Crossing_Mode);
type Gdk_Notify_Type is (
Ancestor,
Virtual,
Inferior,
Nonlinear,
Nonlinear_Virtual,
Unknown);
Specifies the kind of crossing for enter and leave events.
See the X11 protocol specification of LeaveNotify for full details of crossing event generation.
package Gdk_Notify_Type_Properties is
new Generic_Internal_Discrete_Property (Gdk_Notify_Type);
function Get_Detail (Self : Gdk.Event.Gdk_Event) return Gdk_Notify_Type
Extracts the notify detail from a crossing event.
the notify detail of Event
function Get_Focus (Self : Gdk.Event.Gdk_Event) return Boolean
Checks if the Event surface is the focus surface.
True if the surface is the focus surface
function Get_Mode (Self : Gdk.Event.Gdk_Event) return Gdk_Crossing_Mode
Extracts the crossing mode from a crossing event.
the mode of Event
function Get_Type return Glib.GType
type Property_Gdk_Crossing_Mode is new Gdk_Crossing_Mode_Properties.Property;
type Property_Gdk_Notify_Type is new Gdk_Notify_Type_Properties.Property;