Interface Efl.Input.IInterface
An object implementing this interface can send pointer events. Windows and canvas objects may send input events.
A "pointer" refers to the main pointing device, which could be a mouse, trackpad, finger, pen, etc... In other words, the finger id in any pointer event will always be 0.
A "finger" refers to a single point of input, usually in an absolute coordinates input device, and that can support more than one input position at at time (think multi-touch screens). The first finger (id 0) is sent along with a pointer event, so be careful to not handle those events twice. Note that if the input device can support "hovering", it is entirely possible to receive move events without down coming first.
A "key" is a key press from a keyboard or equivalent type of input device. Long, repeated, key presses will always happen like this: down...up,down...up,down...up (not down...up or down...down...down...up).
Syntax
public interface IInterface : IWrapper, IDisposable
Events
FingerDownEvent
Finger pressed (finger id is known).
Declaration
event EventHandler<InterfaceFingerDownEventArgs> FingerDownEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfaceFingerDownEventArgs> |
FingerMoveEvent
Finger moved (current and previous positions are known).
Declaration
event EventHandler<InterfaceFingerMoveEventArgs> FingerMoveEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfaceFingerMoveEventArgs> |
FingerUpEvent
Finger released (finger id is known).
Declaration
event EventHandler<InterfaceFingerUpEventArgs> FingerUpEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfaceFingerUpEventArgs> |
FocusInEvent
A focus in event.
Declaration
event EventHandler<InterfaceFocusInEventArgs> FocusInEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfaceFocusInEventArgs> |
FocusOutEvent
A focus out event.
Declaration
event EventHandler<InterfaceFocusOutEventArgs> FocusOutEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfaceFocusOutEventArgs> |
HoldEvent
All input events are on hold or resumed.
Declaration
event EventHandler<InterfaceHoldEventArgs> HoldEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfaceHoldEventArgs> |
KeyDownEvent
Keyboard key press.
Declaration
event EventHandler<InterfaceKeyDownEventArgs> KeyDownEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfaceKeyDownEventArgs> |
KeyUpEvent
Keyboard key release.
Declaration
event EventHandler<InterfaceKeyUpEventArgs> KeyUpEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfaceKeyUpEventArgs> |
PointerAxisEvent
Pen or other axis event update.
Declaration
event EventHandler<InterfacePointerAxisEventArgs> PointerAxisEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfacePointerAxisEventArgs> |
PointerCancelEvent
Main pointer button press was cancelled (button id is known). This can happen in rare cases when the window manager passes the focus to a more urgent window, for instance. You probably don't need to listen to this event, as it will be accompanied by an up event.
Declaration
event EventHandler<InterfacePointerCancelEventArgs> PointerCancelEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfacePointerCancelEventArgs> |
PointerDownEvent
Main pointer button pressed (button id is known).
Declaration
event EventHandler<InterfacePointerDownEventArgs> PointerDownEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfacePointerDownEventArgs> |
PointerInEvent
Pointer entered a window or a widget.
Declaration
event EventHandler<InterfacePointerInEventArgs> PointerInEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfacePointerInEventArgs> |
PointerMoveEvent
Main pointer move (current and previous positions are known).
Declaration
event EventHandler<InterfacePointerMoveEventArgs> PointerMoveEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfacePointerMoveEventArgs> |
PointerOutEvent
Pointer left a window or a widget.
Declaration
event EventHandler<InterfacePointerOutEventArgs> PointerOutEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfacePointerOutEventArgs> |
PointerUpEvent
Main pointer button released (button id is known).
Declaration
event EventHandler<InterfacePointerUpEventArgs> PointerUpEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfacePointerUpEventArgs> |
PointerWheelEvent
Mouse wheel event.
Declaration
event EventHandler<InterfacePointerWheelEventArgs> PointerWheelEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Input.InterfacePointerWheelEventArgs> |