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>Event argument wrapper for event <see cref="Efl.Ui.ImageZoomable.DownloadProgressEvt"/>.</summary>
14 [Efl.Eo.BindingEntity]
15 public class ImageZoomableDownloadProgressEvt_Args : EventArgs {
16 /// <summary>Actual event payload.</summary>
17 /// <value>Called when photocam download progress updated</value>
18 public Elm.Photocam.Progress arg { get; set; }
20 /// <summary>Event argument wrapper for event <see cref="Efl.Ui.ImageZoomable.DownloadErrorEvt"/>.</summary>
21 [Efl.Eo.BindingEntity]
22 public class ImageZoomableDownloadErrorEvt_Args : EventArgs {
23 /// <summary>Actual event payload.</summary>
24 /// <value>Called when photocam download failed</value>
25 public Elm.Photocam.Error arg { get; set; }
27 /// <summary>Elementary Image Zoomable class</summary>
28 /// <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>
29 [Efl.Ui.ImageZoomable.NativeMethods]
30 [Efl.Eo.BindingEntity]
31 public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar, Efl.Ui.IZoom
33 /// <summary>Pointer to the native class description.</summary>
34 public override System.IntPtr NativeClass
38 if (((object)this).GetType() == typeof(ImageZoomable))
40 return GetEflClassStatic();
44 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
49 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
50 efl_ui_image_zoomable_class_get();
51 /// <summary>Initializes a new instance of the <see cref="ImageZoomable"/> class.</summary>
52 /// <param name="parent">Parent instance.</param>
53 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
54 public ImageZoomable(Efl.Object parent
55 , System.String style = null) : base(efl_ui_image_zoomable_class_get(), parent)
57 if (Efl.Eo.Globals.ParamHelperCheck(style))
59 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
62 FinishInstantiation();
65 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
66 /// Do not call this constructor directly.</summary>
67 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
68 protected ImageZoomable(ConstructingHandle ch) : base(ch)
72 /// <summary>Initializes a new instance of the <see cref="ImageZoomable"/> class.
73 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
74 /// <param name="wh">The native pointer to be wrapped.</param>
75 protected ImageZoomable(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
79 /// <summary>Initializes a new instance of the <see cref="ImageZoomable"/> class.
80 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
81 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
82 /// <param name="parent">The Efl.Object parent of this instance.</param>
83 protected ImageZoomable(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
87 /// <summary>Called when photocam got pressed</summary>
88 public event EventHandler PressEvt
92 lock (eflBindingEventLock)
94 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
96 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
99 EventArgs args = EventArgs.Empty;
102 value?.Invoke(obj, args);
106 Eina.Log.Error(e.ToString());
107 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
112 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_PRESS";
113 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
119 lock (eflBindingEventLock)
121 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_PRESS";
122 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
126 /// <summary>Method to raise event PressEvt.</summary>
127 public void OnPressEvt(EventArgs e)
129 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_PRESS";
130 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
131 if (desc == IntPtr.Zero)
133 Eina.Log.Error($"Failed to get native event {key}");
137 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
139 /// <summary>Called when photocam loading started</summary>
140 public event EventHandler LoadEvt
144 lock (eflBindingEventLock)
146 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
148 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
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_IMAGE_ZOOMABLE_EVENT_LOAD";
165 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
171 lock (eflBindingEventLock)
173 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD";
174 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
178 /// <summary>Method to raise event LoadEvt.</summary>
179 public void OnLoadEvt(EventArgs e)
181 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD";
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 photocam loading finished</summary>
192 public event EventHandler LoadedEvt
196 lock (eflBindingEventLock)
198 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
200 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
203 EventArgs args = EventArgs.Empty;
206 value?.Invoke(obj, args);
210 Eina.Log.Error(e.ToString());
211 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
216 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED";
217 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
223 lock (eflBindingEventLock)
225 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED";
226 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
230 /// <summary>Method to raise event LoadedEvt.</summary>
231 public void OnLoadedEvt(EventArgs e)
233 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED";
234 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
235 if (desc == IntPtr.Zero)
237 Eina.Log.Error($"Failed to get native event {key}");
241 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
243 /// <summary>Called when photocal detail loading started</summary>
244 public event EventHandler LoadDetailEvt
248 lock (eflBindingEventLock)
250 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
252 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
255 EventArgs args = EventArgs.Empty;
258 value?.Invoke(obj, args);
262 Eina.Log.Error(e.ToString());
263 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
268 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD_DETAIL";
269 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
275 lock (eflBindingEventLock)
277 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD_DETAIL";
278 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
282 /// <summary>Method to raise event LoadDetailEvt.</summary>
283 public void OnLoadDetailEvt(EventArgs e)
285 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOAD_DETAIL";
286 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
287 if (desc == IntPtr.Zero)
289 Eina.Log.Error($"Failed to get native event {key}");
293 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
295 /// <summary>Called when photocam detail loading finished</summary>
296 public event EventHandler LoadedDetailEvt
300 lock (eflBindingEventLock)
302 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
304 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
307 EventArgs args = EventArgs.Empty;
310 value?.Invoke(obj, args);
314 Eina.Log.Error(e.ToString());
315 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
320 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED_DETAIL";
321 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
327 lock (eflBindingEventLock)
329 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED_DETAIL";
330 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
334 /// <summary>Method to raise event LoadedDetailEvt.</summary>
335 public void OnLoadedDetailEvt(EventArgs e)
337 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_LOADED_DETAIL";
338 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
339 if (desc == IntPtr.Zero)
341 Eina.Log.Error($"Failed to get native event {key}");
345 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
347 /// <summary>Called when photocam download started</summary>
348 public event EventHandler DownloadStartEvt
352 lock (eflBindingEventLock)
354 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
356 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
359 EventArgs args = EventArgs.Empty;
362 value?.Invoke(obj, args);
366 Eina.Log.Error(e.ToString());
367 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
372 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_START";
373 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
379 lock (eflBindingEventLock)
381 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_START";
382 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
386 /// <summary>Method to raise event DownloadStartEvt.</summary>
387 public void OnDownloadStartEvt(EventArgs e)
389 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_START";
390 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
391 if (desc == IntPtr.Zero)
393 Eina.Log.Error($"Failed to get native event {key}");
397 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
399 /// <summary>Called when photocam download progress updated</summary>
400 /// <value><see cref="Efl.Ui.ImageZoomableDownloadProgressEvt_Args"/></value>
401 public event EventHandler<Efl.Ui.ImageZoomableDownloadProgressEvt_Args> DownloadProgressEvt
405 lock (eflBindingEventLock)
407 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
409 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
412 Efl.Ui.ImageZoomableDownloadProgressEvt_Args args = new Efl.Ui.ImageZoomableDownloadProgressEvt_Args();
413 args.arg = (Elm.Photocam.Progress)evt.Info;
416 value?.Invoke(obj, args);
420 Eina.Log.Error(e.ToString());
421 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
426 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_PROGRESS";
427 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
433 lock (eflBindingEventLock)
435 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_PROGRESS";
436 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
440 /// <summary>Method to raise event DownloadProgressEvt.</summary>
441 public void OnDownloadProgressEvt(Efl.Ui.ImageZoomableDownloadProgressEvt_Args e)
443 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_PROGRESS";
444 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
445 if (desc == IntPtr.Zero)
447 Eina.Log.Error($"Failed to get native event {key}");
451 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
454 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
458 Marshal.FreeHGlobal(info);
461 /// <summary>Called when photocam download finished</summary>
462 public event EventHandler DownloadDoneEvt
466 lock (eflBindingEventLock)
468 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
470 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
473 EventArgs args = EventArgs.Empty;
476 value?.Invoke(obj, args);
480 Eina.Log.Error(e.ToString());
481 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
486 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_DONE";
487 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
493 lock (eflBindingEventLock)
495 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_DONE";
496 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
500 /// <summary>Method to raise event DownloadDoneEvt.</summary>
501 public void OnDownloadDoneEvt(EventArgs e)
503 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_DONE";
504 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
505 if (desc == IntPtr.Zero)
507 Eina.Log.Error($"Failed to get native event {key}");
511 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
513 /// <summary>Called when photocam download failed</summary>
514 /// <value><see cref="Efl.Ui.ImageZoomableDownloadErrorEvt_Args"/></value>
515 public event EventHandler<Efl.Ui.ImageZoomableDownloadErrorEvt_Args> DownloadErrorEvt
519 lock (eflBindingEventLock)
521 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
523 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
526 Efl.Ui.ImageZoomableDownloadErrorEvt_Args args = new Efl.Ui.ImageZoomableDownloadErrorEvt_Args();
527 args.arg = (Elm.Photocam.Error)evt.Info;
530 value?.Invoke(obj, args);
534 Eina.Log.Error(e.ToString());
535 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
540 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_ERROR";
541 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
547 lock (eflBindingEventLock)
549 string key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_ERROR";
550 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
554 /// <summary>Method to raise event DownloadErrorEvt.</summary>
555 public void OnDownloadErrorEvt(Efl.Ui.ImageZoomableDownloadErrorEvt_Args e)
557 var key = "_EFL_UI_IMAGE_ZOOMABLE_EVENT_DOWNLOAD_ERROR";
558 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
559 if (desc == IntPtr.Zero)
561 Eina.Log.Error($"Failed to get native event {key}");
565 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
568 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
572 Marshal.FreeHGlobal(info);
575 /// <summary>Called when scroll operation starts</summary>
576 public event EventHandler ScrollStartEvt
580 lock (eflBindingEventLock)
582 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
584 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
587 EventArgs args = EventArgs.Empty;
590 value?.Invoke(obj, args);
594 Eina.Log.Error(e.ToString());
595 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
600 string key = "_EFL_UI_EVENT_SCROLL_START";
601 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
607 lock (eflBindingEventLock)
609 string key = "_EFL_UI_EVENT_SCROLL_START";
610 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
614 /// <summary>Method to raise event ScrollStartEvt.</summary>
615 public void OnScrollStartEvt(EventArgs e)
617 var key = "_EFL_UI_EVENT_SCROLL_START";
618 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
619 if (desc == IntPtr.Zero)
621 Eina.Log.Error($"Failed to get native event {key}");
625 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
627 /// <summary>Called when scrolling</summary>
628 public event EventHandler ScrollEvt
632 lock (eflBindingEventLock)
634 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
636 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
639 EventArgs args = EventArgs.Empty;
642 value?.Invoke(obj, args);
646 Eina.Log.Error(e.ToString());
647 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
652 string key = "_EFL_UI_EVENT_SCROLL";
653 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
659 lock (eflBindingEventLock)
661 string key = "_EFL_UI_EVENT_SCROLL";
662 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
666 /// <summary>Method to raise event ScrollEvt.</summary>
667 public void OnScrollEvt(EventArgs e)
669 var key = "_EFL_UI_EVENT_SCROLL";
670 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
671 if (desc == IntPtr.Zero)
673 Eina.Log.Error($"Failed to get native event {key}");
677 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
679 /// <summary>Called when scroll operation stops</summary>
680 public event EventHandler ScrollStopEvt
684 lock (eflBindingEventLock)
686 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
688 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
691 EventArgs args = EventArgs.Empty;
694 value?.Invoke(obj, args);
698 Eina.Log.Error(e.ToString());
699 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
704 string key = "_EFL_UI_EVENT_SCROLL_STOP";
705 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
711 lock (eflBindingEventLock)
713 string key = "_EFL_UI_EVENT_SCROLL_STOP";
714 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
718 /// <summary>Method to raise event ScrollStopEvt.</summary>
719 public void OnScrollStopEvt(EventArgs e)
721 var key = "_EFL_UI_EVENT_SCROLL_STOP";
722 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
723 if (desc == IntPtr.Zero)
725 Eina.Log.Error($"Failed to get native event {key}");
729 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
731 /// <summary>Called when scrolling upwards</summary>
732 public event EventHandler ScrollUpEvt
736 lock (eflBindingEventLock)
738 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
740 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
743 EventArgs args = EventArgs.Empty;
746 value?.Invoke(obj, args);
750 Eina.Log.Error(e.ToString());
751 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
756 string key = "_EFL_UI_EVENT_SCROLL_UP";
757 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
763 lock (eflBindingEventLock)
765 string key = "_EFL_UI_EVENT_SCROLL_UP";
766 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
770 /// <summary>Method to raise event ScrollUpEvt.</summary>
771 public void OnScrollUpEvt(EventArgs e)
773 var key = "_EFL_UI_EVENT_SCROLL_UP";
774 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
775 if (desc == IntPtr.Zero)
777 Eina.Log.Error($"Failed to get native event {key}");
781 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
783 /// <summary>Called when scrolling downwards</summary>
784 public event EventHandler ScrollDownEvt
788 lock (eflBindingEventLock)
790 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
792 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
795 EventArgs args = EventArgs.Empty;
798 value?.Invoke(obj, args);
802 Eina.Log.Error(e.ToString());
803 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
808 string key = "_EFL_UI_EVENT_SCROLL_DOWN";
809 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
815 lock (eflBindingEventLock)
817 string key = "_EFL_UI_EVENT_SCROLL_DOWN";
818 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
822 /// <summary>Method to raise event ScrollDownEvt.</summary>
823 public void OnScrollDownEvt(EventArgs e)
825 var key = "_EFL_UI_EVENT_SCROLL_DOWN";
826 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
827 if (desc == IntPtr.Zero)
829 Eina.Log.Error($"Failed to get native event {key}");
833 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
835 /// <summary>Called when scrolling left</summary>
836 public event EventHandler ScrollLeftEvt
840 lock (eflBindingEventLock)
842 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
844 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
847 EventArgs args = EventArgs.Empty;
850 value?.Invoke(obj, args);
854 Eina.Log.Error(e.ToString());
855 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
860 string key = "_EFL_UI_EVENT_SCROLL_LEFT";
861 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
867 lock (eflBindingEventLock)
869 string key = "_EFL_UI_EVENT_SCROLL_LEFT";
870 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
874 /// <summary>Method to raise event ScrollLeftEvt.</summary>
875 public void OnScrollLeftEvt(EventArgs e)
877 var key = "_EFL_UI_EVENT_SCROLL_LEFT";
878 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
879 if (desc == IntPtr.Zero)
881 Eina.Log.Error($"Failed to get native event {key}");
885 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
887 /// <summary>Called when scrolling right</summary>
888 public event EventHandler ScrollRightEvt
892 lock (eflBindingEventLock)
894 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
896 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
899 EventArgs args = EventArgs.Empty;
902 value?.Invoke(obj, args);
906 Eina.Log.Error(e.ToString());
907 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
912 string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
913 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
919 lock (eflBindingEventLock)
921 string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
922 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
926 /// <summary>Method to raise event ScrollRightEvt.</summary>
927 public void OnScrollRightEvt(EventArgs e)
929 var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
930 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
931 if (desc == IntPtr.Zero)
933 Eina.Log.Error($"Failed to get native event {key}");
937 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
939 /// <summary>Called when hitting the top edge</summary>
940 public event EventHandler EdgeUpEvt
944 lock (eflBindingEventLock)
946 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
948 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
951 EventArgs args = EventArgs.Empty;
954 value?.Invoke(obj, args);
958 Eina.Log.Error(e.ToString());
959 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
964 string key = "_EFL_UI_EVENT_EDGE_UP";
965 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
971 lock (eflBindingEventLock)
973 string key = "_EFL_UI_EVENT_EDGE_UP";
974 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
978 /// <summary>Method to raise event EdgeUpEvt.</summary>
979 public void OnEdgeUpEvt(EventArgs e)
981 var key = "_EFL_UI_EVENT_EDGE_UP";
982 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
983 if (desc == IntPtr.Zero)
985 Eina.Log.Error($"Failed to get native event {key}");
989 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
991 /// <summary>Called when hitting the bottom edge</summary>
992 public event EventHandler EdgeDownEvt
996 lock (eflBindingEventLock)
998 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1000 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1003 EventArgs args = EventArgs.Empty;
1006 value?.Invoke(obj, args);
1010 Eina.Log.Error(e.ToString());
1011 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1016 string key = "_EFL_UI_EVENT_EDGE_DOWN";
1017 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1023 lock (eflBindingEventLock)
1025 string key = "_EFL_UI_EVENT_EDGE_DOWN";
1026 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1030 /// <summary>Method to raise event EdgeDownEvt.</summary>
1031 public void OnEdgeDownEvt(EventArgs e)
1033 var key = "_EFL_UI_EVENT_EDGE_DOWN";
1034 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1035 if (desc == IntPtr.Zero)
1037 Eina.Log.Error($"Failed to get native event {key}");
1041 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1043 /// <summary>Called when hitting the left edge</summary>
1044 public event EventHandler EdgeLeftEvt
1048 lock (eflBindingEventLock)
1050 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1052 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1055 EventArgs args = EventArgs.Empty;
1058 value?.Invoke(obj, args);
1062 Eina.Log.Error(e.ToString());
1063 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1068 string key = "_EFL_UI_EVENT_EDGE_LEFT";
1069 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1075 lock (eflBindingEventLock)
1077 string key = "_EFL_UI_EVENT_EDGE_LEFT";
1078 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1082 /// <summary>Method to raise event EdgeLeftEvt.</summary>
1083 public void OnEdgeLeftEvt(EventArgs e)
1085 var key = "_EFL_UI_EVENT_EDGE_LEFT";
1086 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1087 if (desc == IntPtr.Zero)
1089 Eina.Log.Error($"Failed to get native event {key}");
1093 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1095 /// <summary>Called when hitting the right edge</summary>
1096 public event EventHandler EdgeRightEvt
1100 lock (eflBindingEventLock)
1102 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1104 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1107 EventArgs args = EventArgs.Empty;
1110 value?.Invoke(obj, args);
1114 Eina.Log.Error(e.ToString());
1115 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1120 string key = "_EFL_UI_EVENT_EDGE_RIGHT";
1121 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1127 lock (eflBindingEventLock)
1129 string key = "_EFL_UI_EVENT_EDGE_RIGHT";
1130 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1134 /// <summary>Method to raise event EdgeRightEvt.</summary>
1135 public void OnEdgeRightEvt(EventArgs e)
1137 var key = "_EFL_UI_EVENT_EDGE_RIGHT";
1138 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1139 if (desc == IntPtr.Zero)
1141 Eina.Log.Error($"Failed to get native event {key}");
1145 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1147 /// <summary>Called when scroll animation starts</summary>
1148 public event EventHandler ScrollAnimStartEvt
1152 lock (eflBindingEventLock)
1154 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1156 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1159 EventArgs args = EventArgs.Empty;
1162 value?.Invoke(obj, args);
1166 Eina.Log.Error(e.ToString());
1167 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1172 string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
1173 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1179 lock (eflBindingEventLock)
1181 string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
1182 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1186 /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
1187 public void OnScrollAnimStartEvt(EventArgs e)
1189 var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
1190 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1191 if (desc == IntPtr.Zero)
1193 Eina.Log.Error($"Failed to get native event {key}");
1197 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1199 /// <summary>Called when scroll animation stopps</summary>
1200 public event EventHandler ScrollAnimStopEvt
1204 lock (eflBindingEventLock)
1206 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1208 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1211 EventArgs args = EventArgs.Empty;
1214 value?.Invoke(obj, args);
1218 Eina.Log.Error(e.ToString());
1219 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1224 string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
1225 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1231 lock (eflBindingEventLock)
1233 string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
1234 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1238 /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
1239 public void OnScrollAnimStopEvt(EventArgs e)
1241 var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
1242 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1243 if (desc == IntPtr.Zero)
1245 Eina.Log.Error($"Failed to get native event {key}");
1249 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1251 /// <summary>Called when scroll drag starts</summary>
1252 public event EventHandler ScrollDragStartEvt
1256 lock (eflBindingEventLock)
1258 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1260 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1263 EventArgs args = EventArgs.Empty;
1266 value?.Invoke(obj, args);
1270 Eina.Log.Error(e.ToString());
1271 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1276 string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
1277 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1283 lock (eflBindingEventLock)
1285 string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
1286 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1290 /// <summary>Method to raise event ScrollDragStartEvt.</summary>
1291 public void OnScrollDragStartEvt(EventArgs e)
1293 var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
1294 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1295 if (desc == IntPtr.Zero)
1297 Eina.Log.Error($"Failed to get native event {key}");
1301 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1303 /// <summary>Called when scroll drag stops</summary>
1304 public event EventHandler ScrollDragStopEvt
1308 lock (eflBindingEventLock)
1310 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1312 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1315 EventArgs args = EventArgs.Empty;
1318 value?.Invoke(obj, args);
1322 Eina.Log.Error(e.ToString());
1323 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1328 string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
1329 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1335 lock (eflBindingEventLock)
1337 string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
1338 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1342 /// <summary>Method to raise event ScrollDragStopEvt.</summary>
1343 public void OnScrollDragStopEvt(EventArgs e)
1345 var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
1346 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1347 if (desc == IntPtr.Zero)
1349 Eina.Log.Error($"Failed to get native event {key}");
1353 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1355 /// <summary>Called when bar is pressed.</summary>
1356 /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
1357 public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
1361 lock (eflBindingEventLock)
1363 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1365 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1368 Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
1369 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
1372 value?.Invoke(obj, args);
1376 Eina.Log.Error(e.ToString());
1377 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1382 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
1383 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1389 lock (eflBindingEventLock)
1391 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
1392 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1396 /// <summary>Method to raise event BarPressEvt.</summary>
1397 public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
1399 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
1400 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1401 if (desc == IntPtr.Zero)
1403 Eina.Log.Error($"Failed to get native event {key}");
1407 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
1410 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
1414 Marshal.FreeHGlobal(info);
1417 /// <summary>Called when bar is unpressed.</summary>
1418 /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
1419 public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
1423 lock (eflBindingEventLock)
1425 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1427 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1430 Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
1431 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
1434 value?.Invoke(obj, args);
1438 Eina.Log.Error(e.ToString());
1439 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1444 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
1445 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1451 lock (eflBindingEventLock)
1453 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
1454 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1458 /// <summary>Method to raise event BarUnpressEvt.</summary>
1459 public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
1461 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
1462 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1463 if (desc == IntPtr.Zero)
1465 Eina.Log.Error($"Failed to get native event {key}");
1469 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
1472 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
1476 Marshal.FreeHGlobal(info);
1479 /// <summary>Called when bar is dragged.</summary>
1480 /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
1481 public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
1485 lock (eflBindingEventLock)
1487 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1489 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1492 Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
1493 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
1496 value?.Invoke(obj, args);
1500 Eina.Log.Error(e.ToString());
1501 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1506 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
1507 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1513 lock (eflBindingEventLock)
1515 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
1516 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1520 /// <summary>Method to raise event BarDragEvt.</summary>
1521 public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
1523 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
1524 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1525 if (desc == IntPtr.Zero)
1527 Eina.Log.Error($"Failed to get native event {key}");
1531 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
1534 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
1538 Marshal.FreeHGlobal(info);
1541 /// <summary>Called when bar size is changed.</summary>
1542 public event EventHandler BarSizeChangedEvt
1546 lock (eflBindingEventLock)
1548 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1550 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1553 EventArgs args = EventArgs.Empty;
1556 value?.Invoke(obj, args);
1560 Eina.Log.Error(e.ToString());
1561 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1566 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
1567 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1573 lock (eflBindingEventLock)
1575 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
1576 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1580 /// <summary>Method to raise event BarSizeChangedEvt.</summary>
1581 public void OnBarSizeChangedEvt(EventArgs e)
1583 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
1584 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1585 if (desc == IntPtr.Zero)
1587 Eina.Log.Error($"Failed to get native event {key}");
1591 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1593 /// <summary>Called when bar position is changed.</summary>
1594 public event EventHandler BarPosChangedEvt
1598 lock (eflBindingEventLock)
1600 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1602 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1605 EventArgs args = EventArgs.Empty;
1608 value?.Invoke(obj, args);
1612 Eina.Log.Error(e.ToString());
1613 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1618 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
1619 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1625 lock (eflBindingEventLock)
1627 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
1628 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1632 /// <summary>Method to raise event BarPosChangedEvt.</summary>
1633 public void OnBarPosChangedEvt(EventArgs e)
1635 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
1636 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1637 if (desc == IntPtr.Zero)
1639 Eina.Log.Error($"Failed to get native event {key}");
1643 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1645 /// <summary>Callend when bar is shown.</summary>
1646 /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
1647 public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
1651 lock (eflBindingEventLock)
1653 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1655 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1658 Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
1659 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
1662 value?.Invoke(obj, args);
1666 Eina.Log.Error(e.ToString());
1667 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1672 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
1673 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1679 lock (eflBindingEventLock)
1681 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
1682 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1686 /// <summary>Method to raise event BarShowEvt.</summary>
1687 public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
1689 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
1690 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1691 if (desc == IntPtr.Zero)
1693 Eina.Log.Error($"Failed to get native event {key}");
1697 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
1700 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
1704 Marshal.FreeHGlobal(info);
1707 /// <summary>Called when bar is hidden.</summary>
1708 /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
1709 public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
1713 lock (eflBindingEventLock)
1715 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1717 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1720 Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
1721 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
1724 value?.Invoke(obj, args);
1728 Eina.Log.Error(e.ToString());
1729 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1734 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
1735 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1741 lock (eflBindingEventLock)
1743 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
1744 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1748 /// <summary>Method to raise event BarHideEvt.</summary>
1749 public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
1751 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
1752 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1753 if (desc == IntPtr.Zero)
1755 Eina.Log.Error($"Failed to get native event {key}");
1759 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
1762 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
1766 Marshal.FreeHGlobal(info);
1769 /// <summary>Called when zooming started</summary>
1770 public event EventHandler ZoomStartEvt
1774 lock (eflBindingEventLock)
1776 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1778 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1781 EventArgs args = EventArgs.Empty;
1784 value?.Invoke(obj, args);
1788 Eina.Log.Error(e.ToString());
1789 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1794 string key = "_EFL_UI_EVENT_ZOOM_START";
1795 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1801 lock (eflBindingEventLock)
1803 string key = "_EFL_UI_EVENT_ZOOM_START";
1804 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1808 /// <summary>Method to raise event ZoomStartEvt.</summary>
1809 public void OnZoomStartEvt(EventArgs e)
1811 var key = "_EFL_UI_EVENT_ZOOM_START";
1812 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1813 if (desc == IntPtr.Zero)
1815 Eina.Log.Error($"Failed to get native event {key}");
1819 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1821 /// <summary>Called when zooming stopped</summary>
1822 public event EventHandler ZoomStopEvt
1826 lock (eflBindingEventLock)
1828 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1830 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1833 EventArgs args = EventArgs.Empty;
1836 value?.Invoke(obj, args);
1840 Eina.Log.Error(e.ToString());
1841 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1846 string key = "_EFL_UI_EVENT_ZOOM_STOP";
1847 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1853 lock (eflBindingEventLock)
1855 string key = "_EFL_UI_EVENT_ZOOM_STOP";
1856 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1860 /// <summary>Method to raise event ZoomStopEvt.</summary>
1861 public void OnZoomStopEvt(EventArgs e)
1863 var key = "_EFL_UI_EVENT_ZOOM_STOP";
1864 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1865 if (desc == IntPtr.Zero)
1867 Eina.Log.Error($"Failed to get native event {key}");
1871 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1873 /// <summary>Called when zooming changed</summary>
1874 public event EventHandler ZoomChangeEvt
1878 lock (eflBindingEventLock)
1880 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1882 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1885 EventArgs args = EventArgs.Empty;
1888 value?.Invoke(obj, args);
1892 Eina.Log.Error(e.ToString());
1893 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1898 string key = "_EFL_UI_EVENT_ZOOM_CHANGE";
1899 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1905 lock (eflBindingEventLock)
1907 string key = "_EFL_UI_EVENT_ZOOM_CHANGE";
1908 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1912 /// <summary>Method to raise event ZoomChangeEvt.</summary>
1913 public void OnZoomChangeEvt(EventArgs e)
1915 var key = "_EFL_UI_EVENT_ZOOM_CHANGE";
1916 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1917 if (desc == IntPtr.Zero)
1919 Eina.Log.Error($"Failed to get native event {key}");
1923 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1925 /// <summary>Get the gesture state for photocam.
1926 /// This gets the current gesture state for the photocam object.</summary>
1927 /// <returns>The gesture state.</returns>
1928 virtual public bool GetGestureEnabled() {
1929 var _ret_var = Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_gesture_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
1930 Eina.Error.RaiseIfUnhandledException();
1933 /// <summary>Set the gesture state for photocam.
1934 /// This sets the gesture state to on or off for photocam. The default is off. This will start multi touch zooming.</summary>
1935 /// <param name="gesture">The gesture state.</param>
1936 virtual public void SetGestureEnabled(bool gesture) {
1937 Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_gesture_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),gesture);
1938 Eina.Error.RaiseIfUnhandledException();
1940 /// <summary>Get the region of the image that is currently shown
1941 /// See also <see cref="Efl.Ui.ImageZoomable.SetImageRegion"/>.</summary>
1942 /// <returns>The region in the original image pixels.</returns>
1943 virtual public Eina.Rect GetImageRegion() {
1944 var _ret_var = Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_image_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
1945 Eina.Error.RaiseIfUnhandledException();
1948 /// <summary>Set the viewed region of the image
1949 /// This shows the region of the image without using animation.</summary>
1950 /// <param name="region">The region in the original image pixels.</param>
1951 virtual public void SetImageRegion(Eina.Rect region) {
1952 Eina.Rect.NativeStruct _in_region = region;
1953 Efl.Ui.ImageZoomable.NativeMethods.efl_ui_image_zoomable_image_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_region);
1954 Eina.Error.RaiseIfUnhandledException();
1956 /// <summary>The content position</summary>
1957 /// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
1958 virtual public Eina.Position2D GetContentPos() {
1959 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
1960 Eina.Error.RaiseIfUnhandledException();
1963 /// <summary>The content position</summary>
1964 /// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
1965 virtual public void SetContentPos(Eina.Position2D pos) {
1966 Eina.Position2D.NativeStruct _in_pos = pos;
1967 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_pos);
1968 Eina.Error.RaiseIfUnhandledException();
1970 /// <summary>The content size</summary>
1971 /// <returns>The content size in pixels.</returns>
1972 virtual public Eina.Size2D GetContentSize() {
1973 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
1974 Eina.Error.RaiseIfUnhandledException();
1977 /// <summary>The viewport geometry</summary>
1978 /// <returns>It is absolute geometry.</returns>
1979 virtual public Eina.Rect GetViewportGeometry() {
1980 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
1981 Eina.Error.RaiseIfUnhandledException();
1984 /// <summary>Bouncing behavior
1985 /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
1986 /// <param name="horiz">Horizontal bounce policy.</param>
1987 /// <param name="vert">Vertical bounce policy.</param>
1988 virtual public void GetBounceEnabled(out bool horiz, out bool vert) {
1989 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out horiz, out vert);
1990 Eina.Error.RaiseIfUnhandledException();
1992 /// <summary>Bouncing behavior
1993 /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
1994 /// <param name="horiz">Horizontal bounce policy.</param>
1995 /// <param name="vert">Vertical bounce policy.</param>
1996 virtual public void SetBounceEnabled(bool horiz, bool vert) {
1997 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),horiz, vert);
1998 Eina.Error.RaiseIfUnhandledException();
2000 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
2001 /// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
2002 virtual public bool GetScrollFreeze() {
2003 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
2004 Eina.Error.RaiseIfUnhandledException();
2007 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
2008 /// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
2009 virtual public void SetScrollFreeze(bool freeze) {
2010 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),freeze);
2011 Eina.Error.RaiseIfUnhandledException();
2013 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
2014 /// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
2015 virtual public bool GetScrollHold() {
2016 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
2017 Eina.Error.RaiseIfUnhandledException();
2020 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
2021 /// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
2022 virtual public void SetScrollHold(bool hold) {
2023 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hold);
2024 Eina.Error.RaiseIfUnhandledException();
2026 /// <summary>Controls an infinite loop for a scroller.</summary>
2027 /// <param name="loop_h">The scrolling horizontal loop</param>
2028 /// <param name="loop_v">The Scrolling vertical loop</param>
2029 virtual public void GetLooping(out bool loop_h, out bool loop_v) {
2030 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out loop_h, out loop_v);
2031 Eina.Error.RaiseIfUnhandledException();
2033 /// <summary>Controls an infinite loop for a scroller.</summary>
2034 /// <param name="loop_h">The scrolling horizontal loop</param>
2035 /// <param name="loop_v">The Scrolling vertical loop</param>
2036 virtual public void SetLooping(bool loop_h, bool loop_v) {
2037 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),loop_h, loop_v);
2038 Eina.Error.RaiseIfUnhandledException();
2040 /// <summary>Blocking of scrolling (per axis)
2041 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
2042 /// <returns>Which axis (or axes) to block</returns>
2043 virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
2044 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
2045 Eina.Error.RaiseIfUnhandledException();
2048 /// <summary>Blocking of scrolling (per axis)
2049 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
2050 /// <param name="block">Which axis (or axes) to block</param>
2051 virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
2052 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),block);
2053 Eina.Error.RaiseIfUnhandledException();
2055 /// <summary>Control scrolling gravity on the scrollable
2056 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
2058 /// The scroller will adjust the view to glue itself as follows.
2060 /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
2062 /// Default values for x and y are 0.0</summary>
2063 /// <param name="x">Horizontal scrolling gravity</param>
2064 /// <param name="y">Vertical scrolling gravity</param>
2065 virtual public void GetGravity(out double x, out double y) {
2066 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out x, out y);
2067 Eina.Error.RaiseIfUnhandledException();
2069 /// <summary>Control scrolling gravity on the scrollable
2070 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
2072 /// The scroller will adjust the view to glue itself as follows.
2074 /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
2076 /// Default values for x and y are 0.0</summary>
2077 /// <param name="x">Horizontal scrolling gravity</param>
2078 /// <param name="y">Vertical scrolling gravity</param>
2079 virtual public void SetGravity(double x, double y) {
2080 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y);
2081 Eina.Error.RaiseIfUnhandledException();
2083 /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
2084 /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
2085 /// <param name="w">Whether to limit the minimum horizontal size</param>
2086 /// <param name="h">Whether to limit the minimum vertical size</param>
2087 virtual public void SetMatchContent(bool w, bool h) {
2088 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),w, h);
2089 Eina.Error.RaiseIfUnhandledException();
2091 /// <summary>Control the step size
2092 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
2093 /// <returns>The step size in pixels</returns>
2094 virtual public Eina.Position2D GetStepSize() {
2095 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
2096 Eina.Error.RaiseIfUnhandledException();
2099 /// <summary>Control the step size
2100 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
2101 /// <param name="step">The step size in pixels</param>
2102 virtual public void SetStepSize(Eina.Position2D step) {
2103 Eina.Position2D.NativeStruct _in_step = step;
2104 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_step);
2105 Eina.Error.RaiseIfUnhandledException();
2107 /// <summary>Show a specific virtual region within the scroller content object.
2108 /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.</summary>
2109 /// <param name="rect">The position where to scroll. and The size user want to see</param>
2110 /// <param name="animation">Whether to scroll with animation or not</param>
2111 virtual public void Scroll(Eina.Rect rect, bool animation) {
2112 Eina.Rect.NativeStruct _in_rect = rect;
2113 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_rect, animation);
2114 Eina.Error.RaiseIfUnhandledException();
2116 /// <summary>Scrollbar visibility policy</summary>
2117 /// <param name="hbar">Horizontal scrollbar.</param>
2118 /// <param name="vbar">Vertical scrollbar.</param>
2119 virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
2120 Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out hbar, out vbar);
2121 Eina.Error.RaiseIfUnhandledException();
2123 /// <summary>Scrollbar visibility policy</summary>
2124 /// <param name="hbar">Horizontal scrollbar.</param>
2125 /// <param name="vbar">Vertical scrollbar.</param>
2126 virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
2127 Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hbar, vbar);
2128 Eina.Error.RaiseIfUnhandledException();
2130 /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
2131 /// <param name="width">Value between 0.0 and 1.0.</param>
2132 /// <param name="height">Value between 0.0 and 1.0.</param>
2133 virtual public void GetBarSize(out double width, out double height) {
2134 Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out width, out height);
2135 Eina.Error.RaiseIfUnhandledException();
2137 /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
2138 /// <param name="posx">Value between 0.0 and 1.0.</param>
2139 /// <param name="posy">Value between 0.0 and 1.0.</param>
2140 virtual public void GetBarPosition(out double posx, out double posy) {
2141 Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out posx, out posy);
2142 Eina.Error.RaiseIfUnhandledException();
2144 /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
2145 /// <param name="posx">Value between 0.0 and 1.0.</param>
2146 /// <param name="posy">Value between 0.0 and 1.0.</param>
2147 virtual public void SetBarPosition(double posx, double posy) {
2148 Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),posx, posy);
2149 Eina.Error.RaiseIfUnhandledException();
2151 /// <summary>Update bar visibility.
2152 /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
2153 virtual public void UpdateBarVisibility() {
2154 Efl.Ui.IScrollbarConcrete.NativeMethods.efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
2155 Eina.Error.RaiseIfUnhandledException();
2157 /// <summary>This sets the zoom animation state to on or off for zoomable. The default is off. When <c>paused</c> is <c>true</c>, it will stop zooming using animation on zoom level changes and change instantly, stopping any existing animations that are running.</summary>
2158 /// <returns>The paused state.</returns>
2159 virtual public bool GetZoomAnimation() {
2160 var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_animation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
2161 Eina.Error.RaiseIfUnhandledException();
2164 /// <summary>This sets the zoom animation state to on or off for zoomable. The default is off. When <c>paused</c> is <c>true</c>, it will stop zooming using animation on zoom level changes and change instantly, stopping any existing animations that are running.</summary>
2165 /// <param name="paused">The paused state.</param>
2166 virtual public void SetZoomAnimation(bool paused) {
2167 Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_animation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),paused);
2168 Eina.Error.RaiseIfUnhandledException();
2170 /// <summary>Get the zoom level of the photo
2171 /// This returns the current zoom level of the zoomable object. Note that if you set the fill mode to other than #EFL_UI_ZOOM_MODE_MANUAL (which is the default), the zoom level may be changed at any time by the zoomable object itself to account for photo size and zoomable viewport size.</summary>
2172 /// <returns>The zoom level to set</returns>
2173 virtual public double GetZoomLevel() {
2174 var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_level_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
2175 Eina.Error.RaiseIfUnhandledException();
2178 /// <summary>Set the zoom level of the photo
2179 /// This sets the zoom level. If <c>zoom</c> is 1, it means no zoom. If it's smaller than 1, it means zoom in. If it's bigger than 1, it means zoom out. For example, <c>zoom</c> 1 will be 1:1 pixel for pixel. <c>zoom</c> 2 will be 2:1 (that is 2x2 photo pixels will display as 1 on-screen pixel) which is a zoom out. 4:1 will be 4x4 photo pixels as 1 screen pixel, and so on. The <c>zoom</c> parameter must be greater than 0. It is suggested to stick to powers of 2. (1, 2, 4, 8, 16, 32, etc.).</summary>
2180 /// <param name="zoom">The zoom level to set</param>
2181 virtual public void SetZoomLevel(double zoom) {
2182 Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_level_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),zoom);
2183 Eina.Error.RaiseIfUnhandledException();
2185 /// <summary>Get the zoom mode
2186 /// This gets the current zoom mode of the zoomable object.</summary>
2187 /// <returns>The zoom mode.</returns>
2188 virtual public Efl.Ui.ZoomMode GetZoomMode() {
2189 var _ret_var = Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
2190 Eina.Error.RaiseIfUnhandledException();
2193 /// <summary>Set the zoom mode
2194 /// This sets the zoom mode to manual or one of several automatic levels. Manual (EFL_UI_ZOOM_MODE_MANUAL) means that zoom is set manually by <see cref="Efl.Ui.IZoom.SetZoomLevel"/> and will stay at that level until changed by code or until zoom mode is changed. This is the default mode. The Automatic modes will allow the zoomable object to automatically adjust zoom mode based on properties.
2196 /// #EFL_UI_ZOOM_MODE_AUTO_FIT) will adjust zoom so the photo fits EXACTLY inside the scroll frame with no pixels outside this region. #EFL_UI_ZOOM_MODE_AUTO_FILL will be similar but ensure no pixels within the frame are left unfilled.</summary>
2197 /// <param name="mode">The zoom mode.</param>
2198 virtual public void SetZoomMode(Efl.Ui.ZoomMode mode) {
2199 Efl.Ui.IZoomConcrete.NativeMethods.efl_ui_zoom_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
2200 Eina.Error.RaiseIfUnhandledException();
2202 /// <summary>Get the gesture state for photocam.
2203 /// This gets the current gesture state for the photocam object.</summary>
2204 /// <value>The gesture state.</value>
2205 public bool GestureEnabled {
2206 get { return GetGestureEnabled(); }
2207 set { SetGestureEnabled(value); }
2209 /// <summary>Get the region of the image that is currently shown
2210 /// See also <see cref="Efl.Ui.ImageZoomable.SetImageRegion"/>.</summary>
2211 /// <value>The region in the original image pixels.</value>
2212 public Eina.Rect ImageRegion {
2213 get { return GetImageRegion(); }
2214 set { SetImageRegion(value); }
2216 /// <summary>The content position</summary>
2217 /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
2218 public Eina.Position2D ContentPos {
2219 get { return GetContentPos(); }
2220 set { SetContentPos(value); }
2222 /// <summary>The content size</summary>
2223 /// <value>The content size in pixels.</value>
2224 public Eina.Size2D ContentSize {
2225 get { return GetContentSize(); }
2227 /// <summary>The viewport geometry</summary>
2228 /// <value>It is absolute geometry.</value>
2229 public Eina.Rect ViewportGeometry {
2230 get { return GetViewportGeometry(); }
2232 /// <summary>Bouncing behavior
2233 /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
2234 /// <value>Horizontal bounce policy.</value>
2235 public (bool, bool) BounceEnabled {
2237 bool _out_horiz = default(bool);
2238 bool _out_vert = default(bool);
2239 GetBounceEnabled(out _out_horiz,out _out_vert);
2240 return (_out_horiz,_out_vert);
2242 set { SetBounceEnabled( value.Item1, value.Item2); }
2244 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
2245 /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
2246 public bool ScrollFreeze {
2247 get { return GetScrollFreeze(); }
2248 set { SetScrollFreeze(value); }
2250 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
2251 /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
2252 public bool ScrollHold {
2253 get { return GetScrollHold(); }
2254 set { SetScrollHold(value); }
2256 /// <summary>Controls an infinite loop for a scroller.</summary>
2257 /// <value>The scrolling horizontal loop</value>
2258 public (bool, bool) Looping {
2260 bool _out_loop_h = default(bool);
2261 bool _out_loop_v = default(bool);
2262 GetLooping(out _out_loop_h,out _out_loop_v);
2263 return (_out_loop_h,_out_loop_v);
2265 set { SetLooping( value.Item1, value.Item2); }
2267 /// <summary>Blocking of scrolling (per axis)
2268 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
2269 /// <value>Which axis (or axes) to block</value>
2270 public Efl.Ui.ScrollBlock MovementBlock {
2271 get { return GetMovementBlock(); }
2272 set { SetMovementBlock(value); }
2274 /// <summary>Control scrolling gravity on the scrollable
2275 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
2277 /// The scroller will adjust the view to glue itself as follows.
2279 /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
2281 /// Default values for x and y are 0.0</summary>
2282 /// <value>Horizontal scrolling gravity</value>
2283 public (double, double) Gravity {
2285 double _out_x = default(double);
2286 double _out_y = default(double);
2287 GetGravity(out _out_x,out _out_y);
2288 return (_out_x,_out_y);
2290 set { SetGravity( value.Item1, value.Item2); }
2292 /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
2293 /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
2294 /// <value>Whether to limit the minimum horizontal size</value>
2295 public (bool, bool) MatchContent {
2296 set { SetMatchContent( value.Item1, value.Item2); }
2298 /// <summary>Control the step size
2299 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
2300 /// <value>The step size in pixels</value>
2301 public Eina.Position2D StepSize {
2302 get { return GetStepSize(); }
2303 set { SetStepSize(value); }
2305 /// <summary>Scrollbar visibility policy</summary>
2306 /// <value>Horizontal scrollbar.</value>
2307 public (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
2309 Efl.Ui.ScrollbarMode _out_hbar = default(Efl.Ui.ScrollbarMode);
2310 Efl.Ui.ScrollbarMode _out_vbar = default(Efl.Ui.ScrollbarMode);
2311 GetBarMode(out _out_hbar,out _out_vbar);
2312 return (_out_hbar,_out_vbar);
2314 set { SetBarMode( value.Item1, value.Item2); }
2316 /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
2317 public (double, double) BarSize {
2319 double _out_width = default(double);
2320 double _out_height = default(double);
2321 GetBarSize(out _out_width,out _out_height);
2322 return (_out_width,_out_height);
2325 /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
2326 /// <value>Value between 0.0 and 1.0.</value>
2327 public (double, double) BarPosition {
2329 double _out_posx = default(double);
2330 double _out_posy = default(double);
2331 GetBarPosition(out _out_posx,out _out_posy);
2332 return (_out_posx,_out_posy);
2334 set { SetBarPosition( value.Item1, value.Item2); }
2336 /// <summary>This sets the zoom animation state to on or off for zoomable. The default is off. When <c>paused</c> is <c>true</c>, it will stop zooming using animation on zoom level changes and change instantly, stopping any existing animations that are running.</summary>
2337 /// <value>The paused state.</value>
2338 public bool ZoomAnimation {
2339 get { return GetZoomAnimation(); }
2340 set { SetZoomAnimation(value); }
2342 /// <summary>Get the zoom level of the photo
2343 /// This returns the current zoom level of the zoomable object. Note that if you set the fill mode to other than #EFL_UI_ZOOM_MODE_MANUAL (which is the default), the zoom level may be changed at any time by the zoomable object itself to account for photo size and zoomable viewport size.</summary>
2344 /// <value>The zoom level to set</value>
2345 public double ZoomLevel {
2346 get { return GetZoomLevel(); }
2347 set { SetZoomLevel(value); }
2349 /// <summary>Get the zoom mode
2350 /// This gets the current zoom mode of the zoomable object.</summary>
2351 /// <value>The zoom mode.</value>
2352 public Efl.Ui.ZoomMode ZoomMode {
2353 get { return GetZoomMode(); }
2354 set { SetZoomMode(value); }
2356 private static IntPtr GetEflClassStatic()
2358 return Efl.Ui.ImageZoomable.efl_ui_image_zoomable_class_get();
2360 /// <summary>Wrapper for native methods and virtual method delegates.
2361 /// For internal use by generated code only.</summary>
2362 public new class NativeMethods : Efl.Ui.Image.NativeMethods
2364 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
2365 /// <summary>Gets the list of Eo operations to override.</summary>
2366 /// <returns>The list of Eo operations to be overload.</returns>
2367 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
2369 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
2370 var methods = Efl.Eo.Globals.GetUserMethods(type);
2372 if (efl_ui_image_zoomable_gesture_enabled_get_static_delegate == null)
2374 efl_ui_image_zoomable_gesture_enabled_get_static_delegate = new efl_ui_image_zoomable_gesture_enabled_get_delegate(gesture_enabled_get);
2377 if (methods.FirstOrDefault(m => m.Name == "GetGestureEnabled") != null)
2379 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_image_zoomable_gesture_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_image_zoomable_gesture_enabled_get_static_delegate) });
2382 if (efl_ui_image_zoomable_gesture_enabled_set_static_delegate == null)
2384 efl_ui_image_zoomable_gesture_enabled_set_static_delegate = new efl_ui_image_zoomable_gesture_enabled_set_delegate(gesture_enabled_set);
2387 if (methods.FirstOrDefault(m => m.Name == "SetGestureEnabled") != null)
2389 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_image_zoomable_gesture_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_image_zoomable_gesture_enabled_set_static_delegate) });
2392 if (efl_ui_image_zoomable_image_region_get_static_delegate == null)
2394 efl_ui_image_zoomable_image_region_get_static_delegate = new efl_ui_image_zoomable_image_region_get_delegate(image_region_get);
2397 if (methods.FirstOrDefault(m => m.Name == "GetImageRegion") != null)
2399 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_image_zoomable_image_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_image_zoomable_image_region_get_static_delegate) });
2402 if (efl_ui_image_zoomable_image_region_set_static_delegate == null)
2404 efl_ui_image_zoomable_image_region_set_static_delegate = new efl_ui_image_zoomable_image_region_set_delegate(image_region_set);
2407 if (methods.FirstOrDefault(m => m.Name == "SetImageRegion") != null)
2409 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_image_zoomable_image_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_image_zoomable_image_region_set_static_delegate) });
2412 if (efl_ui_scrollable_content_pos_get_static_delegate == null)
2414 efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get);
2417 if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
2419 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_get_static_delegate) });
2422 if (efl_ui_scrollable_content_pos_set_static_delegate == null)
2424 efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set);
2427 if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
2429 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_set_static_delegate) });
2432 if (efl_ui_scrollable_content_size_get_static_delegate == null)
2434 efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get);
2437 if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
2439 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_size_get_static_delegate) });
2442 if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null)
2444 efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get);
2447 if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null)
2449 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_viewport_geometry_get_static_delegate) });
2452 if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null)
2454 efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get);
2457 if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null)
2459 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_get_static_delegate) });
2462 if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null)
2464 efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set);
2467 if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null)
2469 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_set_static_delegate) });
2472 if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null)
2474 efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get);
2477 if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null)
2479 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_get_static_delegate) });
2482 if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null)
2484 efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set);
2487 if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null)
2489 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_set_static_delegate) });
2492 if (efl_ui_scrollable_scroll_hold_get_static_delegate == null)
2494 efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get);
2497 if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null)
2499 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_get_static_delegate) });
2502 if (efl_ui_scrollable_scroll_hold_set_static_delegate == null)
2504 efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set);
2507 if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null)
2509 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_set_static_delegate) });
2512 if (efl_ui_scrollable_looping_get_static_delegate == null)
2514 efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get);
2517 if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null)
2519 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_get_static_delegate) });
2522 if (efl_ui_scrollable_looping_set_static_delegate == null)
2524 efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set);
2527 if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null)
2529 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_set_static_delegate) });
2532 if (efl_ui_scrollable_movement_block_get_static_delegate == null)
2534 efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get);
2537 if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
2539 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_get_static_delegate) });
2542 if (efl_ui_scrollable_movement_block_set_static_delegate == null)
2544 efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set);
2547 if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
2549 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_set_static_delegate) });
2552 if (efl_ui_scrollable_gravity_get_static_delegate == null)
2554 efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get);
2557 if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
2559 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_get_static_delegate) });
2562 if (efl_ui_scrollable_gravity_set_static_delegate == null)
2564 efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set);
2567 if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
2569 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_set_static_delegate) });
2572 if (efl_ui_scrollable_match_content_set_static_delegate == null)
2574 efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set);
2577 if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null)
2579 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_match_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_match_content_set_static_delegate) });
2582 if (efl_ui_scrollable_step_size_get_static_delegate == null)
2584 efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get);
2587 if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
2589 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_get_static_delegate) });
2592 if (efl_ui_scrollable_step_size_set_static_delegate == null)
2594 efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set);
2597 if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
2599 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_set_static_delegate) });
2602 if (efl_ui_scrollable_scroll_static_delegate == null)
2604 efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll);
2607 if (methods.FirstOrDefault(m => m.Name == "Scroll") != null)
2609 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_static_delegate) });
2612 if (efl_ui_scrollbar_bar_mode_get_static_delegate == null)
2614 efl_ui_scrollbar_bar_mode_get_static_delegate = new efl_ui_scrollbar_bar_mode_get_delegate(bar_mode_get);
2617 if (methods.FirstOrDefault(m => m.Name == "GetBarMode") != null)
2619 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_get_static_delegate) });
2622 if (efl_ui_scrollbar_bar_mode_set_static_delegate == null)
2624 efl_ui_scrollbar_bar_mode_set_static_delegate = new efl_ui_scrollbar_bar_mode_set_delegate(bar_mode_set);
2627 if (methods.FirstOrDefault(m => m.Name == "SetBarMode") != null)
2629 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_mode_set_static_delegate) });
2632 if (efl_ui_scrollbar_bar_size_get_static_delegate == null)
2634 efl_ui_scrollbar_bar_size_get_static_delegate = new efl_ui_scrollbar_bar_size_get_delegate(bar_size_get);
2637 if (methods.FirstOrDefault(m => m.Name == "GetBarSize") != null)
2639 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_size_get_static_delegate) });
2642 if (efl_ui_scrollbar_bar_position_get_static_delegate == null)
2644 efl_ui_scrollbar_bar_position_get_static_delegate = new efl_ui_scrollbar_bar_position_get_delegate(bar_position_get);
2647 if (methods.FirstOrDefault(m => m.Name == "GetBarPosition") != null)
2649 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_get_static_delegate) });
2652 if (efl_ui_scrollbar_bar_position_set_static_delegate == null)
2654 efl_ui_scrollbar_bar_position_set_static_delegate = new efl_ui_scrollbar_bar_position_set_delegate(bar_position_set);
2657 if (methods.FirstOrDefault(m => m.Name == "SetBarPosition") != null)
2659 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_position_set_static_delegate) });
2662 if (efl_ui_scrollbar_bar_visibility_update_static_delegate == null)
2664 efl_ui_scrollbar_bar_visibility_update_static_delegate = new efl_ui_scrollbar_bar_visibility_update_delegate(bar_visibility_update);
2667 if (methods.FirstOrDefault(m => m.Name == "UpdateBarVisibility") != null)
2669 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollbar_bar_visibility_update"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollbar_bar_visibility_update_static_delegate) });
2672 if (efl_ui_zoom_animation_get_static_delegate == null)
2674 efl_ui_zoom_animation_get_static_delegate = new efl_ui_zoom_animation_get_delegate(zoom_animation_get);
2677 if (methods.FirstOrDefault(m => m.Name == "GetZoomAnimation") != null)
2679 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_zoom_animation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_zoom_animation_get_static_delegate) });
2682 if (efl_ui_zoom_animation_set_static_delegate == null)
2684 efl_ui_zoom_animation_set_static_delegate = new efl_ui_zoom_animation_set_delegate(zoom_animation_set);
2687 if (methods.FirstOrDefault(m => m.Name == "SetZoomAnimation") != null)
2689 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_zoom_animation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_zoom_animation_set_static_delegate) });
2692 if (efl_ui_zoom_level_get_static_delegate == null)
2694 efl_ui_zoom_level_get_static_delegate = new efl_ui_zoom_level_get_delegate(zoom_level_get);
2697 if (methods.FirstOrDefault(m => m.Name == "GetZoomLevel") != null)
2699 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_zoom_level_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_zoom_level_get_static_delegate) });
2702 if (efl_ui_zoom_level_set_static_delegate == null)
2704 efl_ui_zoom_level_set_static_delegate = new efl_ui_zoom_level_set_delegate(zoom_level_set);
2707 if (methods.FirstOrDefault(m => m.Name == "SetZoomLevel") != null)
2709 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_zoom_level_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_zoom_level_set_static_delegate) });
2712 if (efl_ui_zoom_mode_get_static_delegate == null)
2714 efl_ui_zoom_mode_get_static_delegate = new efl_ui_zoom_mode_get_delegate(zoom_mode_get);
2717 if (methods.FirstOrDefault(m => m.Name == "GetZoomMode") != null)
2719 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_zoom_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_zoom_mode_get_static_delegate) });
2722 if (efl_ui_zoom_mode_set_static_delegate == null)
2724 efl_ui_zoom_mode_set_static_delegate = new efl_ui_zoom_mode_set_delegate(zoom_mode_set);
2727 if (methods.FirstOrDefault(m => m.Name == "SetZoomMode") != null)
2729 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_zoom_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_zoom_mode_set_static_delegate) });
2732 descs.AddRange(base.GetEoOps(type));
2735 /// <summary>Returns the Eo class for the native methods of this class.</summary>
2736 /// <returns>The native class pointer.</returns>
2737 public override IntPtr GetEflClass()
2739 return Efl.Ui.ImageZoomable.efl_ui_image_zoomable_class_get();
2742 #pragma warning disable CA1707, CS1591, SA1300, SA1600
2744 [return: MarshalAs(UnmanagedType.U1)]
2745 private delegate bool efl_ui_image_zoomable_gesture_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
2747 [return: MarshalAs(UnmanagedType.U1)]
2748 public delegate bool efl_ui_image_zoomable_gesture_enabled_get_api_delegate(System.IntPtr obj);
2750 public static Efl.Eo.FunctionWrapper<efl_ui_image_zoomable_gesture_enabled_get_api_delegate> efl_ui_image_zoomable_gesture_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_image_zoomable_gesture_enabled_get_api_delegate>(Module, "efl_ui_image_zoomable_gesture_enabled_get");
2752 private static bool gesture_enabled_get(System.IntPtr obj, System.IntPtr pd)
2754 Eina.Log.Debug("function efl_ui_image_zoomable_gesture_enabled_get was called");
2755 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2758 bool _ret_var = default(bool);
2761 _ret_var = ((ImageZoomable)ws.Target).GetGestureEnabled();
2765 Eina.Log.Warning($"Callback error: {e.ToString()}");
2766 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2774 return efl_ui_image_zoomable_gesture_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2778 private static efl_ui_image_zoomable_gesture_enabled_get_delegate efl_ui_image_zoomable_gesture_enabled_get_static_delegate;
2781 private delegate void efl_ui_image_zoomable_gesture_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool gesture);
2784 public delegate void efl_ui_image_zoomable_gesture_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool gesture);
2786 public static Efl.Eo.FunctionWrapper<efl_ui_image_zoomable_gesture_enabled_set_api_delegate> efl_ui_image_zoomable_gesture_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_image_zoomable_gesture_enabled_set_api_delegate>(Module, "efl_ui_image_zoomable_gesture_enabled_set");
2788 private static void gesture_enabled_set(System.IntPtr obj, System.IntPtr pd, bool gesture)
2790 Eina.Log.Debug("function efl_ui_image_zoomable_gesture_enabled_set was called");
2791 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2797 ((ImageZoomable)ws.Target).SetGestureEnabled(gesture);
2801 Eina.Log.Warning($"Callback error: {e.ToString()}");
2802 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2809 efl_ui_image_zoomable_gesture_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), gesture);
2813 private static efl_ui_image_zoomable_gesture_enabled_set_delegate efl_ui_image_zoomable_gesture_enabled_set_static_delegate;
2816 private delegate Eina.Rect.NativeStruct efl_ui_image_zoomable_image_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
2819 public delegate Eina.Rect.NativeStruct efl_ui_image_zoomable_image_region_get_api_delegate(System.IntPtr obj);
2821 public static Efl.Eo.FunctionWrapper<efl_ui_image_zoomable_image_region_get_api_delegate> efl_ui_image_zoomable_image_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_image_zoomable_image_region_get_api_delegate>(Module, "efl_ui_image_zoomable_image_region_get");
2823 private static Eina.Rect.NativeStruct image_region_get(System.IntPtr obj, System.IntPtr pd)
2825 Eina.Log.Debug("function efl_ui_image_zoomable_image_region_get was called");
2826 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2829 Eina.Rect _ret_var = default(Eina.Rect);
2832 _ret_var = ((ImageZoomable)ws.Target).GetImageRegion();
2836 Eina.Log.Warning($"Callback error: {e.ToString()}");
2837 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2845 return efl_ui_image_zoomable_image_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2849 private static efl_ui_image_zoomable_image_region_get_delegate efl_ui_image_zoomable_image_region_get_static_delegate;
2852 private delegate void efl_ui_image_zoomable_image_region_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct region);
2855 public delegate void efl_ui_image_zoomable_image_region_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct region);
2857 public static Efl.Eo.FunctionWrapper<efl_ui_image_zoomable_image_region_set_api_delegate> efl_ui_image_zoomable_image_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_image_zoomable_image_region_set_api_delegate>(Module, "efl_ui_image_zoomable_image_region_set");
2859 private static void image_region_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct region)
2861 Eina.Log.Debug("function efl_ui_image_zoomable_image_region_set was called");
2862 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2865 Eina.Rect _in_region = region;
2869 ((ImageZoomable)ws.Target).SetImageRegion(_in_region);
2873 Eina.Log.Warning($"Callback error: {e.ToString()}");
2874 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2881 efl_ui_image_zoomable_image_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), region);
2885 private static efl_ui_image_zoomable_image_region_set_delegate efl_ui_image_zoomable_image_region_set_static_delegate;
2888 private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
2891 public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj);
2893 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate> efl_ui_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate>(Module, "efl_ui_scrollable_content_pos_get");
2895 private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd)
2897 Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called");
2898 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2901 Eina.Position2D _ret_var = default(Eina.Position2D);
2904 _ret_var = ((ImageZoomable)ws.Target).GetContentPos();
2908 Eina.Log.Warning($"Callback error: {e.ToString()}");
2909 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2917 return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2921 private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate;
2924 private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
2927 public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
2929 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate> efl_ui_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate>(Module, "efl_ui_scrollable_content_pos_set");
2931 private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
2933 Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called");
2934 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2937 Eina.Position2D _in_pos = pos;
2941 ((ImageZoomable)ws.Target).SetContentPos(_in_pos);
2945 Eina.Log.Warning($"Callback error: {e.ToString()}");
2946 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2953 efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
2957 private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate;
2960 private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
2963 public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj);
2965 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate> efl_ui_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate>(Module, "efl_ui_scrollable_content_size_get");
2967 private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
2969 Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called");
2970 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2973 Eina.Size2D _ret_var = default(Eina.Size2D);
2976 _ret_var = ((ImageZoomable)ws.Target).GetContentSize();
2980 Eina.Log.Warning($"Callback error: {e.ToString()}");
2981 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2989 return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2993 private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate;
2996 private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
2999 public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj);
3001 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate> efl_ui_scrollable_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate>(Module, "efl_ui_scrollable_viewport_geometry_get");
3003 private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd)
3005 Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called");
3006 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3009 Eina.Rect _ret_var = default(Eina.Rect);
3012 _ret_var = ((ImageZoomable)ws.Target).GetViewportGeometry();
3016 Eina.Log.Warning($"Callback error: {e.ToString()}");
3017 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3025 return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3029 private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate;
3032 private delegate void efl_ui_scrollable_bounce_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
3035 public delegate void efl_ui_scrollable_bounce_enabled_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
3037 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate> efl_ui_scrollable_bounce_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_get");
3039 private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
3041 Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called");
3042 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3045 horiz = default(bool); vert = default(bool);
3048 ((ImageZoomable)ws.Target).GetBounceEnabled(out horiz, out vert);
3052 Eina.Log.Warning($"Callback error: {e.ToString()}");
3053 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3060 efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
3064 private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate;
3067 private delegate void efl_ui_scrollable_bounce_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
3070 public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
3072 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate> efl_ui_scrollable_bounce_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_set");
3074 private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
3076 Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called");
3077 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3083 ((ImageZoomable)ws.Target).SetBounceEnabled(horiz, vert);
3087 Eina.Log.Warning($"Callback error: {e.ToString()}");
3088 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3095 efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
3099 private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate;
3101 [return: MarshalAs(UnmanagedType.U1)]
3102 private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd);
3104 [return: MarshalAs(UnmanagedType.U1)]
3105 public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj);
3107 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate> efl_ui_scrollable_scroll_freeze_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_get");
3109 private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd)
3111 Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called");
3112 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3115 bool _ret_var = default(bool);
3118 _ret_var = ((ImageZoomable)ws.Target).GetScrollFreeze();
3122 Eina.Log.Warning($"Callback error: {e.ToString()}");
3123 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3131 return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3135 private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate;
3138 private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
3141 public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
3143 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate> efl_ui_scrollable_scroll_freeze_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_set");
3145 private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
3147 Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called");
3148 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3154 ((ImageZoomable)ws.Target).SetScrollFreeze(freeze);
3158 Eina.Log.Warning($"Callback error: {e.ToString()}");
3159 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3166 efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
3170 private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate;
3172 [return: MarshalAs(UnmanagedType.U1)]
3173 private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd);
3175 [return: MarshalAs(UnmanagedType.U1)]
3176 public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj);
3178 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate> efl_ui_scrollable_scroll_hold_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_get");
3180 private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd)
3182 Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called");
3183 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3186 bool _ret_var = default(bool);
3189 _ret_var = ((ImageZoomable)ws.Target).GetScrollHold();
3193 Eina.Log.Warning($"Callback error: {e.ToString()}");
3194 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3202 return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3206 private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate;
3209 private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
3212 public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
3214 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate> efl_ui_scrollable_scroll_hold_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_set");
3216 private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
3218 Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called");
3219 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3225 ((ImageZoomable)ws.Target).SetScrollHold(hold);
3229 Eina.Log.Warning($"Callback error: {e.ToString()}");
3230 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3237 efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
3241 private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate;
3244 private delegate void efl_ui_scrollable_looping_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
3247 public delegate void efl_ui_scrollable_looping_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
3249 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate> efl_ui_scrollable_looping_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate>(Module, "efl_ui_scrollable_looping_get");
3251 private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
3253 Eina.Log.Debug("function efl_ui_scrollable_looping_get was called");
3254 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3257 loop_h = default(bool); loop_v = default(bool);
3260 ((ImageZoomable)ws.Target).GetLooping(out loop_h, out loop_v);
3264 Eina.Log.Warning($"Callback error: {e.ToString()}");
3265 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3272 efl_ui_scrollable_looping_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v);
3276 private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate;
3279 private delegate void efl_ui_scrollable_looping_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
3282 public delegate void efl_ui_scrollable_looping_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
3284 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate> efl_ui_scrollable_looping_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate>(Module, "efl_ui_scrollable_looping_set");
3286 private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
3288 Eina.Log.Debug("function efl_ui_scrollable_looping_set was called");
3289 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3295 ((ImageZoomable)ws.Target).SetLooping(loop_h, loop_v);
3299 Eina.Log.Warning($"Callback error: {e.ToString()}");
3300 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3307 efl_ui_scrollable_looping_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v);
3311 private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate;
3314 private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
3317 public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
3319 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate> efl_ui_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate>(Module, "efl_ui_scrollable_movement_block_get");
3321 private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
3323 Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called");
3324 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3327 Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
3330 _ret_var = ((ImageZoomable)ws.Target).GetMovementBlock();
3334 Eina.Log.Warning($"Callback error: {e.ToString()}");
3335 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3343 return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3347 private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate;
3350 private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
3353 public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
3355 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate> efl_ui_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate>(Module, "efl_ui_scrollable_movement_block_set");
3357 private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
3359 Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called");
3360 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3366 ((ImageZoomable)ws.Target).SetMovementBlock(block);
3370 Eina.Log.Warning($"Callback error: {e.ToString()}");
3371 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3378 efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
3382 private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate;
3385 private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
3388 public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
3390 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate> efl_ui_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate>(Module, "efl_ui_scrollable_gravity_get");
3392 private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
3394 Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called");
3395 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3398 x = default(double); y = default(double);
3401 ((ImageZoomable)ws.Target).GetGravity(out x, out y);
3405 Eina.Log.Warning($"Callback error: {e.ToString()}");
3406 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3413 efl_ui_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
3417 private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate;
3420 private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
3423 public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
3425 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate> efl_ui_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate>(Module, "efl_ui_scrollable_gravity_set");
3427 private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
3429 Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called");
3430 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3436 ((ImageZoomable)ws.Target).SetGravity(x, y);
3440 Eina.Log.Warning($"Callback error: {e.ToString()}");
3441 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3448 efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
3452 private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate;
3455 private delegate void efl_ui_scrollable_match_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
3458 public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
3460 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate> efl_ui_scrollable_match_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate>(Module, "efl_ui_scrollable_match_content_set");
3462 private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
3464 Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called");
3465 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3471 ((ImageZoomable)ws.Target).SetMatchContent(w, h);
3475 Eina.Log.Warning($"Callback error: {e.ToString()}");
3476 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3483 efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
3487 private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate;
3490 private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
3493 public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj);
3495 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate> efl_ui_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate>(Module, "efl_ui_scrollable_step_size_get");
3497 private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd)
3499 Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called");
3500 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3503 Eina.Position2D _ret_var = default(Eina.Position2D);
3506 _ret_var = ((ImageZoomable)ws.Target).GetStepSize();
3510 Eina.Log.Warning($"Callback error: {e.ToString()}");
3511 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3519 return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3523 private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate;
3526 private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step);
3529 public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step);
3531 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate> efl_ui_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate>(Module, "efl_ui_scrollable_step_size_set");
3533 private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step)
3535 Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called");
3536 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3539 Eina.Position2D _in_step = step;
3543 ((ImageZoomable)ws.Target).SetStepSize(_in_step);
3547 Eina.Log.Warning($"Callback error: {e.ToString()}");
3548 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3555 efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
3559 private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate;
3562 private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
3565 public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
3567 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate> efl_ui_scrollable_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate>(Module, "efl_ui_scrollable_scroll");
3569 private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation)
3571 Eina.Log.Debug("function efl_ui_scrollable_scroll was called");
3572 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3575 Eina.Rect _in_rect = rect;
3579 ((ImageZoomable)ws.Target).Scroll(_in_rect, animation);
3583 Eina.Log.Warning($"Callback error: {e.ToString()}");
3584 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3591 efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation);
3595 private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate;
3598 private delegate void efl_ui_scrollbar_bar_mode_get_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
3601 public delegate void efl_ui_scrollbar_bar_mode_get_api_delegate(System.IntPtr obj, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
3603 public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_get_api_delegate> efl_ui_scrollbar_bar_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_get_api_delegate>(Module, "efl_ui_scrollbar_bar_mode_get");
3605 private static void bar_mode_get(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar)
3607 Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_get was called");
3608 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3611 hbar = default(Efl.Ui.ScrollbarMode); vbar = default(Efl.Ui.ScrollbarMode);
3614 ((ImageZoomable)ws.Target).GetBarMode(out hbar, out vbar);
3618 Eina.Log.Warning($"Callback error: {e.ToString()}");
3619 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3626 efl_ui_scrollbar_bar_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out hbar, out vbar);
3630 private static efl_ui_scrollbar_bar_mode_get_delegate efl_ui_scrollbar_bar_mode_get_static_delegate;
3633 private delegate void efl_ui_scrollbar_bar_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
3636 public delegate void efl_ui_scrollbar_bar_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
3638 public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_set_api_delegate> efl_ui_scrollbar_bar_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_mode_set_api_delegate>(Module, "efl_ui_scrollbar_bar_mode_set");
3640 private static void bar_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar)
3642 Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_set was called");
3643 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3649 ((ImageZoomable)ws.Target).SetBarMode(hbar, vbar);
3653 Eina.Log.Warning($"Callback error: {e.ToString()}");
3654 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3661 efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar);
3665 private static efl_ui_scrollbar_bar_mode_set_delegate efl_ui_scrollbar_bar_mode_set_static_delegate;
3668 private delegate void efl_ui_scrollbar_bar_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out double width, out double height);
3671 public delegate void efl_ui_scrollbar_bar_size_get_api_delegate(System.IntPtr obj, out double width, out double height);
3673 public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_size_get_api_delegate> efl_ui_scrollbar_bar_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_size_get_api_delegate>(Module, "efl_ui_scrollbar_bar_size_get");
3675 private static void bar_size_get(System.IntPtr obj, System.IntPtr pd, out double width, out double height)
3677 Eina.Log.Debug("function efl_ui_scrollbar_bar_size_get was called");
3678 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3681 width = default(double); height = default(double);
3684 ((ImageZoomable)ws.Target).GetBarSize(out width, out height);
3688 Eina.Log.Warning($"Callback error: {e.ToString()}");
3689 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3696 efl_ui_scrollbar_bar_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out width, out height);
3700 private static efl_ui_scrollbar_bar_size_get_delegate efl_ui_scrollbar_bar_size_get_static_delegate;
3703 private delegate void efl_ui_scrollbar_bar_position_get_delegate(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy);
3706 public delegate void efl_ui_scrollbar_bar_position_get_api_delegate(System.IntPtr obj, out double posx, out double posy);
3708 public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_get_api_delegate> efl_ui_scrollbar_bar_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_get_api_delegate>(Module, "efl_ui_scrollbar_bar_position_get");
3710 private static void bar_position_get(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy)
3712 Eina.Log.Debug("function efl_ui_scrollbar_bar_position_get was called");
3713 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3716 posx = default(double); posy = default(double);
3719 ((ImageZoomable)ws.Target).GetBarPosition(out posx, out posy);
3723 Eina.Log.Warning($"Callback error: {e.ToString()}");
3724 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3731 efl_ui_scrollbar_bar_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out posx, out posy);
3735 private static efl_ui_scrollbar_bar_position_get_delegate efl_ui_scrollbar_bar_position_get_static_delegate;
3738 private delegate void efl_ui_scrollbar_bar_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double posx, double posy);
3741 public delegate void efl_ui_scrollbar_bar_position_set_api_delegate(System.IntPtr obj, double posx, double posy);
3743 public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_set_api_delegate> efl_ui_scrollbar_bar_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_position_set_api_delegate>(Module, "efl_ui_scrollbar_bar_position_set");
3745 private static void bar_position_set(System.IntPtr obj, System.IntPtr pd, double posx, double posy)
3747 Eina.Log.Debug("function efl_ui_scrollbar_bar_position_set was called");
3748 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3754 ((ImageZoomable)ws.Target).SetBarPosition(posx, posy);
3758 Eina.Log.Warning($"Callback error: {e.ToString()}");
3759 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3766 efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), posx, posy);
3770 private static efl_ui_scrollbar_bar_position_set_delegate efl_ui_scrollbar_bar_position_set_static_delegate;
3773 private delegate void efl_ui_scrollbar_bar_visibility_update_delegate(System.IntPtr obj, System.IntPtr pd);
3776 public delegate void efl_ui_scrollbar_bar_visibility_update_api_delegate(System.IntPtr obj);
3778 public static Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_visibility_update_api_delegate> efl_ui_scrollbar_bar_visibility_update_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollbar_bar_visibility_update_api_delegate>(Module, "efl_ui_scrollbar_bar_visibility_update");
3780 private static void bar_visibility_update(System.IntPtr obj, System.IntPtr pd)
3782 Eina.Log.Debug("function efl_ui_scrollbar_bar_visibility_update was called");
3783 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3789 ((ImageZoomable)ws.Target).UpdateBarVisibility();
3793 Eina.Log.Warning($"Callback error: {e.ToString()}");
3794 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3801 efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3805 private static efl_ui_scrollbar_bar_visibility_update_delegate efl_ui_scrollbar_bar_visibility_update_static_delegate;
3807 [return: MarshalAs(UnmanagedType.U1)]
3808 private delegate bool efl_ui_zoom_animation_get_delegate(System.IntPtr obj, System.IntPtr pd);
3810 [return: MarshalAs(UnmanagedType.U1)]
3811 public delegate bool efl_ui_zoom_animation_get_api_delegate(System.IntPtr obj);
3813 public static Efl.Eo.FunctionWrapper<efl_ui_zoom_animation_get_api_delegate> efl_ui_zoom_animation_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_zoom_animation_get_api_delegate>(Module, "efl_ui_zoom_animation_get");
3815 private static bool zoom_animation_get(System.IntPtr obj, System.IntPtr pd)
3817 Eina.Log.Debug("function efl_ui_zoom_animation_get was called");
3818 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3821 bool _ret_var = default(bool);
3824 _ret_var = ((ImageZoomable)ws.Target).GetZoomAnimation();
3828 Eina.Log.Warning($"Callback error: {e.ToString()}");
3829 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3837 return efl_ui_zoom_animation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3841 private static efl_ui_zoom_animation_get_delegate efl_ui_zoom_animation_get_static_delegate;
3844 private delegate void efl_ui_zoom_animation_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool paused);
3847 public delegate void efl_ui_zoom_animation_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool paused);
3849 public static Efl.Eo.FunctionWrapper<efl_ui_zoom_animation_set_api_delegate> efl_ui_zoom_animation_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_zoom_animation_set_api_delegate>(Module, "efl_ui_zoom_animation_set");
3851 private static void zoom_animation_set(System.IntPtr obj, System.IntPtr pd, bool paused)
3853 Eina.Log.Debug("function efl_ui_zoom_animation_set was called");
3854 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3860 ((ImageZoomable)ws.Target).SetZoomAnimation(paused);
3864 Eina.Log.Warning($"Callback error: {e.ToString()}");
3865 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3872 efl_ui_zoom_animation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), paused);
3876 private static efl_ui_zoom_animation_set_delegate efl_ui_zoom_animation_set_static_delegate;
3879 private delegate double efl_ui_zoom_level_get_delegate(System.IntPtr obj, System.IntPtr pd);
3882 public delegate double efl_ui_zoom_level_get_api_delegate(System.IntPtr obj);
3884 public static Efl.Eo.FunctionWrapper<efl_ui_zoom_level_get_api_delegate> efl_ui_zoom_level_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_zoom_level_get_api_delegate>(Module, "efl_ui_zoom_level_get");
3886 private static double zoom_level_get(System.IntPtr obj, System.IntPtr pd)
3888 Eina.Log.Debug("function efl_ui_zoom_level_get was called");
3889 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3892 double _ret_var = default(double);
3895 _ret_var = ((ImageZoomable)ws.Target).GetZoomLevel();
3899 Eina.Log.Warning($"Callback error: {e.ToString()}");
3900 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3908 return efl_ui_zoom_level_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3912 private static efl_ui_zoom_level_get_delegate efl_ui_zoom_level_get_static_delegate;
3915 private delegate void efl_ui_zoom_level_set_delegate(System.IntPtr obj, System.IntPtr pd, double zoom);
3918 public delegate void efl_ui_zoom_level_set_api_delegate(System.IntPtr obj, double zoom);
3920 public static Efl.Eo.FunctionWrapper<efl_ui_zoom_level_set_api_delegate> efl_ui_zoom_level_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_zoom_level_set_api_delegate>(Module, "efl_ui_zoom_level_set");
3922 private static void zoom_level_set(System.IntPtr obj, System.IntPtr pd, double zoom)
3924 Eina.Log.Debug("function efl_ui_zoom_level_set was called");
3925 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3931 ((ImageZoomable)ws.Target).SetZoomLevel(zoom);
3935 Eina.Log.Warning($"Callback error: {e.ToString()}");
3936 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3943 efl_ui_zoom_level_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), zoom);
3947 private static efl_ui_zoom_level_set_delegate efl_ui_zoom_level_set_static_delegate;
3950 private delegate Efl.Ui.ZoomMode efl_ui_zoom_mode_get_delegate(System.IntPtr obj, System.IntPtr pd);
3953 public delegate Efl.Ui.ZoomMode efl_ui_zoom_mode_get_api_delegate(System.IntPtr obj);
3955 public static Efl.Eo.FunctionWrapper<efl_ui_zoom_mode_get_api_delegate> efl_ui_zoom_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_zoom_mode_get_api_delegate>(Module, "efl_ui_zoom_mode_get");
3957 private static Efl.Ui.ZoomMode zoom_mode_get(System.IntPtr obj, System.IntPtr pd)
3959 Eina.Log.Debug("function efl_ui_zoom_mode_get was called");
3960 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3963 Efl.Ui.ZoomMode _ret_var = default(Efl.Ui.ZoomMode);
3966 _ret_var = ((ImageZoomable)ws.Target).GetZoomMode();
3970 Eina.Log.Warning($"Callback error: {e.ToString()}");
3971 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3979 return efl_ui_zoom_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3983 private static efl_ui_zoom_mode_get_delegate efl_ui_zoom_mode_get_static_delegate;
3986 private delegate void efl_ui_zoom_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ZoomMode mode);
3989 public delegate void efl_ui_zoom_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.ZoomMode mode);
3991 public static Efl.Eo.FunctionWrapper<efl_ui_zoom_mode_set_api_delegate> efl_ui_zoom_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_zoom_mode_set_api_delegate>(Module, "efl_ui_zoom_mode_set");
3993 private static void zoom_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ZoomMode mode)
3995 Eina.Log.Debug("function efl_ui_zoom_mode_set was called");
3996 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
4002 ((ImageZoomable)ws.Target).SetZoomMode(mode);
4006 Eina.Log.Warning($"Callback error: {e.ToString()}");
4007 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
4014 efl_ui_zoom_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode);
4018 private static efl_ui_zoom_mode_set_delegate efl_ui_zoom_mode_set_static_delegate;
4020 #pragma warning restore CA1707, CS1591, SA1300, SA1600
4029 #pragma warning disable CS1591
4030 public static class Efl_UiImageZoomable_ExtensionMethods {
4031 public static Efl.BindableProperty<bool> GestureEnabled<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4032 return new Efl.BindableProperty<bool>("gesture_enabled", fac);
4035 public static Efl.BindableProperty<Eina.Rect> ImageRegion<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4036 return new Efl.BindableProperty<Eina.Rect>("image_region", fac);
4039 public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4040 return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
4046 public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4047 return new Efl.BindableProperty<bool>("scroll_freeze", fac);
4050 public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4051 return new Efl.BindableProperty<bool>("scroll_hold", fac);
4055 public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4056 return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
4061 public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4062 return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
4068 public static Efl.BindableProperty<bool> ZoomAnimation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4069 return new Efl.BindableProperty<bool>("zoom_animation", fac);
4072 public static Efl.BindableProperty<double> ZoomLevel<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4073 return new Efl.BindableProperty<double>("zoom_level", fac);
4076 public static Efl.BindableProperty<Efl.Ui.ZoomMode> ZoomMode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.ImageZoomable, T>magic = null) where T : Efl.Ui.ImageZoomable {
4077 return new Efl.BindableProperty<Efl.Ui.ZoomMode>("zoom_mode", fac);
4081 #pragma warning restore CS1591
4085 namespace Photocam {
4087 /// <summary>Photocam error information.</summary>
4088 [StructLayout(LayoutKind.Sequential)]
4089 [Efl.Eo.BindingEntity]
4092 /// <summary>Placeholder field</summary>
4093 public IntPtr field;
4094 /// <summary>Implicit conversion to the managed representation from a native pointer.</summary>
4095 /// <param name="ptr">Native pointer to be converted.</param>
4096 public static implicit operator Error(IntPtr ptr)
4098 var tmp = (Error.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Error.NativeStruct));
4102 #pragma warning disable CS1591
4104 /// <summary>Internal wrapper for struct Error.</summary>
4105 [StructLayout(LayoutKind.Sequential)]
4106 public struct NativeStruct
4108 internal IntPtr field;
4109 /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
4110 public static implicit operator Error.NativeStruct(Error _external_struct)
4112 var _internal_struct = new Error.NativeStruct();
4113 return _internal_struct;
4116 /// <summary>Implicit conversion to the managed representation.</summary>
4117 public static implicit operator Error(Error.NativeStruct _internal_struct)
4119 var _external_struct = new Error();
4120 return _external_struct;
4125 #pragma warning restore CS1591
4135 namespace Photocam {
4137 /// <summary>Photocam progress information.</summary>
4138 [StructLayout(LayoutKind.Sequential)]
4139 [Efl.Eo.BindingEntity]
4140 public struct Progress
4142 /// <summary>Placeholder field</summary>
4143 public IntPtr field;
4144 /// <summary>Implicit conversion to the managed representation from a native pointer.</summary>
4145 /// <param name="ptr">Native pointer to be converted.</param>
4146 public static implicit operator Progress(IntPtr ptr)
4148 var tmp = (Progress.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Progress.NativeStruct));
4152 #pragma warning disable CS1591
4154 /// <summary>Internal wrapper for struct Progress.</summary>
4155 [StructLayout(LayoutKind.Sequential)]
4156 public struct NativeStruct
4158 internal IntPtr field;
4159 /// <summary>Implicit conversion to the internal/marshalling representation.</summary>
4160 public static implicit operator Progress.NativeStruct(Progress _external_struct)
4162 var _internal_struct = new Progress.NativeStruct();
4163 return _internal_struct;
4166 /// <summary>Implicit conversion to the managed representation.</summary>
4167 public static implicit operator Progress(Progress.NativeStruct _internal_struct)
4169 var _external_struct = new Progress();
4170 return _external_struct;
4175 #pragma warning restore CS1591