struct Efl.Event {
[[Parameter passed in event callbacks holding extra event parameters]]
object: Efl.Object; [[The object the event was called on.]]
- desc: ref(const(Efl.Event.Description)); [[The event description.]]
+ desc: ptr(const(Efl.Event.Description)); [[The event description.]]
info: void_ptr; [[Extra event information passed by the event caller.]]
}
See also \@ref efl_event_callback_array_add.
]]
- desc: ref(const(Efl.Event.Description)); [[The event description.]]
+ desc: ptr(const(Efl.Event.Description)); [[The event description.]]
func: Efl.Event_Cb; [[The callback function.]]
}
being freed.
]]
params {
- @in wref: ref(Efl.Object);
+ @in wref: ptr(Efl.Object);
}
}
wref_del {
[[Delete the weak reference passed.]]
params {
- @in wref: ref(Efl.Object);
+ @in wref: ptr(Efl.Object);
}
}
@property key_data {
key: string; [[the key associated with the value]]
}
values {
- value: ref(generic_value); [[the value to set]]
+ value: ptr(generic_value); [[the value to set]]
}
}
event_thaw {
]]
return: bool; [[Return $true when the callback has been successfully added.]]
params {
- @in desc: ref(const(Efl.Event.Description)); [[The description of the event to listen to]]
+ @in desc: ptr(const(Efl.Event.Description)); [[The description of the event to listen to]]
@in priority: Efl.Callback_Priority; [[The priority of the callback]]
@in cb: Efl.Event_Cb; [[the callback to call]]
@in data: const(void_ptr); [[additional data to pass to the callback]]
[[Del a callback with a specific data associated to it for an event.]]
return: bool; [[Return $true when the callback has been successfully removed.]]
params {
- @in desc: ref(const(Efl.Event.Description)); [[The description of the event to listen to]]
+ @in desc: ptr(const(Efl.Event.Description)); [[The description of the event to listen to]]
@in func: Efl.Event_Cb; [[the callback to delete]]
@in user_data: const(void_ptr); [[The data to compare]]
}
]]
return: bool; [[Return $true when the callback has been successfully added.]]
params {
- @in array: ref(const(Efl.Callback_Array_Item)); [[an #Efl_Callback_Array_Item of events to listen to]]
+ @in array: ptr(const(Efl.Callback_Array_Item)); [[an #Efl_Callback_Array_Item of events to listen to]]
@in priority: Efl.Callback_Priority; [[The priority of the callback]]
@in data: const(void_ptr); [[additional data to pass to the callback]]
}
]]
return: bool; [[Return $true when the callback has been successfully removed.]]
params {
- @in array: ref(const(Efl.Callback_Array_Item)); [[an #Efl_Callback_Array_Item of events to listen to]]
+ @in array: ptr(const(Efl.Callback_Array_Item)); [[an #Efl_Callback_Array_Item of events to listen to]]
@in user_data: const(void_ptr); [[The data to compare]]
}
}
event_callback_call {
[[Call the callbacks for an event of an object.]]
params {
- @in desc: ref(const(Efl.Event.Description)); [[The description of the event to call]]
+ @in desc: ptr(const(Efl.Event.Description)); [[The description of the event to call]]
@in event_info: void_ptr; [[Extra event info to pass to the callbacks]]
}
return: bool; [[$false if one of the callbacks aborted the call,
@since 1.19
]]
params {
- @in desc: ref(const(Efl.Event.Description)); [[The description of the event to call]]
+ @in desc: ptr(const(Efl.Event.Description)); [[The description of the event to call]]
@in event_info: void_ptr; [[Extra event info to pass to the callbacks]]
}
return: bool; [[$false if one of the callbacks aborted the call,
event_callback_forwarder_add {
[[Add an event callback forwarder for an event and an object.]]
params {
- @in desc: ref(const(Efl.Event.Description)); [[The description of the event to listen to]]
+ @in desc: ptr(const(Efl.Event.Description)); [[The description of the event to listen to]]
@in new_obj: Efl.Object; [[The object to emit events from]]
}
}
event_callback_forwarder_del {
[[Remove an event callback forwarder for an event and an object.]]
params {
- @in desc: ref(const(Efl.Event.Description)); [[The description of the event to listen to]]
+ @in desc: ptr(const(Efl.Event.Description)); [[The description of the event to listen to]]
@in new_obj: Efl.Object; [[The object to emit events from]]
}
}
dbg_info_get {
[[Get dbg information from the object.]]
params {
- @in root_node: ref(Efl.Dbg_Info); [[node of the tree]]
+ @in root_node: ptr(Efl.Dbg_Info); [[node of the tree]]
}
}
children_iterator_new {
KW(abstract), KW(constructor), KW(constructors), KW(data), \
KW(destructor), KW(eo), KW(eo_prefix), KW(event_prefix), KW(events), KW(free), \
KW(get), KW(implements), KW(import), KW(interface), KW(keys), KW(legacy), \
- KW(legacy_prefix), KW(methods), KW(mixin), KW(own), KW(params), KW(ref), \
+ KW(legacy_prefix), KW(methods), KW(mixin), KW(own), KW(params), KW(ptr), \
KW(set), KW(type), KW(values), KW(var), KWAT(auto), KWAT(beta), \
KWAT(c_only), KWAT(class), KWAT(const), KWAT(empty), KWAT(extern), \
KWAT(free), KWAT(hot), KWAT(in), KWAT(inout), KWAT(nonull), KWAT(nullable), \
// inref
inrefint {
params {
- @in v: ref(int);
+ @in v: ptr(int);
}
}
inrefintown {
params {
- @in v: own(ref(int));
+ @in v: own(ptr(int));
}
}
inrefintownfree {
params {
- @in v: free(own(ref(int)), free);
+ @in v: free(own(ptr(int)), free);
}
}
// in void ptr
}
inintptr {
params {
- @in v: ref(int);
+ @in v: ptr(int);
}
}
inintptrown {
params {
- @in v: own(ref(int));
+ @in v: own(ptr(int));
}
}
inintptrownfree {
params {
- @in v: free(own(ref(int)), free);
+ @in v: free(own(ptr(int)), free);
}
}
instring {
}
instringptr {
params {
- @in v: ref(string);
+ @in v: ptr(string);
}
}
instringown {
}
instringptrown {
params {
- @in v: own(ref(string));
+ @in v: own(ptr(string));
}
}
instringshare {
}
// return
returnrefint {
- return: ref(int);
+ return: ptr(int);
}
returnvoidptr {
return: void_ptr;
return: int;
}
returnintptr {
- return: ref(int);
+ return: ptr(int);
}
returnintptrown {
- return: own(ref(int));
+ return: own(ptr(int));
}
returnintptrownfree {
params {
- @in v: free(own(ref(int)), free);
+ @in v: free(own(ptr(int)), free);
}
}
returnstring {
return: string;
}
returnstringptr {
- return: ref(string);
+ return: ptr(string);
}
returnstringown {
return: own(string);
}
returnstringownptr {
- return: own(ref(string));
+ return: own(ptr(string));
}
returnstringshare {
return: stringshare;
}
outintptr {
params {
- @out v: ref(int);
+ @out v: ptr(int);
}
}
outintptrown {
params {
- @out v: own(ref(int));
+ @out v: own(ptr(int));
}
}
outintptrownfree {
params {
- @out v: free(own(ref(int)), free);
+ @out v: free(own(ptr(int)), free);
}
}
outstringshare {
}
optionalinintptr {
params {
- @in v: ref(int) @optional;
+ @in v: ptr(int) @optional;
}
}
optionalinintptrown {
params {
- @in v: own(ref(int)) @optional;
+ @in v: own(ptr(int)) @optional;
}
}
optionalinintptrownfree {
params {
- @in v: free(own(ref(int)), free) @optional;
+ @in v: free(own(ptr(int)), free) @optional;
}
}
optionaloutvoidptr {
}
optionaloutintptr {
params {
- @out v: ref(int) @optional;
+ @out v: ptr(int) @optional;
}
}
optionaloutintptrown {
params {
- @out v: own(ref(int)) @optional;
+ @out v: own(ptr(int)) @optional;
}
}
optionaloutintptrownfree {
params {
- @out v: free(own(ref(int)), free) @optional;
+ @out v: free(own(ptr(int)), free) @optional;
}
}
optionalinclassname {