gdk.event_crossing
Module for [EventCrossing] class
class EventCrossing
Types 1
classEventCrossing
Generated when the pointer enters or leaves a window.
Fields
GdkEventCrossing _cInstanceMethods
void * _cPtr()gdk.types.EventType type() @propertyGet `type` field. Returns: the type of the event ([gdk.types.EventType.EnterNotify] or [gdk.types.EventType.LeaveNotify]).void type(gdk.types.EventType propval) @propertySet `type` field. Params: propval = the type of the event ([gdk.types.EventType.EnterNotify] or [gdk.types.EventType.LeaveNotify]).gdk.window.Window window() @propertyGet `window` field. Returns: the window which received the event.void window(gdk.window.Window propval) @propertySet `window` field. Params: propval = the window which received the event.void sendEvent(byte propval) @propertySet `sendEvent` field. Params: propval = true if the event was sent explicitly.gdk.window.Window subwindow() @propertyGet `subwindow` field. Returns: the window that was entered or left.void subwindow(gdk.window.Window propval) @propertySet `subwindow` field. Params: propval = the window that was entered or left.void time(uint propval) @propertySet `time` field. Params: propval = the time of the event in milliseconds.void x(double propval) @propertySet `x` field. Params: propval = the x coordinate of the pointer relative to the window.void y(double propval) @propertySet `y` field. Params: propval = the y coordinate of the pointer relative to the window.double xRoot() @propertyGet `xRoot` field. Returns: the x coordinate of the pointer relative to the root of the screen.void xRoot(double propval) @propertySet `xRoot` field. Params: propval = the x coordinate of the pointer relative to the root of the screen.double yRoot() @propertyGet `yRoot` field. Returns: the y coordinate of the pointer relative to the root of the screen.void yRoot(double propval) @propertySet `yRoot` field. Params: propval = the y coordinate of the pointer relative to the root of the screen.gdk.types.CrossingMode mode() @propertyGet `mode` field. Returns: the crossing mode ([gdk.types.CrossingMode.Normal], [gdk.types.CrossingMode.Grab], [gdk.types.CrossingMode.Ungrab], [gdk.types.CrossingMode.GtkGrab], [gdk.types.CrossingM...void mode(gdk.types.CrossingMode propval) @propertySet `mode` field. Params: propval = the crossing mode ([gdk.types.CrossingMode.Normal], [gdk.types.CrossingMode.Grab], [gdk.types.CrossingMode.Ungrab], [gdk.types.CrossingMode.GtkGrab], [gdk.types....gdk.types.NotifyType detail() @propertyGet `detail` field. Returns: the kind of crossing that happened ([gdk.types.NotifyType.Inferior], [gdk.types.NotifyType.Ancestor], [gdk.types.NotifyType.Virtual], [gdk.types.NotifyType.Nonlinear] o...void detail(gdk.types.NotifyType propval) @propertySet `detail` field. Params: propval = the kind of crossing that happened ([gdk.types.NotifyType.Inferior], [gdk.types.NotifyType.Ancestor], [gdk.types.NotifyType.Virtual], [gdk.types.NotifyType.Non...bool focus() @propertyGet `focus` field. Returns: true if @window is the focus window or an inferior.void focus(bool propval) @propertySet `focus` field. Params: propval = true if @window is the focus window or an inferior.gdk.types.ModifierType state() @propertyGet `state` field. Returns: a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See #GdkModifierType.void state(gdk.types.ModifierType propval) @propertySet `state` field. Params: propval = a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See #GdkModifierType.