2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>Elementary access selection interface</summary>
14 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
15 [Efl.Access.ISelectionConcrete.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public interface ISelection :
18 Efl.Eo.IWrapper, IDisposable
20 /// <summary>Gets the number of currently selected children</summary>
21 /// <returns>Number of currently selected children</returns>
22 int GetSelectedChildrenCount();
23 /// <summary>Gets child for given child index</summary>
24 /// <param name="selected_child_index">Index of child</param>
25 /// <returns>Child object</returns>
26 Efl.Object GetSelectedChild(int selected_child_index);
27 /// <summary>Adds selection for given child index</summary>
28 /// <param name="child_index">Index of child</param>
29 /// <returns><c>true</c> if selection was added, <c>false</c> otherwise</returns>
30 bool ChildSelect(int child_index);
31 /// <summary>Removes selection for given child index</summary>
32 /// <param name="child_index">Index of child</param>
33 /// <returns><c>true</c> if selection was removed, <c>false</c> otherwise</returns>
34 bool SelectedChildDeselect(int child_index);
35 /// <summary>Determines if child specified by index is selected</summary>
36 /// <param name="child_index">Index of child</param>
37 /// <returns><c>true</c> if child is selected, <c>false</c> otherwise</returns>
38 bool IsChildSelected(int child_index);
39 /// <summary>Adds selection for all children</summary>
40 /// <returns><c>true</c> if selection was added to all children, <c>false</c> otherwise</returns>
41 bool AllChildrenSelect();
42 /// <summary>Clears the current selection</summary>
43 /// <returns><c>true</c> if selection was cleared, <c>false</c> otherwise</returns>
44 bool ClearAccessSelection();
45 /// <summary>Removes selection for given child index</summary>
46 /// <param name="child_index">Index of child</param>
47 /// <returns><c>true</c> if selection was removed, <c>false</c> otherwise</returns>
48 bool ChildDeselect(int child_index);
49 /// <summary>Called when selection has been changed.</summary>
50 event EventHandler AccessSelectionChangedEvt;
51 /// <summary>Gets the number of currently selected children</summary>
52 /// <value>Number of currently selected children</value>
53 int SelectedChildrenCount {
57 /// <summary>Elementary access selection interface</summary>
58 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
59 sealed public class ISelectionConcrete :
64 /// <summary>Pointer to the native class description.</summary>
65 public override System.IntPtr NativeClass
69 if (((object)this).GetType() == typeof(ISelectionConcrete))
71 return GetEflClassStatic();
75 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
80 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
81 /// Do not call this constructor directly.</summary>
82 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
83 private ISelectionConcrete(ConstructingHandle ch) : base(ch)
87 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
88 efl_access_selection_interface_get();
89 /// <summary>Initializes a new instance of the <see cref="ISelection"/> class.
90 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
91 /// <param name="wh">The native pointer to be wrapped.</param>
92 private ISelectionConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
96 /// <summary>Called when selection has been changed.</summary>
97 public event EventHandler AccessSelectionChangedEvt
101 lock (eflBindingEventLock)
103 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
105 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
108 EventArgs args = EventArgs.Empty;
111 value?.Invoke(obj, args);
115 Eina.Log.Error(e.ToString());
116 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
121 string key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED";
122 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
128 lock (eflBindingEventLock)
130 string key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED";
131 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
135 /// <summary>Method to raise event AccessSelectionChangedEvt.</summary>
136 public void OnAccessSelectionChangedEvt(EventArgs e)
138 var key = "_EFL_ACCESS_SELECTION_EVENT_ACCESS_SELECTION_CHANGED";
139 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
140 if (desc == IntPtr.Zero)
142 Eina.Log.Error($"Failed to get native event {key}");
146 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
148 /// <summary>Gets the number of currently selected children</summary>
149 /// <returns>Number of currently selected children</returns>
150 public int GetSelectedChildrenCount() {
151 var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_children_count_get_ptr.Value.Delegate(this.NativeHandle);
152 Eina.Error.RaiseIfUnhandledException();
155 /// <summary>Gets child for given child index</summary>
156 /// <param name="selected_child_index">Index of child</param>
157 /// <returns>Child object</returns>
158 public Efl.Object GetSelectedChild(int selected_child_index) {
159 var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_child_get_ptr.Value.Delegate(this.NativeHandle,selected_child_index);
160 Eina.Error.RaiseIfUnhandledException();
163 /// <summary>Adds selection for given child index</summary>
164 /// <param name="child_index">Index of child</param>
165 /// <returns><c>true</c> if selection was added, <c>false</c> otherwise</returns>
166 public bool ChildSelect(int child_index) {
167 var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_child_select_ptr.Value.Delegate(this.NativeHandle,child_index);
168 Eina.Error.RaiseIfUnhandledException();
171 /// <summary>Removes selection for given child index</summary>
172 /// <param name="child_index">Index of child</param>
173 /// <returns><c>true</c> if selection was removed, <c>false</c> otherwise</returns>
174 public bool SelectedChildDeselect(int child_index) {
175 var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_selected_child_deselect_ptr.Value.Delegate(this.NativeHandle,child_index);
176 Eina.Error.RaiseIfUnhandledException();
179 /// <summary>Determines if child specified by index is selected</summary>
180 /// <param name="child_index">Index of child</param>
181 /// <returns><c>true</c> if child is selected, <c>false</c> otherwise</returns>
182 public bool IsChildSelected(int child_index) {
183 var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_is_child_selected_ptr.Value.Delegate(this.NativeHandle,child_index);
184 Eina.Error.RaiseIfUnhandledException();
187 /// <summary>Adds selection for all children</summary>
188 /// <returns><c>true</c> if selection was added to all children, <c>false</c> otherwise</returns>
189 public bool AllChildrenSelect() {
190 var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_all_children_select_ptr.Value.Delegate(this.NativeHandle);
191 Eina.Error.RaiseIfUnhandledException();
194 /// <summary>Clears the current selection</summary>
195 /// <returns><c>true</c> if selection was cleared, <c>false</c> otherwise</returns>
196 public bool ClearAccessSelection() {
197 var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_clear_ptr.Value.Delegate(this.NativeHandle);
198 Eina.Error.RaiseIfUnhandledException();
201 /// <summary>Removes selection for given child index</summary>
202 /// <param name="child_index">Index of child</param>
203 /// <returns><c>true</c> if selection was removed, <c>false</c> otherwise</returns>
204 public bool ChildDeselect(int child_index) {
205 var _ret_var = Efl.Access.ISelectionConcrete.NativeMethods.efl_access_selection_child_deselect_ptr.Value.Delegate(this.NativeHandle,child_index);
206 Eina.Error.RaiseIfUnhandledException();
209 /// <summary>Gets the number of currently selected children</summary>
210 /// <value>Number of currently selected children</value>
211 public int SelectedChildrenCount {
212 get { return GetSelectedChildrenCount(); }
214 private static IntPtr GetEflClassStatic()
216 return Efl.Access.ISelectionConcrete.efl_access_selection_interface_get();
218 /// <summary>Wrapper for native methods and virtual method delegates.
219 /// For internal use by generated code only.</summary>
220 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
222 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
223 /// <summary>Gets the list of Eo operations to override.</summary>
224 /// <returns>The list of Eo operations to be overload.</returns>
225 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
227 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
228 var methods = Efl.Eo.Globals.GetUserMethods(type);
230 if (efl_access_selection_selected_children_count_get_static_delegate == null)
232 efl_access_selection_selected_children_count_get_static_delegate = new efl_access_selection_selected_children_count_get_delegate(selected_children_count_get);
235 if (methods.FirstOrDefault(m => m.Name == "GetSelectedChildrenCount") != null)
237 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_selected_children_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_selected_children_count_get_static_delegate) });
240 if (efl_access_selection_selected_child_get_static_delegate == null)
242 efl_access_selection_selected_child_get_static_delegate = new efl_access_selection_selected_child_get_delegate(selected_child_get);
245 if (methods.FirstOrDefault(m => m.Name == "GetSelectedChild") != null)
247 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_selected_child_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_selected_child_get_static_delegate) });
250 if (efl_access_selection_child_select_static_delegate == null)
252 efl_access_selection_child_select_static_delegate = new efl_access_selection_child_select_delegate(child_select);
255 if (methods.FirstOrDefault(m => m.Name == "ChildSelect") != null)
257 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_child_select"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_child_select_static_delegate) });
260 if (efl_access_selection_selected_child_deselect_static_delegate == null)
262 efl_access_selection_selected_child_deselect_static_delegate = new efl_access_selection_selected_child_deselect_delegate(selected_child_deselect);
265 if (methods.FirstOrDefault(m => m.Name == "SelectedChildDeselect") != null)
267 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_selected_child_deselect"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_selected_child_deselect_static_delegate) });
270 if (efl_access_selection_is_child_selected_static_delegate == null)
272 efl_access_selection_is_child_selected_static_delegate = new efl_access_selection_is_child_selected_delegate(is_child_selected);
275 if (methods.FirstOrDefault(m => m.Name == "IsChildSelected") != null)
277 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_is_child_selected"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_is_child_selected_static_delegate) });
280 if (efl_access_selection_all_children_select_static_delegate == null)
282 efl_access_selection_all_children_select_static_delegate = new efl_access_selection_all_children_select_delegate(all_children_select);
285 if (methods.FirstOrDefault(m => m.Name == "AllChildrenSelect") != null)
287 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_all_children_select"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_all_children_select_static_delegate) });
290 if (efl_access_selection_clear_static_delegate == null)
292 efl_access_selection_clear_static_delegate = new efl_access_selection_clear_delegate(access_selection_clear);
295 if (methods.FirstOrDefault(m => m.Name == "ClearAccessSelection") != null)
297 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_clear_static_delegate) });
300 if (efl_access_selection_child_deselect_static_delegate == null)
302 efl_access_selection_child_deselect_static_delegate = new efl_access_selection_child_deselect_delegate(child_deselect);
305 if (methods.FirstOrDefault(m => m.Name == "ChildDeselect") != null)
307 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_selection_child_deselect"), func = Marshal.GetFunctionPointerForDelegate(efl_access_selection_child_deselect_static_delegate) });
312 /// <summary>Returns the Eo class for the native methods of this class.</summary>
313 /// <returns>The native class pointer.</returns>
314 public override IntPtr GetEflClass()
316 return Efl.Access.ISelectionConcrete.efl_access_selection_interface_get();
319 #pragma warning disable CA1707, CS1591, SA1300, SA1600
322 private delegate int efl_access_selection_selected_children_count_get_delegate(System.IntPtr obj, System.IntPtr pd);
325 public delegate int efl_access_selection_selected_children_count_get_api_delegate(System.IntPtr obj);
327 public static Efl.Eo.FunctionWrapper<efl_access_selection_selected_children_count_get_api_delegate> efl_access_selection_selected_children_count_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_selection_selected_children_count_get_api_delegate>(Module, "efl_access_selection_selected_children_count_get");
329 private static int selected_children_count_get(System.IntPtr obj, System.IntPtr pd)
331 Eina.Log.Debug("function efl_access_selection_selected_children_count_get was called");
332 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
335 int _ret_var = default(int);
338 _ret_var = ((ISelection)ws.Target).GetSelectedChildrenCount();
342 Eina.Log.Warning($"Callback error: {e.ToString()}");
343 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
351 return efl_access_selection_selected_children_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
355 private static efl_access_selection_selected_children_count_get_delegate efl_access_selection_selected_children_count_get_static_delegate;
357 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
358 private delegate Efl.Object efl_access_selection_selected_child_get_delegate(System.IntPtr obj, System.IntPtr pd, int selected_child_index);
360 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
361 public delegate Efl.Object efl_access_selection_selected_child_get_api_delegate(System.IntPtr obj, int selected_child_index);
363 public static Efl.Eo.FunctionWrapper<efl_access_selection_selected_child_get_api_delegate> efl_access_selection_selected_child_get_ptr = new Efl.Eo.FunctionWrapper<efl_access_selection_selected_child_get_api_delegate>(Module, "efl_access_selection_selected_child_get");
365 private static Efl.Object selected_child_get(System.IntPtr obj, System.IntPtr pd, int selected_child_index)
367 Eina.Log.Debug("function efl_access_selection_selected_child_get was called");
368 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
371 Efl.Object _ret_var = default(Efl.Object);
374 _ret_var = ((ISelection)ws.Target).GetSelectedChild(selected_child_index);
378 Eina.Log.Warning($"Callback error: {e.ToString()}");
379 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
387 return efl_access_selection_selected_child_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected_child_index);
391 private static efl_access_selection_selected_child_get_delegate efl_access_selection_selected_child_get_static_delegate;
393 [return: MarshalAs(UnmanagedType.U1)]
394 private delegate bool efl_access_selection_child_select_delegate(System.IntPtr obj, System.IntPtr pd, int child_index);
396 [return: MarshalAs(UnmanagedType.U1)]
397 public delegate bool efl_access_selection_child_select_api_delegate(System.IntPtr obj, int child_index);
399 public static Efl.Eo.FunctionWrapper<efl_access_selection_child_select_api_delegate> efl_access_selection_child_select_ptr = new Efl.Eo.FunctionWrapper<efl_access_selection_child_select_api_delegate>(Module, "efl_access_selection_child_select");
401 private static bool child_select(System.IntPtr obj, System.IntPtr pd, int child_index)
403 Eina.Log.Debug("function efl_access_selection_child_select was called");
404 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
407 bool _ret_var = default(bool);
410 _ret_var = ((ISelection)ws.Target).ChildSelect(child_index);
414 Eina.Log.Warning($"Callback error: {e.ToString()}");
415 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
423 return efl_access_selection_child_select_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_index);
427 private static efl_access_selection_child_select_delegate efl_access_selection_child_select_static_delegate;
429 [return: MarshalAs(UnmanagedType.U1)]
430 private delegate bool efl_access_selection_selected_child_deselect_delegate(System.IntPtr obj, System.IntPtr pd, int child_index);
432 [return: MarshalAs(UnmanagedType.U1)]
433 public delegate bool efl_access_selection_selected_child_deselect_api_delegate(System.IntPtr obj, int child_index);
435 public static Efl.Eo.FunctionWrapper<efl_access_selection_selected_child_deselect_api_delegate> efl_access_selection_selected_child_deselect_ptr = new Efl.Eo.FunctionWrapper<efl_access_selection_selected_child_deselect_api_delegate>(Module, "efl_access_selection_selected_child_deselect");
437 private static bool selected_child_deselect(System.IntPtr obj, System.IntPtr pd, int child_index)
439 Eina.Log.Debug("function efl_access_selection_selected_child_deselect was called");
440 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
443 bool _ret_var = default(bool);
446 _ret_var = ((ISelection)ws.Target).SelectedChildDeselect(child_index);
450 Eina.Log.Warning($"Callback error: {e.ToString()}");
451 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
459 return efl_access_selection_selected_child_deselect_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_index);
463 private static efl_access_selection_selected_child_deselect_delegate efl_access_selection_selected_child_deselect_static_delegate;
465 [return: MarshalAs(UnmanagedType.U1)]
466 private delegate bool efl_access_selection_is_child_selected_delegate(System.IntPtr obj, System.IntPtr pd, int child_index);
468 [return: MarshalAs(UnmanagedType.U1)]
469 public delegate bool efl_access_selection_is_child_selected_api_delegate(System.IntPtr obj, int child_index);
471 public static Efl.Eo.FunctionWrapper<efl_access_selection_is_child_selected_api_delegate> efl_access_selection_is_child_selected_ptr = new Efl.Eo.FunctionWrapper<efl_access_selection_is_child_selected_api_delegate>(Module, "efl_access_selection_is_child_selected");
473 private static bool is_child_selected(System.IntPtr obj, System.IntPtr pd, int child_index)
475 Eina.Log.Debug("function efl_access_selection_is_child_selected was called");
476 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
479 bool _ret_var = default(bool);
482 _ret_var = ((ISelection)ws.Target).IsChildSelected(child_index);
486 Eina.Log.Warning($"Callback error: {e.ToString()}");
487 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
495 return efl_access_selection_is_child_selected_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_index);
499 private static efl_access_selection_is_child_selected_delegate efl_access_selection_is_child_selected_static_delegate;
501 [return: MarshalAs(UnmanagedType.U1)]
502 private delegate bool efl_access_selection_all_children_select_delegate(System.IntPtr obj, System.IntPtr pd);
504 [return: MarshalAs(UnmanagedType.U1)]
505 public delegate bool efl_access_selection_all_children_select_api_delegate(System.IntPtr obj);
507 public static Efl.Eo.FunctionWrapper<efl_access_selection_all_children_select_api_delegate> efl_access_selection_all_children_select_ptr = new Efl.Eo.FunctionWrapper<efl_access_selection_all_children_select_api_delegate>(Module, "efl_access_selection_all_children_select");
509 private static bool all_children_select(System.IntPtr obj, System.IntPtr pd)
511 Eina.Log.Debug("function efl_access_selection_all_children_select was called");
512 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
515 bool _ret_var = default(bool);
518 _ret_var = ((ISelection)ws.Target).AllChildrenSelect();
522 Eina.Log.Warning($"Callback error: {e.ToString()}");
523 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
531 return efl_access_selection_all_children_select_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
535 private static efl_access_selection_all_children_select_delegate efl_access_selection_all_children_select_static_delegate;
537 [return: MarshalAs(UnmanagedType.U1)]
538 private delegate bool efl_access_selection_clear_delegate(System.IntPtr obj, System.IntPtr pd);
540 [return: MarshalAs(UnmanagedType.U1)]
541 public delegate bool efl_access_selection_clear_api_delegate(System.IntPtr obj);
543 public static Efl.Eo.FunctionWrapper<efl_access_selection_clear_api_delegate> efl_access_selection_clear_ptr = new Efl.Eo.FunctionWrapper<efl_access_selection_clear_api_delegate>(Module, "efl_access_selection_clear");
545 private static bool access_selection_clear(System.IntPtr obj, System.IntPtr pd)
547 Eina.Log.Debug("function efl_access_selection_clear was called");
548 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
551 bool _ret_var = default(bool);
554 _ret_var = ((ISelection)ws.Target).ClearAccessSelection();
558 Eina.Log.Warning($"Callback error: {e.ToString()}");
559 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
567 return efl_access_selection_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
571 private static efl_access_selection_clear_delegate efl_access_selection_clear_static_delegate;
573 [return: MarshalAs(UnmanagedType.U1)]
574 private delegate bool efl_access_selection_child_deselect_delegate(System.IntPtr obj, System.IntPtr pd, int child_index);
576 [return: MarshalAs(UnmanagedType.U1)]
577 public delegate bool efl_access_selection_child_deselect_api_delegate(System.IntPtr obj, int child_index);
579 public static Efl.Eo.FunctionWrapper<efl_access_selection_child_deselect_api_delegate> efl_access_selection_child_deselect_ptr = new Efl.Eo.FunctionWrapper<efl_access_selection_child_deselect_api_delegate>(Module, "efl_access_selection_child_deselect");
581 private static bool child_deselect(System.IntPtr obj, System.IntPtr pd, int child_index)
583 Eina.Log.Debug("function efl_access_selection_child_deselect was called");
584 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
587 bool _ret_var = default(bool);
590 _ret_var = ((ISelection)ws.Target).ChildDeselect(child_index);
594 Eina.Log.Warning($"Callback error: {e.ToString()}");
595 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
603 return efl_access_selection_child_deselect_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child_index);
607 private static efl_access_selection_child_deselect_delegate efl_access_selection_child_deselect_static_delegate;
609 #pragma warning restore CA1707, CS1591, SA1300, SA1600
618 #pragma warning disable CS1591
619 public static class Efl_AccessISelectionConcrete_ExtensionMethods {
623 #pragma warning restore CS1591