Gdk.EventCrossing¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| detail | Gdk.NotifyType | r/w | the kind of crossing that happened ( Gdk.NotifyType.INFERIOR,Gdk.NotifyType.ANCESTOR,Gdk.NotifyType.VIRTUAL,Gdk.NotifyType.NONLINEARorGdk.NotifyType.NONLINEAR_VIRTUAL). | 
| focus | bool | r/w | Trueif window is the focus window or an inferior. | 
| mode | Gdk.CrossingMode | r/w | the crossing mode ( Gdk.CrossingMode.NORMAL,Gdk.CrossingMode.GRAB,Gdk.CrossingMode.UNGRAB,Gdk.CrossingMode.GTK_GRAB,Gdk.CrossingMode.GTK_UNGRABorGdk.CrossingMode.STATE_CHANGED).Gdk.CrossingMode.GTK_GRAB,Gdk.CrossingMode.GTK_UNGRAB, andGdk.CrossingMode.STATE_CHANGEDwere added in 2.14 and are always synthesized, never native. | 
| send_event | int | r/w | Trueif the event was sent explicitly. | 
| state | Gdk.ModifierType | r/w | a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See Gdk.ModifierType. | 
| subwindow | Gdk.Window | r/w | the window that was entered or left. | 
| time | int | r/w | the time of the event in milliseconds. | 
| type | Gdk.EventType | r/w | the type of the event ( Gdk.EventType.ENTER_NOTIFYorGdk.EventType.LEAVE_NOTIFY). | 
| window | Gdk.Window | r/w | the window which received the event. | 
| x | float | r/w | the x coordinate of the pointer relative to the window. | 
| x_root | float | r/w | the x coordinate of the pointer relative to the root of the screen. | 
| y | float | r/w | the y coordinate of the pointer relative to the window. | 
| y_root | float | r/w | the y coordinate of the pointer relative to the root of the screen. | 
Methods¶
None