Struct Efl.Event
A parameter passed in event callbacks holding extra event parameters. This is the full event information passed to callbacks in C. (Since EFL 1.22)
Constructors
Event(Object, EventDescription, IntPtr)
Constructor for Event.
Declaration
public Event(Object obj = null, EventDescription desc = default(EventDescription), IntPtr info = default(IntPtr))
Parameters
Type | Name | Description |
---|---|---|
Efl.Object | obj | |
Efl.EventDescription | desc | |
System.IntPtr | info |
Fields
Desc
The event description. (Since EFL 1.22)
Declaration
public EventDescription Desc
Field Value
Type | Description |
---|---|
Efl.EventDescription |
Info
Extra event information passed by the event caller. Must be cast to the event type declared in the EO file. Keep in mind that:
- Objects are passed as a normal Eo*. Event subscribers can call functions on these objects.
- Structs, built-in types and containers are passed as const pointers, with one level of indirection. (Since EFL 1.22)
Declaration
public IntPtr Info
Field Value
Type | Description |
---|---|
System.IntPtr |
Object
The object the callback was called on. (Since EFL 1.22)
Declaration
public Object Object
Field Value
Type | Description |
---|---|
Efl.Object |
Operators
Implicit(IntPtr to Event)
Implicit conversion to the managed representation from a native pointer.
Declaration
public static implicit operator Event(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | ptr | Native pointer to be converted. |
Returns
Type | Description |
---|---|
Efl.Event |