~~Title: Efl.Object.event_callback_forwarder_priority_add~~ ====== Efl.Object.event_callback_forwarder_priority_add ====== ===== Description ===== %%Add an event callback forwarder that will make this object emit an event whenever another object (%%''source''%%) emits it. The event is said to be forwarded from %%''source''%% to this object.%% %%The event is unaffected on %%''source''%% and behave like any other event being propagated on any object and will trigger all the handler registered on %%''source''%% like nothing special happened.%% %%This allow object that hide internally another object to easily be able to propagate an event without the need to add custom handler.%% %%The priority is used to make sure that you are intercepting the event when you expect by inserting a handler at the right position in the stack of event handler on the object that emit the event.%% //Since 1.22// {{page>:develop:api-include:efl:object:method:event_callback_forwarder_priority_add:description&nouser&nolink&nodate}} ===== Signature ===== event_callback_forwarder_priority_add { params { @in desc: const(Efl.Event_Description); @in priority: Efl.Callback_Priority; @in source: Efl.Object; } } ===== C signature ===== void efl_event_callback_forwarder_priority_add(Eo *obj, const Efl_Event_Description desc, Efl_Callback_Priority priority, Efl_Object *source); ===== Parameters ===== * **desc** //(in)// - %%The description of the event to listen to%% * **priority** //(in)// - %%The priority at which to insert the event forwarder handler in the existing list of handler on the source of event object. The lower the number, the higher the priority. As a shortcut %%[[:develop:api:efl:callback_priority_before|Efl.Callback_Priority_Before]]%%, %%[[:develop:api:efl:callback_priority_default|Efl.Callback_Priority_Default]]%% and %%[[:develop:api:efl:callback_priority_after|Efl.Callback_Priority_After]]%% can be used. See %%[[:develop:api:efl:callback_priority|Efl.Callback_Priority]]%% for more details.%% * **source** //(in)// - %%The object which emits the initial event%% ===== Implemented by ===== * [[:develop:api:efl:object:method:event_callback_forwarder_priority_add|Efl.Object.event_callback_forwarder_priority_add]]