1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Ui {
8 /// <summary></summary>
9 [IDndContainerNativeInherit]
10 public interface IDndContainer :
11 Efl.Eo.IWrapper, IDisposable
13 /// <summary>The time since mouse down happens to drag starts.</summary>
14 /// <returns>The drag delay time</returns>
15 double GetDragDelayTime();
16 /// <summary>The time since mouse down happens to drag starts.</summary>
17 /// <param name="time">The drag delay time</param>
18 /// <returns></returns>
19 void SetDragDelayTime( double time);
20 /// <summary>This registers a drag for items in a container. Many items can be dragged at a time. During dragging, there are three events emitted: EFL_DND_EVENT_DRAG_POS, EFL_DND_EVENT_DRAG_ACCEPT, EFL_DND_EVENT_DRAG_DONE.</summary>
21 /// <param name="data_func">Data and its format</param>
22 /// <param name="item_func">Item to determine drag start</param>
23 /// <param name="icon_func">Icon used during drag</param>
24 /// <param name="icon_list_func">Icons used for animations CHECKING</param>
25 /// <param name="seat">Specified seat for multiple seats case.</param>
26 /// <returns></returns>
27 void AddDragItem( Efl.Dnd.DragDataGet data_func, Efl.Dnd.ItemGet item_func, Efl.Dnd.DragIconCreate icon_func, Efl.Dnd.DragIconListCreate icon_list_func, uint seat);
28 /// <summary>Remove drag function of items in the container object.</summary>
29 /// <param name="seat">Specified seat for multiple seats case.</param>
30 /// <returns></returns>
31 void DelDragItem( uint seat);
32 /// <summary></summary>
33 /// <param name="format">Accepted data formats</param>
34 /// <param name="item_func">Get item at specific position</param>
35 /// <param name="seat">Specified seat for multiple seats case.</param>
36 /// <returns></returns>
37 void AddDropItem( Efl.Ui.SelectionFormat format, Efl.Dnd.ItemGet item_func, uint seat);
38 /// <summary></summary>
39 /// <param name="seat">Specified seat for multiple seats case.</param>
40 /// <returns></returns>
41 void DelDropItem( uint seat);
42 /// <summary>The time since mouse down happens to drag starts.</summary>
43 /// <value>The drag delay time</value>
44 double DragDelayTime {
49 /// <summary></summary>
50 sealed public class IDndContainerConcrete :
55 ///<summary>Pointer to the native class description.</summary>
56 public System.IntPtr NativeClass {
58 if (((object)this).GetType() == typeof (IDndContainerConcrete))
59 return Efl.Ui.IDndContainerNativeInherit.GetEflClassStatic();
61 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
64 private System.IntPtr handle;
65 ///<summary>Pointer to the native instance.</summary>
66 public System.IntPtr NativeHandle {
67 get { return handle; }
69 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
70 efl_ui_dnd_container_mixin_get();
71 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
72 private IDndContainerConcrete(System.IntPtr raw)
75 RegisterEventProxies();
77 ///<summary>Destructor.</summary>
78 ~IDndContainerConcrete()
82 ///<summary>Releases the underlying native instance.</summary>
83 void Dispose(bool disposing)
85 if (handle != System.IntPtr.Zero) {
86 Efl.Eo.Globals.efl_unref(handle);
87 handle = System.IntPtr.Zero;
90 ///<summary>Releases the underlying native instance.</summary>
94 GC.SuppressFinalize(this);
96 ///<summary>Verifies if the given object is equal to this one.</summary>
97 public override bool Equals(object obj)
99 var other = obj as Efl.Object;
102 return this.NativeHandle == other.NativeHandle;
104 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
105 public override int GetHashCode()
107 return this.NativeHandle.ToInt32();
109 ///<summary>Turns the native pointer into a string representation.</summary>
110 public override String ToString()
112 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
114 ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
115 void RegisterEventProxies()
118 /// <summary>The time since mouse down happens to drag starts.</summary>
119 /// <returns>The drag delay time</returns>
120 public double GetDragDelayTime() {
121 var _ret_var = Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drag_delay_time_get_ptr.Value.Delegate(this.NativeHandle);
122 Eina.Error.RaiseIfUnhandledException();
125 /// <summary>The time since mouse down happens to drag starts.</summary>
126 /// <param name="time">The drag delay time</param>
127 /// <returns></returns>
128 public void SetDragDelayTime( double time) {
129 Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drag_delay_time_set_ptr.Value.Delegate(this.NativeHandle, time);
130 Eina.Error.RaiseIfUnhandledException();
132 /// <summary>This registers a drag for items in a container. Many items can be dragged at a time. During dragging, there are three events emitted: EFL_DND_EVENT_DRAG_POS, EFL_DND_EVENT_DRAG_ACCEPT, EFL_DND_EVENT_DRAG_DONE.</summary>
133 /// <param name="data_func">Data and its format</param>
134 /// <param name="item_func">Item to determine drag start</param>
135 /// <param name="icon_func">Icon used during drag</param>
136 /// <param name="icon_list_func">Icons used for animations CHECKING</param>
137 /// <param name="seat">Specified seat for multiple seats case.</param>
138 /// <returns></returns>
139 public void AddDragItem( Efl.Dnd.DragDataGet data_func, Efl.Dnd.ItemGet item_func, Efl.Dnd.DragIconCreate icon_func, Efl.Dnd.DragIconListCreate icon_list_func, uint seat) {
140 GCHandle data_func_handle = GCHandle.Alloc(data_func);
141 GCHandle item_func_handle = GCHandle.Alloc(item_func);
142 GCHandle icon_func_handle = GCHandle.Alloc(icon_func);
143 GCHandle icon_list_func_handle = GCHandle.Alloc(icon_list_func);
144 Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drag_item_add_ptr.Value.Delegate(this.NativeHandle,GCHandle.ToIntPtr(data_func_handle), Efl.Dnd.DragDataGetWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(item_func_handle), Efl.Dnd.ItemGetWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(icon_func_handle), Efl.Dnd.DragIconCreateWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(icon_list_func_handle), Efl.Dnd.DragIconListCreateWrapper.Cb, Efl.Eo.Globals.free_gchandle, seat);
145 Eina.Error.RaiseIfUnhandledException();
147 /// <summary>Remove drag function of items in the container object.</summary>
148 /// <param name="seat">Specified seat for multiple seats case.</param>
149 /// <returns></returns>
150 public void DelDragItem( uint seat) {
151 Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drag_item_del_ptr.Value.Delegate(this.NativeHandle, seat);
152 Eina.Error.RaiseIfUnhandledException();
154 /// <summary></summary>
155 /// <param name="format">Accepted data formats</param>
156 /// <param name="item_func">Get item at specific position</param>
157 /// <param name="seat">Specified seat for multiple seats case.</param>
158 /// <returns></returns>
159 public void AddDropItem( Efl.Ui.SelectionFormat format, Efl.Dnd.ItemGet item_func, uint seat) {
160 GCHandle item_func_handle = GCHandle.Alloc(item_func);
161 Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drop_item_add_ptr.Value.Delegate(this.NativeHandle, format, GCHandle.ToIntPtr(item_func_handle), Efl.Dnd.ItemGetWrapper.Cb, Efl.Eo.Globals.free_gchandle, seat);
162 Eina.Error.RaiseIfUnhandledException();
164 /// <summary></summary>
165 /// <param name="seat">Specified seat for multiple seats case.</param>
166 /// <returns></returns>
167 public void DelDropItem( uint seat) {
168 Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drop_item_del_ptr.Value.Delegate(this.NativeHandle, seat);
169 Eina.Error.RaiseIfUnhandledException();
171 /// <summary>The time since mouse down happens to drag starts.</summary>
172 /// <value>The drag delay time</value>
173 public double DragDelayTime {
174 get { return GetDragDelayTime(); }
175 set { SetDragDelayTime( value); }
177 private static IntPtr GetEflClassStatic()
179 return Efl.Ui.IDndContainerConcrete.efl_ui_dnd_container_mixin_get();
182 public class IDndContainerNativeInherit : Efl.Eo.NativeClass{
183 public static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
184 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
186 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
187 var methods = Efl.Eo.Globals.GetUserMethods(type);
188 if (efl_ui_dnd_container_drag_delay_time_get_static_delegate == null)
189 efl_ui_dnd_container_drag_delay_time_get_static_delegate = new efl_ui_dnd_container_drag_delay_time_get_delegate(drag_delay_time_get);
190 if (methods.FirstOrDefault(m => m.Name == "GetDragDelayTime") != null)
191 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_dnd_container_drag_delay_time_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drag_delay_time_get_static_delegate)});
192 if (efl_ui_dnd_container_drag_delay_time_set_static_delegate == null)
193 efl_ui_dnd_container_drag_delay_time_set_static_delegate = new efl_ui_dnd_container_drag_delay_time_set_delegate(drag_delay_time_set);
194 if (methods.FirstOrDefault(m => m.Name == "SetDragDelayTime") != null)
195 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_dnd_container_drag_delay_time_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drag_delay_time_set_static_delegate)});
196 if (efl_ui_dnd_container_drag_item_add_static_delegate == null)
197 efl_ui_dnd_container_drag_item_add_static_delegate = new efl_ui_dnd_container_drag_item_add_delegate(drag_item_add);
198 if (methods.FirstOrDefault(m => m.Name == "AddDragItem") != null)
199 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_dnd_container_drag_item_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drag_item_add_static_delegate)});
200 if (efl_ui_dnd_container_drag_item_del_static_delegate == null)
201 efl_ui_dnd_container_drag_item_del_static_delegate = new efl_ui_dnd_container_drag_item_del_delegate(drag_item_del);
202 if (methods.FirstOrDefault(m => m.Name == "DelDragItem") != null)
203 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_dnd_container_drag_item_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drag_item_del_static_delegate)});
204 if (efl_ui_dnd_container_drop_item_add_static_delegate == null)
205 efl_ui_dnd_container_drop_item_add_static_delegate = new efl_ui_dnd_container_drop_item_add_delegate(drop_item_add);
206 if (methods.FirstOrDefault(m => m.Name == "AddDropItem") != null)
207 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_dnd_container_drop_item_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drop_item_add_static_delegate)});
208 if (efl_ui_dnd_container_drop_item_del_static_delegate == null)
209 efl_ui_dnd_container_drop_item_del_static_delegate = new efl_ui_dnd_container_drop_item_del_delegate(drop_item_del);
210 if (methods.FirstOrDefault(m => m.Name == "DelDropItem") != null)
211 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_dnd_container_drop_item_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drop_item_del_static_delegate)});
214 public override IntPtr GetEflClass()
216 return Efl.Ui.IDndContainerConcrete.efl_ui_dnd_container_mixin_get();
218 public static IntPtr GetEflClassStatic()
220 return Efl.Ui.IDndContainerConcrete.efl_ui_dnd_container_mixin_get();
224 private delegate double efl_ui_dnd_container_drag_delay_time_get_delegate(System.IntPtr obj, System.IntPtr pd);
227 public delegate double efl_ui_dnd_container_drag_delay_time_get_api_delegate(System.IntPtr obj);
228 public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_delay_time_get_api_delegate> efl_ui_dnd_container_drag_delay_time_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_delay_time_get_api_delegate>(_Module, "efl_ui_dnd_container_drag_delay_time_get");
229 private static double drag_delay_time_get(System.IntPtr obj, System.IntPtr pd)
231 Eina.Log.Debug("function efl_ui_dnd_container_drag_delay_time_get was called");
232 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
233 if(wrapper != null) {
234 double _ret_var = default(double);
236 _ret_var = ((IDndContainerConcrete)wrapper).GetDragDelayTime();
237 } catch (Exception e) {
238 Eina.Log.Warning($"Callback error: {e.ToString()}");
239 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
243 return efl_ui_dnd_container_drag_delay_time_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
246 private static efl_ui_dnd_container_drag_delay_time_get_delegate efl_ui_dnd_container_drag_delay_time_get_static_delegate;
249 private delegate void efl_ui_dnd_container_drag_delay_time_set_delegate(System.IntPtr obj, System.IntPtr pd, double time);
252 public delegate void efl_ui_dnd_container_drag_delay_time_set_api_delegate(System.IntPtr obj, double time);
253 public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_delay_time_set_api_delegate> efl_ui_dnd_container_drag_delay_time_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_delay_time_set_api_delegate>(_Module, "efl_ui_dnd_container_drag_delay_time_set");
254 private static void drag_delay_time_set(System.IntPtr obj, System.IntPtr pd, double time)
256 Eina.Log.Debug("function efl_ui_dnd_container_drag_delay_time_set was called");
257 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
258 if(wrapper != null) {
261 ((IDndContainerConcrete)wrapper).SetDragDelayTime( time);
262 } catch (Exception e) {
263 Eina.Log.Warning($"Callback error: {e.ToString()}");
264 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
267 efl_ui_dnd_container_drag_delay_time_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), time);
270 private static efl_ui_dnd_container_drag_delay_time_set_delegate efl_ui_dnd_container_drag_delay_time_set_static_delegate;
273 private delegate void efl_ui_dnd_container_drag_item_add_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr data_func_data, Efl.Dnd.DragDataGetInternal data_func, EinaFreeCb data_func_free_cb, IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb, IntPtr icon_func_data, Efl.Dnd.DragIconCreateInternal icon_func, EinaFreeCb icon_func_free_cb, IntPtr icon_list_func_data, Efl.Dnd.DragIconListCreateInternal icon_list_func, EinaFreeCb icon_list_func_free_cb, uint seat);
276 public delegate void efl_ui_dnd_container_drag_item_add_api_delegate(System.IntPtr obj, IntPtr data_func_data, Efl.Dnd.DragDataGetInternal data_func, EinaFreeCb data_func_free_cb, IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb, IntPtr icon_func_data, Efl.Dnd.DragIconCreateInternal icon_func, EinaFreeCb icon_func_free_cb, IntPtr icon_list_func_data, Efl.Dnd.DragIconListCreateInternal icon_list_func, EinaFreeCb icon_list_func_free_cb, uint seat);
277 public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_item_add_api_delegate> efl_ui_dnd_container_drag_item_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_item_add_api_delegate>(_Module, "efl_ui_dnd_container_drag_item_add");
278 private static void drag_item_add(System.IntPtr obj, System.IntPtr pd, IntPtr data_func_data, Efl.Dnd.DragDataGetInternal data_func, EinaFreeCb data_func_free_cb, IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb, IntPtr icon_func_data, Efl.Dnd.DragIconCreateInternal icon_func, EinaFreeCb icon_func_free_cb, IntPtr icon_list_func_data, Efl.Dnd.DragIconListCreateInternal icon_list_func, EinaFreeCb icon_list_func_free_cb, uint seat)
280 Eina.Log.Debug("function efl_ui_dnd_container_drag_item_add was called");
281 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
282 if(wrapper != null) {
283 Efl.Dnd.DragDataGetWrapper data_func_wrapper = new Efl.Dnd.DragDataGetWrapper(data_func, data_func_data, data_func_free_cb);
284 Efl.Dnd.ItemGetWrapper item_func_wrapper = new Efl.Dnd.ItemGetWrapper(item_func, item_func_data, item_func_free_cb);
285 Efl.Dnd.DragIconCreateWrapper icon_func_wrapper = new Efl.Dnd.DragIconCreateWrapper(icon_func, icon_func_data, icon_func_free_cb);
286 Efl.Dnd.DragIconListCreateWrapper icon_list_func_wrapper = new Efl.Dnd.DragIconListCreateWrapper(icon_list_func, icon_list_func_data, icon_list_func_free_cb);
289 ((IDndContainerConcrete)wrapper).AddDragItem( data_func_wrapper.ManagedCb, item_func_wrapper.ManagedCb, icon_func_wrapper.ManagedCb, icon_list_func_wrapper.ManagedCb, seat);
290 } catch (Exception e) {
291 Eina.Log.Warning($"Callback error: {e.ToString()}");
292 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
295 efl_ui_dnd_container_drag_item_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), data_func_data, data_func, data_func_free_cb, item_func_data, item_func, item_func_free_cb, icon_func_data, icon_func, icon_func_free_cb, icon_list_func_data, icon_list_func, icon_list_func_free_cb, seat);
298 private static efl_ui_dnd_container_drag_item_add_delegate efl_ui_dnd_container_drag_item_add_static_delegate;
301 private delegate void efl_ui_dnd_container_drag_item_del_delegate(System.IntPtr obj, System.IntPtr pd, uint seat);
304 public delegate void efl_ui_dnd_container_drag_item_del_api_delegate(System.IntPtr obj, uint seat);
305 public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_item_del_api_delegate> efl_ui_dnd_container_drag_item_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_item_del_api_delegate>(_Module, "efl_ui_dnd_container_drag_item_del");
306 private static void drag_item_del(System.IntPtr obj, System.IntPtr pd, uint seat)
308 Eina.Log.Debug("function efl_ui_dnd_container_drag_item_del was called");
309 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
310 if(wrapper != null) {
313 ((IDndContainerConcrete)wrapper).DelDragItem( seat);
314 } catch (Exception e) {
315 Eina.Log.Warning($"Callback error: {e.ToString()}");
316 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
319 efl_ui_dnd_container_drag_item_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), seat);
322 private static efl_ui_dnd_container_drag_item_del_delegate efl_ui_dnd_container_drag_item_del_static_delegate;
325 private delegate void efl_ui_dnd_container_drop_item_add_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectionFormat format, IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb, uint seat);
328 public delegate void efl_ui_dnd_container_drop_item_add_api_delegate(System.IntPtr obj, Efl.Ui.SelectionFormat format, IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb, uint seat);
329 public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drop_item_add_api_delegate> efl_ui_dnd_container_drop_item_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drop_item_add_api_delegate>(_Module, "efl_ui_dnd_container_drop_item_add");
330 private static void drop_item_add(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectionFormat format, IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb, uint seat)
332 Eina.Log.Debug("function efl_ui_dnd_container_drop_item_add was called");
333 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
334 if(wrapper != null) {
335 Efl.Dnd.ItemGetWrapper item_func_wrapper = new Efl.Dnd.ItemGetWrapper(item_func, item_func_data, item_func_free_cb);
338 ((IDndContainerConcrete)wrapper).AddDropItem( format, item_func_wrapper.ManagedCb, seat);
339 } catch (Exception e) {
340 Eina.Log.Warning($"Callback error: {e.ToString()}");
341 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
344 efl_ui_dnd_container_drop_item_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), format, item_func_data, item_func, item_func_free_cb, seat);
347 private static efl_ui_dnd_container_drop_item_add_delegate efl_ui_dnd_container_drop_item_add_static_delegate;
350 private delegate void efl_ui_dnd_container_drop_item_del_delegate(System.IntPtr obj, System.IntPtr pd, uint seat);
353 public delegate void efl_ui_dnd_container_drop_item_del_api_delegate(System.IntPtr obj, uint seat);
354 public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drop_item_del_api_delegate> efl_ui_dnd_container_drop_item_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drop_item_del_api_delegate>(_Module, "efl_ui_dnd_container_drop_item_del");
355 private static void drop_item_del(System.IntPtr obj, System.IntPtr pd, uint seat)
357 Eina.Log.Debug("function efl_ui_dnd_container_drop_item_del was called");
358 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
359 if(wrapper != null) {
362 ((IDndContainerConcrete)wrapper).DelDropItem( seat);
363 } catch (Exception e) {
364 Eina.Log.Warning($"Callback error: {e.ToString()}");
365 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
368 efl_ui_dnd_container_drop_item_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), seat);
371 private static efl_ui_dnd_container_drop_item_del_delegate efl_ui_dnd_container_drop_item_del_static_delegate;