2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
9 /// <param name="kw_object">The object the callback is being triggered from.</param>
10 /// <param name="emission">The name component of the signal.</param>
11 /// <param name="source">The source of a signal used as context.</param>
12 [Efl.Eo.BindingEntity]
13 public delegate void EflLayoutSignalCb(Efl.Layout.ISignal kw_object, System.String emission, System.String source);
14 public delegate void EflLayoutSignalCbInternal(IntPtr data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Layout.ISignal kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source);
15 internal class EflLayoutSignalCbWrapper : IDisposable
18 private EflLayoutSignalCbInternal _cb;
19 private IntPtr _cb_data;
20 private EinaFreeCb _cb_free_cb;
22 internal EflLayoutSignalCbWrapper (EflLayoutSignalCbInternal _cb, IntPtr _cb_data, EinaFreeCb _cb_free_cb)
25 this._cb_data = _cb_data;
26 this._cb_free_cb = _cb_free_cb;
29 ~EflLayoutSignalCbWrapper()
34 protected virtual void Dispose(bool disposing)
36 if (this._cb_free_cb != null)
40 this._cb_free_cb(this._cb_data);
44 Efl.Eo.Globals.ThreadSafeFreeCbExec(this._cb_free_cb, this._cb_data);
46 this._cb_free_cb = null;
47 this._cb_data = IntPtr.Zero;
55 GC.SuppressFinalize(this);
58 internal void ManagedCb(Efl.Layout.ISignal kw_object,System.String emission,System.String source)
60 _cb(_cb_data, kw_object, emission, source);
61 Eina.Error.RaiseIfUnhandledException();
64 internal static void Cb(IntPtr cb_data, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Layout.ISignal kw_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source)
66 GCHandle handle = GCHandle.FromIntPtr(cb_data);
67 EflLayoutSignalCb cb = (EflLayoutSignalCb)handle.Target;
70 cb(kw_object, emission, source);
71 } catch (Exception e) {
72 Eina.Log.Warning($"Callback error: {e.ToString()}");
73 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
83 /// <summary>Layouts asynchronous messaging and signaling interface.
84 /// (Since EFL 1.22)</summary>
85 [Efl.Layout.ISignalConcrete.NativeMethods]
86 [Efl.Eo.BindingEntity]
87 public interface ISignal :
88 Efl.Eo.IWrapper, IDisposable
90 /// <summary>Sends an (Edje) message to a given Edje object
91 /// This function sends an Edje message to obj and to all of its child objects, if it has any (swallowed objects are one kind of child object). Only a few types are supported: - int, - float/double, - string/stringshare, - arrays of int, float, double or strings.
93 /// Messages can go both ways, from code to theme, or theme to code.
95 /// The id argument as a form of code and theme defining a common interface on message communication. One should define the same IDs on both code and EDC declaration, to individualize messages (binding them to a given context).
96 /// (Since EFL 1.22)</summary>
97 /// <param name="id">A identification number for the message to be sent</param>
98 /// <param name="msg">The message's payload</param>
99 void MessageSend(int id, Eina.Value msg);
100 /// <summary>Adds a callback for an arriving Edje signal, emitted by a given Edje object.
101 /// Edje signals are one of the communication interfaces between code and a given Edje object's theme. With signals, one can communicate two string values at a time, which are: - "emission" value: the name of the signal, in general - "source" value: a name for the signal's context, in general
103 /// Signals can go both ways, from code to theme, or theme to code.
105 /// Though there are those common uses for the two strings, one is free to use them however they like.
107 /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
109 /// Edje has internal signals it will emit, automatically, on various actions taking place on group parts. For example, the mouse cursor being moved, pressed, released, etc., over a given part's area, all generate individual signals.
111 /// With something like emission = "mouse,down,*", source = "button.*" where "button.*" is the pattern for the names of parts implementing buttons on an interface, you'd be registering for notifications on events of mouse buttons being pressed down on either of those parts (those events all have the "mouse,down," common prefix on their names, with a suffix giving the button number). The actual emission and source strings of an event will be passed in as the emission and source parameters of the callback function (e.g. "mouse,down,2" and "button.close"), for each of those events.
113 /// See also the Edje Data Collection Reference for EDC files.
115 /// See <see cref="Efl.Layout.ISignal.EmitSignal"/> on how to emit signals from code to a an object See <see cref="Efl.Layout.ISignal.DelSignalCallback"/>.
116 /// (Since EFL 1.22)</summary>
117 /// <param name="emission">The signal's "emission" string</param>
118 /// <param name="source">The signal's "source" string</param>
119 /// <param name="func">The callback function to be executed when the signal is emitted.</param>
120 /// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
121 bool AddSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func);
122 /// <summary>Removes a signal-triggered callback from an object.
123 /// This function removes a callback, previously attached to the emission of a signal, from the object obj. The parameters emission, source and func must match exactly those passed to a previous call to <see cref="Efl.Layout.ISignal.AddSignalCallback"/>.
125 /// See <see cref="Efl.Layout.ISignal.AddSignalCallback"/>.
126 /// (Since EFL 1.22)</summary>
127 /// <param name="emission">The signal's "emission" string</param>
128 /// <param name="source">The signal's "source" string</param>
129 /// <param name="func">The callback function to be executed when the signal is emitted.</param>
130 /// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
131 bool DelSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func);
132 /// <summary>Sends/emits an Edje signal to this layout.
133 /// This function sends a signal to the object. An Edje program, at the EDC specification level, can respond to a signal by having declared matching "signal" and "source" fields on its block.
135 /// See also the Edje Data Collection Reference for EDC files.
137 /// See <see cref="Efl.Layout.ISignal.AddSignalCallback"/> for more on Edje signals.
138 /// (Since EFL 1.22)</summary>
139 /// <param name="emission">The signal's "emission" string</param>
140 /// <param name="source">The signal's "source" string</param>
141 void EmitSignal(System.String emission, System.String source);
142 /// <summary>Processes an object's messages and signals queue.
143 /// This function goes through the object message queue processing the pending messages for this specific Edje object. Normally they'd be processed only at idle time.
145 /// If <c>recurse</c> is <c>true</c>, this function will be called recursively on all subobjects.
146 /// (Since EFL 1.22)</summary>
147 /// <param name="recurse">Whether to process messages on children objects.</param>
148 void SignalProcess(bool recurse);
150 /// <summary>Layouts asynchronous messaging and signaling interface.
151 /// (Since EFL 1.22)</summary>
152 sealed public class ISignalConcrete :
157 /// <summary>Pointer to the native class description.</summary>
158 public override System.IntPtr NativeClass
162 if (((object)this).GetType() == typeof(ISignalConcrete))
164 return GetEflClassStatic();
168 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
173 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
174 /// Do not call this constructor directly.</summary>
175 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
176 private ISignalConcrete(ConstructingHandle ch) : base(ch)
180 [System.Runtime.InteropServices.DllImport(efl.Libs.Edje)] internal static extern System.IntPtr
181 efl_layout_signal_interface_get();
182 /// <summary>Initializes a new instance of the <see cref="ISignal"/> class.
183 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
184 /// <param name="wh">The native pointer to be wrapped.</param>
185 private ISignalConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
189 /// <summary>Sends an (Edje) message to a given Edje object
190 /// This function sends an Edje message to obj and to all of its child objects, if it has any (swallowed objects are one kind of child object). Only a few types are supported: - int, - float/double, - string/stringshare, - arrays of int, float, double or strings.
192 /// Messages can go both ways, from code to theme, or theme to code.
194 /// The id argument as a form of code and theme defining a common interface on message communication. One should define the same IDs on both code and EDC declaration, to individualize messages (binding them to a given context).
195 /// (Since EFL 1.22)</summary>
196 /// <param name="id">A identification number for the message to be sent</param>
197 /// <param name="msg">The message's payload</param>
198 public void MessageSend(int id, Eina.Value msg) {
199 Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_message_send_ptr.Value.Delegate(this.NativeHandle,id, msg);
200 Eina.Error.RaiseIfUnhandledException();
202 /// <summary>Adds a callback for an arriving Edje signal, emitted by a given Edje object.
203 /// Edje signals are one of the communication interfaces between code and a given Edje object's theme. With signals, one can communicate two string values at a time, which are: - "emission" value: the name of the signal, in general - "source" value: a name for the signal's context, in general
205 /// Signals can go both ways, from code to theme, or theme to code.
207 /// Though there are those common uses for the two strings, one is free to use them however they like.
209 /// Signal callback registration is powerful, in the way that blobs may be used to match multiple signals at once. All the "*?[" set of <c>fnmatch</c>() operators can be used, both for emission and source.
211 /// Edje has internal signals it will emit, automatically, on various actions taking place on group parts. For example, the mouse cursor being moved, pressed, released, etc., over a given part's area, all generate individual signals.
213 /// With something like emission = "mouse,down,*", source = "button.*" where "button.*" is the pattern for the names of parts implementing buttons on an interface, you'd be registering for notifications on events of mouse buttons being pressed down on either of those parts (those events all have the "mouse,down," common prefix on their names, with a suffix giving the button number). The actual emission and source strings of an event will be passed in as the emission and source parameters of the callback function (e.g. "mouse,down,2" and "button.close"), for each of those events.
215 /// See also the Edje Data Collection Reference for EDC files.
217 /// See <see cref="Efl.Layout.ISignal.EmitSignal"/> on how to emit signals from code to a an object See <see cref="Efl.Layout.ISignal.DelSignalCallback"/>.
218 /// (Since EFL 1.22)</summary>
219 /// <param name="emission">The signal's "emission" string</param>
220 /// <param name="source">The signal's "source" string</param>
221 /// <param name="func">The callback function to be executed when the signal is emitted.</param>
222 /// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
223 public bool AddSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func) {
224 GCHandle func_handle = GCHandle.Alloc(func);
225 var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_add_ptr.Value.Delegate(this.NativeHandle,emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
226 Eina.Error.RaiseIfUnhandledException();
229 /// <summary>Removes a signal-triggered callback from an object.
230 /// This function removes a callback, previously attached to the emission of a signal, from the object obj. The parameters emission, source and func must match exactly those passed to a previous call to <see cref="Efl.Layout.ISignal.AddSignalCallback"/>.
232 /// See <see cref="Efl.Layout.ISignal.AddSignalCallback"/>.
233 /// (Since EFL 1.22)</summary>
234 /// <param name="emission">The signal's "emission" string</param>
235 /// <param name="source">The signal's "source" string</param>
236 /// <param name="func">The callback function to be executed when the signal is emitted.</param>
237 /// <returns><c>true</c> in case of success, <c>false</c> in case of error.</returns>
238 public bool DelSignalCallback(System.String emission, System.String source, EflLayoutSignalCb func) {
239 GCHandle func_handle = GCHandle.Alloc(func);
240 var _ret_var = Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_callback_del_ptr.Value.Delegate(this.NativeHandle,emission, source, GCHandle.ToIntPtr(func_handle), EflLayoutSignalCbWrapper.Cb, Efl.Eo.Globals.free_gchandle);
241 Eina.Error.RaiseIfUnhandledException();
244 /// <summary>Sends/emits an Edje signal to this layout.
245 /// This function sends a signal to the object. An Edje program, at the EDC specification level, can respond to a signal by having declared matching "signal" and "source" fields on its block.
247 /// See also the Edje Data Collection Reference for EDC files.
249 /// See <see cref="Efl.Layout.ISignal.AddSignalCallback"/> for more on Edje signals.
250 /// (Since EFL 1.22)</summary>
251 /// <param name="emission">The signal's "emission" string</param>
252 /// <param name="source">The signal's "source" string</param>
253 public void EmitSignal(System.String emission, System.String source) {
254 Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_emit_ptr.Value.Delegate(this.NativeHandle,emission, source);
255 Eina.Error.RaiseIfUnhandledException();
257 /// <summary>Processes an object's messages and signals queue.
258 /// This function goes through the object message queue processing the pending messages for this specific Edje object. Normally they'd be processed only at idle time.
260 /// If <c>recurse</c> is <c>true</c>, this function will be called recursively on all subobjects.
261 /// (Since EFL 1.22)</summary>
262 /// <param name="recurse">Whether to process messages on children objects.</param>
263 public void SignalProcess(bool recurse) {
264 Efl.Layout.ISignalConcrete.NativeMethods.efl_layout_signal_process_ptr.Value.Delegate(this.NativeHandle,recurse);
265 Eina.Error.RaiseIfUnhandledException();
267 private static IntPtr GetEflClassStatic()
269 return Efl.Layout.ISignalConcrete.efl_layout_signal_interface_get();
271 /// <summary>Wrapper for native methods and virtual method delegates.
272 /// For internal use by generated code only.</summary>
273 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
275 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Edje);
276 /// <summary>Gets the list of Eo operations to override.</summary>
277 /// <returns>The list of Eo operations to be overload.</returns>
278 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
280 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
281 var methods = Efl.Eo.Globals.GetUserMethods(type);
283 if (efl_layout_signal_message_send_static_delegate == null)
285 efl_layout_signal_message_send_static_delegate = new efl_layout_signal_message_send_delegate(message_send);
288 if (methods.FirstOrDefault(m => m.Name == "MessageSend") != null)
290 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_signal_message_send"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_signal_message_send_static_delegate) });
293 if (efl_layout_signal_callback_add_static_delegate == null)
295 efl_layout_signal_callback_add_static_delegate = new efl_layout_signal_callback_add_delegate(signal_callback_add);
298 if (methods.FirstOrDefault(m => m.Name == "AddSignalCallback") != null)
300 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_signal_callback_add"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_signal_callback_add_static_delegate) });
303 if (efl_layout_signal_callback_del_static_delegate == null)
305 efl_layout_signal_callback_del_static_delegate = new efl_layout_signal_callback_del_delegate(signal_callback_del);
308 if (methods.FirstOrDefault(m => m.Name == "DelSignalCallback") != null)
310 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_signal_callback_del"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_signal_callback_del_static_delegate) });
313 if (efl_layout_signal_emit_static_delegate == null)
315 efl_layout_signal_emit_static_delegate = new efl_layout_signal_emit_delegate(signal_emit);
318 if (methods.FirstOrDefault(m => m.Name == "EmitSignal") != null)
320 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_signal_emit"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_signal_emit_static_delegate) });
323 if (efl_layout_signal_process_static_delegate == null)
325 efl_layout_signal_process_static_delegate = new efl_layout_signal_process_delegate(signal_process);
328 if (methods.FirstOrDefault(m => m.Name == "SignalProcess") != null)
330 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_signal_process"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_signal_process_static_delegate) });
335 /// <summary>Returns the Eo class for the native methods of this class.</summary>
336 /// <returns>The native class pointer.</returns>
337 public override IntPtr GetEflClass()
339 return Efl.Layout.ISignalConcrete.efl_layout_signal_interface_get();
342 #pragma warning disable CA1707, CS1591, SA1300, SA1600
345 private delegate void efl_layout_signal_message_send_delegate(System.IntPtr obj, System.IntPtr pd, int id, Eina.ValueNative msg);
348 public delegate void efl_layout_signal_message_send_api_delegate(System.IntPtr obj, int id, Eina.ValueNative msg);
350 public static Efl.Eo.FunctionWrapper<efl_layout_signal_message_send_api_delegate> efl_layout_signal_message_send_ptr = new Efl.Eo.FunctionWrapper<efl_layout_signal_message_send_api_delegate>(Module, "efl_layout_signal_message_send");
352 private static void message_send(System.IntPtr obj, System.IntPtr pd, int id, Eina.ValueNative msg)
354 Eina.Log.Debug("function efl_layout_signal_message_send was called");
355 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
361 ((ISignal)ws.Target).MessageSend(id, msg);
365 Eina.Log.Warning($"Callback error: {e.ToString()}");
366 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
373 efl_layout_signal_message_send_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), id, msg);
377 private static efl_layout_signal_message_send_delegate efl_layout_signal_message_send_static_delegate;
379 [return: MarshalAs(UnmanagedType.U1)]
380 private delegate bool efl_layout_signal_callback_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source, IntPtr func_data, EflLayoutSignalCbInternal func, EinaFreeCb func_free_cb);
382 [return: MarshalAs(UnmanagedType.U1)]
383 public delegate bool efl_layout_signal_callback_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source, IntPtr func_data, EflLayoutSignalCbInternal func, EinaFreeCb func_free_cb);
385 public static Efl.Eo.FunctionWrapper<efl_layout_signal_callback_add_api_delegate> efl_layout_signal_callback_add_ptr = new Efl.Eo.FunctionWrapper<efl_layout_signal_callback_add_api_delegate>(Module, "efl_layout_signal_callback_add");
387 private static bool signal_callback_add(System.IntPtr obj, System.IntPtr pd, System.String emission, System.String source, IntPtr func_data, EflLayoutSignalCbInternal func, EinaFreeCb func_free_cb)
389 Eina.Log.Debug("function efl_layout_signal_callback_add was called");
390 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
393 EflLayoutSignalCbWrapper func_wrapper = new EflLayoutSignalCbWrapper(func, func_data, func_free_cb);
394 bool _ret_var = default(bool);
397 _ret_var = ((ISignal)ws.Target).AddSignalCallback(emission, source, func_wrapper.ManagedCb);
401 Eina.Log.Warning($"Callback error: {e.ToString()}");
402 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
410 return efl_layout_signal_callback_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), emission, source, func_data, func, func_free_cb);
414 private static efl_layout_signal_callback_add_delegate efl_layout_signal_callback_add_static_delegate;
416 [return: MarshalAs(UnmanagedType.U1)]
417 private delegate bool efl_layout_signal_callback_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source, IntPtr func_data, EflLayoutSignalCbInternal func, EinaFreeCb func_free_cb);
419 [return: MarshalAs(UnmanagedType.U1)]
420 public delegate bool efl_layout_signal_callback_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source, IntPtr func_data, EflLayoutSignalCbInternal func, EinaFreeCb func_free_cb);
422 public static Efl.Eo.FunctionWrapper<efl_layout_signal_callback_del_api_delegate> efl_layout_signal_callback_del_ptr = new Efl.Eo.FunctionWrapper<efl_layout_signal_callback_del_api_delegate>(Module, "efl_layout_signal_callback_del");
424 private static bool signal_callback_del(System.IntPtr obj, System.IntPtr pd, System.String emission, System.String source, IntPtr func_data, EflLayoutSignalCbInternal func, EinaFreeCb func_free_cb)
426 Eina.Log.Debug("function efl_layout_signal_callback_del was called");
427 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
430 EflLayoutSignalCbWrapper func_wrapper = new EflLayoutSignalCbWrapper(func, func_data, func_free_cb);
431 bool _ret_var = default(bool);
434 _ret_var = ((ISignal)ws.Target).DelSignalCallback(emission, source, func_wrapper.ManagedCb);
438 Eina.Log.Warning($"Callback error: {e.ToString()}");
439 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
447 return efl_layout_signal_callback_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), emission, source, func_data, func, func_free_cb);
451 private static efl_layout_signal_callback_del_delegate efl_layout_signal_callback_del_static_delegate;
454 private delegate void efl_layout_signal_emit_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source);
457 public delegate void efl_layout_signal_emit_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String emission, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String source);
459 public static Efl.Eo.FunctionWrapper<efl_layout_signal_emit_api_delegate> efl_layout_signal_emit_ptr = new Efl.Eo.FunctionWrapper<efl_layout_signal_emit_api_delegate>(Module, "efl_layout_signal_emit");
461 private static void signal_emit(System.IntPtr obj, System.IntPtr pd, System.String emission, System.String source)
463 Eina.Log.Debug("function efl_layout_signal_emit was called");
464 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
470 ((ISignal)ws.Target).EmitSignal(emission, source);
474 Eina.Log.Warning($"Callback error: {e.ToString()}");
475 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
482 efl_layout_signal_emit_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), emission, source);
486 private static efl_layout_signal_emit_delegate efl_layout_signal_emit_static_delegate;
489 private delegate void efl_layout_signal_process_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool recurse);
492 public delegate void efl_layout_signal_process_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool recurse);
494 public static Efl.Eo.FunctionWrapper<efl_layout_signal_process_api_delegate> efl_layout_signal_process_ptr = new Efl.Eo.FunctionWrapper<efl_layout_signal_process_api_delegate>(Module, "efl_layout_signal_process");
496 private static void signal_process(System.IntPtr obj, System.IntPtr pd, bool recurse)
498 Eina.Log.Debug("function efl_layout_signal_process was called");
499 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
505 ((ISignal)ws.Target).SignalProcess(recurse);
509 Eina.Log.Warning($"Callback error: {e.ToString()}");
510 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
517 efl_layout_signal_process_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), recurse);
521 private static efl_layout_signal_process_delegate efl_layout_signal_process_static_delegate;
523 #pragma warning restore CA1707, CS1591, SA1300, SA1600
532 #pragma warning disable CS1591
533 public static class Efl_LayoutISignalConcrete_ExtensionMethods {
535 #pragma warning restore CS1591