gdk.event_proximity

Module for [EventProximity] class

Types 1

Proximity events are generated when using GDK’s wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user’s finger has moved in or out of contact with a touch screen.

This event type will be used pretty rarely. It only is important for XInput aware programs that are drawing their own cursor.

Fields
Methods
void * _cPtr()
gdk.types.EventType type() @propertyGet `type` field. Returns: the type of the event ([gdk.types.EventType.ProximityIn] or [gdk.types.EventType.ProximityOut]).
void type(gdk.types.EventType propval) @propertySet `type` field. Params: propval = the type of the event ([gdk.types.EventType.ProximityIn] or [gdk.types.EventType.ProximityOut]).
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.
byte sendEvent() @propertyGet `sendEvent` field. Returns: true if the event was sent explicitly.
void sendEvent(byte propval) @propertySet `sendEvent` field. Params: propval = true if the event was sent explicitly.
uint time() @propertyGet `time` field. Returns: the time of the event in milliseconds.
void time(uint propval) @propertySet `time` field. Params: propval = the time of the event in milliseconds.
gdk.device.Device device() @propertyGet `device` field. Returns: the master device that the event originated from. Use [gdk.event.Event.getSourceDevice] to get the slave device.
void device(gdk.device.Device propval) @propertySet `device` field. Params: propval = the master device that the event originated from. Use [gdk.event.Event.getSourceDevice] to get the slave device.
Constructors
this(void * ptr, Flag!"Take" take)