summaryrefslogtreecommitdiff
path: root/src/lib/eo/efl_object.eo
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-10 18:49:36 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-10 18:50:41 +0100
commit15b0d0dd125effe83659b427d10242704c3ae70e (patch)
tree4d7a6c57515d1163de1b71f334ed167137d11c92 /src/lib/eo/efl_object.eo
parent3dd19f16cb842c74404a76d0372b3e95d82c9e6f (diff)
efl_object: document when callbacks are called
Diffstat (limited to '')
-rw-r--r--src/lib/eo/efl_object.eo10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/eo/efl_object.eo b/src/lib/eo/efl_object.eo
index 5866cacf34..9994db6df2 100644
--- a/src/lib/eo/efl_object.eo
+++ b/src/lib/eo/efl_object.eo
@@ -322,6 +322,8 @@ abstract Efl.Object ()
322 322
323 callbacks of the same priority are called in reverse order of 323 callbacks of the same priority are called in reverse order of
324 creation. 324 creation.
325
326 A callback is only executed on events emitted after this call finished.
325 ]] 327 ]]
326 return: bool; [[Return $true when the callback has been successfully added.]] 328 return: bool; [[Return $true when the callback has been successfully added.]]
327 params { 329 params {
@@ -332,7 +334,10 @@ abstract Efl.Object ()
332 } 334 }
333 } 335 }
334 event_callback_del { 336 event_callback_del {
335 [[Delete a callback with a specific data associated to it for an event.]] 337 [[Delete a callback with a specific data associated to it for an event.
338
339 The callback will never be emitted again after this call, even if a event emission is going on.
340 ]]
336 return: bool; [[Return $true when the callback has been successfully removed.]] 341 return: bool; [[Return $true when the callback has been successfully removed.]]
337 params { 342 params {
338 @in desc: ptr(const(Efl.Event.Description)); [[The description of the event to listen to]] 343 @in desc: ptr(const(Efl.Event.Description)); [[The description of the event to listen to]]
@@ -347,6 +352,8 @@ abstract Efl.Object ()
347 352
348 callbacks of the same priority are called in reverse order of 353 callbacks of the same priority are called in reverse order of
349 creation. 354 creation.
355
356 A callback from the array is only executed on events emitted after this call finished.
350 ]] 357 ]]
351 return: bool; [[Return $true when the callback has been successfully added.]] 358 return: bool; [[Return $true when the callback has been successfully added.]]
352 params { 359 params {
@@ -358,6 +365,7 @@ abstract Efl.Object ()
358 event_callback_array_del { 365 event_callback_array_del {
359 [[Del a callback array with a specific data associated to it for an 366 [[Del a callback array with a specific data associated to it for an
360 event. 367 event.
368 The callbacks from the array will never be emitted again after this call, even if a event emission is going on.
361 ]] 369 ]]
362 return: bool; [[Return $true when the callback has been successfully removed.]] 370 return: bool; [[Return $true when the callback has been successfully removed.]]
363 params { 371 params {