forked from enlightenment/efl
eo: remove Efl_Event definition (replace with builtin)
This commit is contained in:
parent
f230dc9dbc
commit
d964a04da1
|
@ -3,14 +3,14 @@ import efl_object;
|
||||||
function @beta EFlThreadIOCall {
|
function @beta EFlThreadIOCall {
|
||||||
[[ A Function to call on the "other end" of a thread obvject ]]
|
[[ A Function to call on the "other end" of a thread obvject ]]
|
||||||
params {
|
params {
|
||||||
@cref event: Efl.Event; [[ ]]
|
@in event: const(event); [[ ]]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function @beta EFlThreadIOCallSync {
|
function @beta EFlThreadIOCallSync {
|
||||||
[[ A Function to call on the "other end" of a thread obvject ]]
|
[[ A Function to call on the "other end" of a thread obvject ]]
|
||||||
params {
|
params {
|
||||||
@cref event: Efl.Event; [[ ]]
|
@in event: const(event); [[ ]]
|
||||||
}
|
}
|
||||||
return: void_ptr; [[ ]]
|
return: void_ptr; [[ ]]
|
||||||
};
|
};
|
||||||
|
|
|
@ -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.
|
makes sure other widgets will not also process this input event.
|
||||||
]]
|
]]
|
||||||
params {
|
params {
|
||||||
@cref eo_event: Efl.Event;
|
@in eo_event: const(event);
|
||||||
[[EO event struct with an Efl.Input.Event as info.]]
|
[[EO event struct with an Efl.Input.Event as info.]]
|
||||||
@in source: Efl.Canvas.Object;
|
@in source: Efl.Canvas.Object;
|
||||||
[[Source object where the event originated. Often same as this.]]
|
[[Source object where the event originated. Often same as this.]]
|
||||||
|
|
|
@ -437,17 +437,3 @@ abstract Efl.Object
|
||||||
reference you keep to the 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.
|
|
||||||
]]
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue