1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>Elementary pan class</summary>
13 [Efl.Ui.Pan.NativeMethods]
14 public class Pan : Efl.Canvas.Group, Efl.Eo.IWrapper,Efl.IContent
16 ///<summary>Pointer to the native class description.</summary>
17 public override System.IntPtr NativeClass
21 if (((object)this).GetType() == typeof(Pan))
23 return GetEflClassStatic();
27 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
32 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
33 efl_ui_pan_class_get();
34 /// <summary>Initializes a new instance of the <see cref="Pan"/> class.</summary>
35 /// <param name="parent">Parent instance.</param>
36 public Pan(Efl.Object parent= null
37 ) : base(efl_ui_pan_class_get(), typeof(Pan), parent)
39 FinishInstantiation();
42 /// <summary>Initializes a new instance of the <see cref="Pan"/> class.
43 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
44 /// <param name="raw">The native pointer to be wrapped.</param>
45 protected Pan(System.IntPtr raw) : base(raw)
49 /// <summary>Initializes a new instance of the <see cref="Pan"/> class.
50 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
51 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
52 /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
53 /// <param name="parent">The Efl.Object parent of this instance.</param>
54 protected Pan(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
58 /// <summary>Verifies if the given object is equal to this one.</summary>
59 /// <param name="instance">The object to compare to.</param>
60 /// <returns>True if both objects point to the same native object.</returns>
61 public override bool Equals(object instance)
63 var other = instance as Efl.Object;
68 return this.NativeHandle == other.NativeHandle;
71 /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
72 /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
73 public override int GetHashCode()
75 return this.NativeHandle.ToInt32();
78 /// <summary>Turns the native pointer into a string representation.</summary>
79 /// <returns>A string with the type and the native pointer for this object.</returns>
80 public override String ToString()
82 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
85 /// <summary>Called when pan content changed</summary>
86 public event EventHandler PanContentChangedEvt
92 var wRef = new WeakReference(this);
93 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
95 var obj = wRef.Target as Efl.Eo.IWrapper;
98 EventArgs args = EventArgs.Empty;
101 value?.Invoke(obj, args);
105 Eina.Log.Error(e.ToString());
106 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
111 string key = "_EFL_UI_PAN_EVENT_PAN_CONTENT_CHANGED";
112 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
120 string key = "_EFL_UI_PAN_EVENT_PAN_CONTENT_CHANGED";
121 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
125 ///<summary>Method to raise event PanContentChangedEvt.</summary>
126 public void OnPanContentChangedEvt(EventArgs e)
128 var key = "_EFL_UI_PAN_EVENT_PAN_CONTENT_CHANGED";
129 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
130 if (desc == IntPtr.Zero)
132 Eina.Log.Error($"Failed to get native event {key}");
136 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
138 /// <summary>Called when pan viewport changed</summary>
139 public event EventHandler PanViewportChangedEvt
145 var wRef = new WeakReference(this);
146 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
148 var obj = wRef.Target as Efl.Eo.IWrapper;
151 EventArgs args = EventArgs.Empty;
154 value?.Invoke(obj, args);
158 Eina.Log.Error(e.ToString());
159 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
164 string key = "_EFL_UI_PAN_EVENT_PAN_VIEWPORT_CHANGED";
165 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
173 string key = "_EFL_UI_PAN_EVENT_PAN_VIEWPORT_CHANGED";
174 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
178 ///<summary>Method to raise event PanViewportChangedEvt.</summary>
179 public void OnPanViewportChangedEvt(EventArgs e)
181 var key = "_EFL_UI_PAN_EVENT_PAN_VIEWPORT_CHANGED";
182 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
183 if (desc == IntPtr.Zero)
185 Eina.Log.Error($"Failed to get native event {key}");
189 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
191 /// <summary>Called when pan position changed</summary>
192 public event EventHandler PanPositionChangedEvt
198 var wRef = new WeakReference(this);
199 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
201 var obj = wRef.Target as Efl.Eo.IWrapper;
204 EventArgs args = EventArgs.Empty;
207 value?.Invoke(obj, args);
211 Eina.Log.Error(e.ToString());
212 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
217 string key = "_EFL_UI_PAN_EVENT_PAN_POSITION_CHANGED";
218 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
226 string key = "_EFL_UI_PAN_EVENT_PAN_POSITION_CHANGED";
227 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
231 ///<summary>Method to raise event PanPositionChangedEvt.</summary>
232 public void OnPanPositionChangedEvt(EventArgs e)
234 var key = "_EFL_UI_PAN_EVENT_PAN_POSITION_CHANGED";
235 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
236 if (desc == IntPtr.Zero)
238 Eina.Log.Error($"Failed to get native event {key}");
242 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
244 /// <summary>Sent after the content is set or unset using the current content object.
245 /// (Since EFL 1.22)</summary>
246 public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
252 var wRef = new WeakReference(this);
253 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
255 var obj = wRef.Target as Efl.Eo.IWrapper;
258 Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
259 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
262 value?.Invoke(obj, args);
266 Eina.Log.Error(e.ToString());
267 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
272 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
273 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
281 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
282 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
286 ///<summary>Method to raise event ContentChangedEvt.</summary>
287 public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
289 var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
290 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
291 if (desc == IntPtr.Zero)
293 Eina.Log.Error($"Failed to get native event {key}");
297 IntPtr info = e.arg.NativeHandle;
298 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
300 /// <summary>Position</summary>
301 virtual public Eina.Position2D GetPanPosition() {
302 var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
303 Eina.Error.RaiseIfUnhandledException();
306 /// <summary>Position</summary>
307 virtual public void SetPanPosition(Eina.Position2D position) {
308 Eina.Position2D.NativeStruct _in_position = position;
309 Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_position);
310 Eina.Error.RaiseIfUnhandledException();
312 /// <summary>Content size</summary>
313 virtual public Eina.Size2D GetContentSize() {
314 var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_content_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
315 Eina.Error.RaiseIfUnhandledException();
318 /// <summary>The minimal position to scroll</summary>
319 virtual public Eina.Position2D GetPanPositionMin() {
320 var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_min_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
321 Eina.Error.RaiseIfUnhandledException();
324 /// <summary>The maximal position to scroll</summary>
325 virtual public Eina.Position2D GetPanPositionMax() {
326 var _ret_var = Efl.Ui.Pan.NativeMethods.efl_ui_pan_position_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
327 Eina.Error.RaiseIfUnhandledException();
330 /// <summary>Sub-object currently set as this object's single content.
331 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
332 /// (Since EFL 1.22)</summary>
333 /// <returns>The sub-object.</returns>
334 virtual public Efl.Gfx.IEntity GetContent() {
335 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
336 Eina.Error.RaiseIfUnhandledException();
339 /// <summary>Sub-object currently set as this object's single content.
340 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
341 /// (Since EFL 1.22)</summary>
342 /// <param name="content">The sub-object.</param>
343 /// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
344 virtual public bool SetContent(Efl.Gfx.IEntity content) {
345 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
346 Eina.Error.RaiseIfUnhandledException();
349 /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
350 /// (Since EFL 1.22)</summary>
351 /// <returns>Unswallowed object</returns>
352 virtual public Efl.Gfx.IEntity UnsetContent() {
353 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
354 Eina.Error.RaiseIfUnhandledException();
357 /// <summary>Position</summary>
358 public Eina.Position2D PanPosition {
359 get { return GetPanPosition(); }
360 set { SetPanPosition(value); }
362 /// <summary>Content size</summary>
363 public Eina.Size2D ContentSize {
364 get { return GetContentSize(); }
366 /// <summary>The minimal position to scroll</summary>
367 public Eina.Position2D PanPositionMin {
368 get { return GetPanPositionMin(); }
370 /// <summary>The maximal position to scroll</summary>
371 public Eina.Position2D PanPositionMax {
372 get { return GetPanPositionMax(); }
374 /// <summary>Sub-object currently set as this object's single content.
375 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
376 /// (Since EFL 1.22)</summary>
377 /// <value>The sub-object.</value>
378 public Efl.Gfx.IEntity Content {
379 get { return GetContent(); }
380 set { SetContent(value); }
382 private static IntPtr GetEflClassStatic()
384 return Efl.Ui.Pan.efl_ui_pan_class_get();
386 /// <summary>Wrapper for native methods and virtual method delegates.
387 /// For internal use by generated code only.</summary>
388 public new class NativeMethods : Efl.Canvas.Group.NativeMethods
390 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
391 /// <summary>Gets the list of Eo operations to override.</summary>
392 /// <returns>The list of Eo operations to be overload.</returns>
393 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
395 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
396 var methods = Efl.Eo.Globals.GetUserMethods(type);
398 if (efl_ui_pan_position_get_static_delegate == null)
400 efl_ui_pan_position_get_static_delegate = new efl_ui_pan_position_get_delegate(pan_position_get);
403 if (methods.FirstOrDefault(m => m.Name == "GetPanPosition") != null)
405 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_pan_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_pan_position_get_static_delegate) });
408 if (efl_ui_pan_position_set_static_delegate == null)
410 efl_ui_pan_position_set_static_delegate = new efl_ui_pan_position_set_delegate(pan_position_set);
413 if (methods.FirstOrDefault(m => m.Name == "SetPanPosition") != null)
415 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_pan_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_pan_position_set_static_delegate) });
418 if (efl_ui_pan_content_size_get_static_delegate == null)
420 efl_ui_pan_content_size_get_static_delegate = new efl_ui_pan_content_size_get_delegate(content_size_get);
423 if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
425 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_pan_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_pan_content_size_get_static_delegate) });
428 if (efl_ui_pan_position_min_get_static_delegate == null)
430 efl_ui_pan_position_min_get_static_delegate = new efl_ui_pan_position_min_get_delegate(pan_position_min_get);
433 if (methods.FirstOrDefault(m => m.Name == "GetPanPositionMin") != null)
435 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_pan_position_min_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_pan_position_min_get_static_delegate) });
438 if (efl_ui_pan_position_max_get_static_delegate == null)
440 efl_ui_pan_position_max_get_static_delegate = new efl_ui_pan_position_max_get_delegate(pan_position_max_get);
443 if (methods.FirstOrDefault(m => m.Name == "GetPanPositionMax") != null)
445 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_pan_position_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_pan_position_max_get_static_delegate) });
448 if (efl_content_get_static_delegate == null)
450 efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
453 if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
455 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
458 if (efl_content_set_static_delegate == null)
460 efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
463 if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
465 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
468 if (efl_content_unset_static_delegate == null)
470 efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
473 if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
475 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
478 descs.AddRange(base.GetEoOps(type));
481 /// <summary>Returns the Eo class for the native methods of this class.</summary>
482 /// <returns>The native class pointer.</returns>
483 public override IntPtr GetEflClass()
485 return Efl.Ui.Pan.efl_ui_pan_class_get();
488 #pragma warning disable CA1707, SA1300, SA1600
491 private delegate Eina.Position2D.NativeStruct efl_ui_pan_position_get_delegate(System.IntPtr obj, System.IntPtr pd);
494 public delegate Eina.Position2D.NativeStruct efl_ui_pan_position_get_api_delegate(System.IntPtr obj);
496 public static Efl.Eo.FunctionWrapper<efl_ui_pan_position_get_api_delegate> efl_ui_pan_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_pan_position_get_api_delegate>(Module, "efl_ui_pan_position_get");
498 private static Eina.Position2D.NativeStruct pan_position_get(System.IntPtr obj, System.IntPtr pd)
500 Eina.Log.Debug("function efl_ui_pan_position_get was called");
501 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
504 Eina.Position2D _ret_var = default(Eina.Position2D);
507 _ret_var = ((Pan)wrapper).GetPanPosition();
511 Eina.Log.Warning($"Callback error: {e.ToString()}");
512 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
520 return efl_ui_pan_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
524 private static efl_ui_pan_position_get_delegate efl_ui_pan_position_get_static_delegate;
527 private delegate void efl_ui_pan_position_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct position);
530 public delegate void efl_ui_pan_position_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct position);
532 public static Efl.Eo.FunctionWrapper<efl_ui_pan_position_set_api_delegate> efl_ui_pan_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_pan_position_set_api_delegate>(Module, "efl_ui_pan_position_set");
534 private static void pan_position_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct position)
536 Eina.Log.Debug("function efl_ui_pan_position_set was called");
537 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
540 Eina.Position2D _in_position = position;
544 ((Pan)wrapper).SetPanPosition(_in_position);
548 Eina.Log.Warning($"Callback error: {e.ToString()}");
549 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
556 efl_ui_pan_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), position);
560 private static efl_ui_pan_position_set_delegate efl_ui_pan_position_set_static_delegate;
563 private delegate Eina.Size2D.NativeStruct efl_ui_pan_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
566 public delegate Eina.Size2D.NativeStruct efl_ui_pan_content_size_get_api_delegate(System.IntPtr obj);
568 public static Efl.Eo.FunctionWrapper<efl_ui_pan_content_size_get_api_delegate> efl_ui_pan_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_pan_content_size_get_api_delegate>(Module, "efl_ui_pan_content_size_get");
570 private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
572 Eina.Log.Debug("function efl_ui_pan_content_size_get was called");
573 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
576 Eina.Size2D _ret_var = default(Eina.Size2D);
579 _ret_var = ((Pan)wrapper).GetContentSize();
583 Eina.Log.Warning($"Callback error: {e.ToString()}");
584 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
592 return efl_ui_pan_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
596 private static efl_ui_pan_content_size_get_delegate efl_ui_pan_content_size_get_static_delegate;
599 private delegate Eina.Position2D.NativeStruct efl_ui_pan_position_min_get_delegate(System.IntPtr obj, System.IntPtr pd);
602 public delegate Eina.Position2D.NativeStruct efl_ui_pan_position_min_get_api_delegate(System.IntPtr obj);
604 public static Efl.Eo.FunctionWrapper<efl_ui_pan_position_min_get_api_delegate> efl_ui_pan_position_min_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_pan_position_min_get_api_delegate>(Module, "efl_ui_pan_position_min_get");
606 private static Eina.Position2D.NativeStruct pan_position_min_get(System.IntPtr obj, System.IntPtr pd)
608 Eina.Log.Debug("function efl_ui_pan_position_min_get was called");
609 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
612 Eina.Position2D _ret_var = default(Eina.Position2D);
615 _ret_var = ((Pan)wrapper).GetPanPositionMin();
619 Eina.Log.Warning($"Callback error: {e.ToString()}");
620 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
628 return efl_ui_pan_position_min_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
632 private static efl_ui_pan_position_min_get_delegate efl_ui_pan_position_min_get_static_delegate;
635 private delegate Eina.Position2D.NativeStruct efl_ui_pan_position_max_get_delegate(System.IntPtr obj, System.IntPtr pd);
638 public delegate Eina.Position2D.NativeStruct efl_ui_pan_position_max_get_api_delegate(System.IntPtr obj);
640 public static Efl.Eo.FunctionWrapper<efl_ui_pan_position_max_get_api_delegate> efl_ui_pan_position_max_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_pan_position_max_get_api_delegate>(Module, "efl_ui_pan_position_max_get");
642 private static Eina.Position2D.NativeStruct pan_position_max_get(System.IntPtr obj, System.IntPtr pd)
644 Eina.Log.Debug("function efl_ui_pan_position_max_get was called");
645 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
648 Eina.Position2D _ret_var = default(Eina.Position2D);
651 _ret_var = ((Pan)wrapper).GetPanPositionMax();
655 Eina.Log.Warning($"Callback error: {e.ToString()}");
656 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
664 return efl_ui_pan_position_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
668 private static efl_ui_pan_position_max_get_delegate efl_ui_pan_position_max_get_static_delegate;
670 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
671 private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
673 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
674 public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
676 public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
678 private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
680 Eina.Log.Debug("function efl_content_get was called");
681 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
684 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
687 _ret_var = ((Pan)wrapper).GetContent();
691 Eina.Log.Warning($"Callback error: {e.ToString()}");
692 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
700 return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
704 private static efl_content_get_delegate efl_content_get_static_delegate;
706 [return: MarshalAs(UnmanagedType.U1)]
707 private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
709 [return: MarshalAs(UnmanagedType.U1)]
710 public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
712 public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
714 private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
716 Eina.Log.Debug("function efl_content_set was called");
717 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
720 bool _ret_var = default(bool);
723 _ret_var = ((Pan)wrapper).SetContent(content);
727 Eina.Log.Warning($"Callback error: {e.ToString()}");
728 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
736 return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
740 private static efl_content_set_delegate efl_content_set_static_delegate;
742 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
743 private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
745 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
746 public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
748 public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
750 private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
752 Eina.Log.Debug("function efl_content_unset was called");
753 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
756 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
759 _ret_var = ((Pan)wrapper).UnsetContent();
763 Eina.Log.Warning($"Callback error: {e.ToString()}");
764 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
772 return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
776 private static efl_content_unset_delegate efl_content_unset_static_delegate;
778 #pragma warning restore CA1707, SA1300, SA1600