eo: remove Efl_Event definition (replace with builtin)

This commit is contained in:
Daniel Kolesa 2019-07-26 13:02:00 +02:00
parent f230dc9dbc
commit d964a04da1
3 changed files with 3 additions and 17 deletions

View File

@ -3,14 +3,14 @@ import efl_object;
function @beta EFlThreadIOCall {
[[ A Function to call on the "other end" of a thread obvject ]]
params {
@cref event: Efl.Event; [[ ]]
@in event: const(event); [[ ]]
}
};
function @beta EFlThreadIOCallSync {
[[ A Function to call on the "other end" of a thread obvject ]]
params {
@cref event: Efl.Event; [[ ]]
@in event: const(event); [[ ]]
}
return: void_ptr; [[ ]]
};

View File

@ -174,7 +174,7 @@ abstract Efl.Ui.Widget extends Efl.Canvas.Group implements Efl.Access.Object,
makes sure other widgets will not also process this input event.
]]
params {
@cref eo_event: Efl.Event;
@in eo_event: const(event);
[[EO event struct with an Efl.Input.Event as info.]]
@in source: Efl.Canvas.Object;
[[Source object where the event originated. Often same as this.]]

View File

@ -437,17 +437,3 @@ abstract Efl.Object
reference you keep to the object.]]
}
}
struct @extern Efl.Event {
[[A parameter passed in event callbacks holding extra event parameters.
This is the full event information passed to callbacks in C.
]]
object: Efl.Object; [[The object the callback was called on.]]
desc: const(ptr(Efl.Event_Description)); [[The event description.]]
info: void_ptr; [[Extra event information passed by the event caller.
Must be cast to the event type declared in the EO file. Keep in mind that:
1) Objects are passed as a normal Eo*. Event subscribers can call functions on these objects.
2) Structs, built-in types and containers are passed as const pointers, with one level of indirection.
]]
}