2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
15 /// <summary>Efl ui scroll manager class</summary>
16 /// <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>
17 [Efl.Ui.Scroll.Manager.NativeMethods]
18 [Efl.Eo.BindingEntity]
19 public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScrollableInteractive, Efl.Ui.IScrollbar
21 /// <summary>Pointer to the native class description.</summary>
22 public override System.IntPtr NativeClass
26 if (((object)this).GetType() == typeof(Manager))
28 return GetEflClassStatic();
32 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
37 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
38 efl_ui_scroll_manager_class_get();
39 /// <summary>Initializes a new instance of the <see cref="Manager"/> class.</summary>
40 /// <param name="parent">Parent instance.</param>
41 public Manager(Efl.Object parent= null
42 ) : base(efl_ui_scroll_manager_class_get(), parent)
44 FinishInstantiation();
47 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
48 /// Do not call this constructor directly.</summary>
49 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
50 protected Manager(ConstructingHandle ch) : base(ch)
54 /// <summary>Initializes a new instance of the <see cref="Manager"/> class.
55 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
56 /// <param name="wh">The native pointer to be wrapped.</param>
57 protected Manager(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
61 /// <summary>Initializes a new instance of the <see cref="Manager"/> class.
62 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
63 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
64 /// <param name="parent">The Efl.Object parent of this instance.</param>
65 protected Manager(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
69 /// <summary>Called when scroll operation starts</summary>
70 public event EventHandler ScrollStartEvt
74 lock (eflBindingEventLock)
76 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
78 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
81 EventArgs args = EventArgs.Empty;
84 value?.Invoke(obj, args);
88 Eina.Log.Error(e.ToString());
89 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
94 string key = "_EFL_UI_EVENT_SCROLL_START";
95 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
101 lock (eflBindingEventLock)
103 string key = "_EFL_UI_EVENT_SCROLL_START";
104 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
108 /// <summary>Method to raise event ScrollStartEvt.</summary>
109 public void OnScrollStartEvt(EventArgs e)
111 var key = "_EFL_UI_EVENT_SCROLL_START";
112 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
113 if (desc == IntPtr.Zero)
115 Eina.Log.Error($"Failed to get native event {key}");
119 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
121 /// <summary>Called when scrolling</summary>
122 public event EventHandler ScrollEvt
126 lock (eflBindingEventLock)
128 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
130 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
133 EventArgs args = EventArgs.Empty;
136 value?.Invoke(obj, args);
140 Eina.Log.Error(e.ToString());
141 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
146 string key = "_EFL_UI_EVENT_SCROLL";
147 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
153 lock (eflBindingEventLock)
155 string key = "_EFL_UI_EVENT_SCROLL";
156 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
160 /// <summary>Method to raise event ScrollEvt.</summary>
161 public void OnScrollEvt(EventArgs e)
163 var key = "_EFL_UI_EVENT_SCROLL";
164 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
165 if (desc == IntPtr.Zero)
167 Eina.Log.Error($"Failed to get native event {key}");
171 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
173 /// <summary>Called when scroll operation stops</summary>
174 public event EventHandler ScrollStopEvt
178 lock (eflBindingEventLock)
180 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
182 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
185 EventArgs args = EventArgs.Empty;
188 value?.Invoke(obj, args);
192 Eina.Log.Error(e.ToString());
193 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
198 string key = "_EFL_UI_EVENT_SCROLL_STOP";
199 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
205 lock (eflBindingEventLock)
207 string key = "_EFL_UI_EVENT_SCROLL_STOP";
208 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
212 /// <summary>Method to raise event ScrollStopEvt.</summary>
213 public void OnScrollStopEvt(EventArgs e)
215 var key = "_EFL_UI_EVENT_SCROLL_STOP";
216 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
217 if (desc == IntPtr.Zero)
219 Eina.Log.Error($"Failed to get native event {key}");
223 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
225 /// <summary>Called when scrolling upwards</summary>
226 public event EventHandler ScrollUpEvt
230 lock (eflBindingEventLock)
232 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
234 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
237 EventArgs args = EventArgs.Empty;
240 value?.Invoke(obj, args);
244 Eina.Log.Error(e.ToString());
245 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
250 string key = "_EFL_UI_EVENT_SCROLL_UP";
251 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
257 lock (eflBindingEventLock)
259 string key = "_EFL_UI_EVENT_SCROLL_UP";
260 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
264 /// <summary>Method to raise event ScrollUpEvt.</summary>
265 public void OnScrollUpEvt(EventArgs e)
267 var key = "_EFL_UI_EVENT_SCROLL_UP";
268 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
269 if (desc == IntPtr.Zero)
271 Eina.Log.Error($"Failed to get native event {key}");
275 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
277 /// <summary>Called when scrolling downwards</summary>
278 public event EventHandler ScrollDownEvt
282 lock (eflBindingEventLock)
284 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
286 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
289 EventArgs args = EventArgs.Empty;
292 value?.Invoke(obj, args);
296 Eina.Log.Error(e.ToString());
297 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
302 string key = "_EFL_UI_EVENT_SCROLL_DOWN";
303 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
309 lock (eflBindingEventLock)
311 string key = "_EFL_UI_EVENT_SCROLL_DOWN";
312 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
316 /// <summary>Method to raise event ScrollDownEvt.</summary>
317 public void OnScrollDownEvt(EventArgs e)
319 var key = "_EFL_UI_EVENT_SCROLL_DOWN";
320 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
321 if (desc == IntPtr.Zero)
323 Eina.Log.Error($"Failed to get native event {key}");
327 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
329 /// <summary>Called when scrolling left</summary>
330 public event EventHandler ScrollLeftEvt
334 lock (eflBindingEventLock)
336 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
338 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
341 EventArgs args = EventArgs.Empty;
344 value?.Invoke(obj, args);
348 Eina.Log.Error(e.ToString());
349 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
354 string key = "_EFL_UI_EVENT_SCROLL_LEFT";
355 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
361 lock (eflBindingEventLock)
363 string key = "_EFL_UI_EVENT_SCROLL_LEFT";
364 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
368 /// <summary>Method to raise event ScrollLeftEvt.</summary>
369 public void OnScrollLeftEvt(EventArgs e)
371 var key = "_EFL_UI_EVENT_SCROLL_LEFT";
372 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
373 if (desc == IntPtr.Zero)
375 Eina.Log.Error($"Failed to get native event {key}");
379 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
381 /// <summary>Called when scrolling right</summary>
382 public event EventHandler ScrollRightEvt
386 lock (eflBindingEventLock)
388 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
390 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
393 EventArgs args = EventArgs.Empty;
396 value?.Invoke(obj, args);
400 Eina.Log.Error(e.ToString());
401 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
406 string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
407 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
413 lock (eflBindingEventLock)
415 string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
416 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
420 /// <summary>Method to raise event ScrollRightEvt.</summary>
421 public void OnScrollRightEvt(EventArgs e)
423 var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
424 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
425 if (desc == IntPtr.Zero)
427 Eina.Log.Error($"Failed to get native event {key}");
431 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
433 /// <summary>Called when hitting the top edge</summary>
434 public event EventHandler EdgeUpEvt
438 lock (eflBindingEventLock)
440 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
442 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
445 EventArgs args = EventArgs.Empty;
448 value?.Invoke(obj, args);
452 Eina.Log.Error(e.ToString());
453 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
458 string key = "_EFL_UI_EVENT_EDGE_UP";
459 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
465 lock (eflBindingEventLock)
467 string key = "_EFL_UI_EVENT_EDGE_UP";
468 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
472 /// <summary>Method to raise event EdgeUpEvt.</summary>
473 public void OnEdgeUpEvt(EventArgs e)
475 var key = "_EFL_UI_EVENT_EDGE_UP";
476 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
477 if (desc == IntPtr.Zero)
479 Eina.Log.Error($"Failed to get native event {key}");
483 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
485 /// <summary>Called when hitting the bottom edge</summary>
486 public event EventHandler EdgeDownEvt
490 lock (eflBindingEventLock)
492 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
494 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
497 EventArgs args = EventArgs.Empty;
500 value?.Invoke(obj, args);
504 Eina.Log.Error(e.ToString());
505 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
510 string key = "_EFL_UI_EVENT_EDGE_DOWN";
511 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
517 lock (eflBindingEventLock)
519 string key = "_EFL_UI_EVENT_EDGE_DOWN";
520 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
524 /// <summary>Method to raise event EdgeDownEvt.</summary>
525 public void OnEdgeDownEvt(EventArgs e)
527 var key = "_EFL_UI_EVENT_EDGE_DOWN";
528 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
529 if (desc == IntPtr.Zero)
531 Eina.Log.Error($"Failed to get native event {key}");
535 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
537 /// <summary>Called when hitting the left edge</summary>
538 public event EventHandler EdgeLeftEvt
542 lock (eflBindingEventLock)
544 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
546 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
549 EventArgs args = EventArgs.Empty;
552 value?.Invoke(obj, args);
556 Eina.Log.Error(e.ToString());
557 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
562 string key = "_EFL_UI_EVENT_EDGE_LEFT";
563 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
569 lock (eflBindingEventLock)
571 string key = "_EFL_UI_EVENT_EDGE_LEFT";
572 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
576 /// <summary>Method to raise event EdgeLeftEvt.</summary>
577 public void OnEdgeLeftEvt(EventArgs e)
579 var key = "_EFL_UI_EVENT_EDGE_LEFT";
580 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
581 if (desc == IntPtr.Zero)
583 Eina.Log.Error($"Failed to get native event {key}");
587 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
589 /// <summary>Called when hitting the right edge</summary>
590 public event EventHandler EdgeRightEvt
594 lock (eflBindingEventLock)
596 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
598 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
601 EventArgs args = EventArgs.Empty;
604 value?.Invoke(obj, args);
608 Eina.Log.Error(e.ToString());
609 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
614 string key = "_EFL_UI_EVENT_EDGE_RIGHT";
615 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
621 lock (eflBindingEventLock)
623 string key = "_EFL_UI_EVENT_EDGE_RIGHT";
624 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
628 /// <summary>Method to raise event EdgeRightEvt.</summary>
629 public void OnEdgeRightEvt(EventArgs e)
631 var key = "_EFL_UI_EVENT_EDGE_RIGHT";
632 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
633 if (desc == IntPtr.Zero)
635 Eina.Log.Error($"Failed to get native event {key}");
639 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
641 /// <summary>Called when scroll animation starts</summary>
642 public event EventHandler ScrollAnimStartEvt
646 lock (eflBindingEventLock)
648 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
650 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
653 EventArgs args = EventArgs.Empty;
656 value?.Invoke(obj, args);
660 Eina.Log.Error(e.ToString());
661 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
666 string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
667 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
673 lock (eflBindingEventLock)
675 string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
676 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
680 /// <summary>Method to raise event ScrollAnimStartEvt.</summary>
681 public void OnScrollAnimStartEvt(EventArgs e)
683 var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
684 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
685 if (desc == IntPtr.Zero)
687 Eina.Log.Error($"Failed to get native event {key}");
691 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
693 /// <summary>Called when scroll animation stopps</summary>
694 public event EventHandler ScrollAnimStopEvt
698 lock (eflBindingEventLock)
700 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
702 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
705 EventArgs args = EventArgs.Empty;
708 value?.Invoke(obj, args);
712 Eina.Log.Error(e.ToString());
713 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
718 string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
719 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
725 lock (eflBindingEventLock)
727 string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
728 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
732 /// <summary>Method to raise event ScrollAnimStopEvt.</summary>
733 public void OnScrollAnimStopEvt(EventArgs e)
735 var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
736 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
737 if (desc == IntPtr.Zero)
739 Eina.Log.Error($"Failed to get native event {key}");
743 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
745 /// <summary>Called when scroll drag starts</summary>
746 public event EventHandler ScrollDragStartEvt
750 lock (eflBindingEventLock)
752 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
754 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
757 EventArgs args = EventArgs.Empty;
760 value?.Invoke(obj, args);
764 Eina.Log.Error(e.ToString());
765 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
770 string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
771 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
777 lock (eflBindingEventLock)
779 string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
780 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
784 /// <summary>Method to raise event ScrollDragStartEvt.</summary>
785 public void OnScrollDragStartEvt(EventArgs e)
787 var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
788 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
789 if (desc == IntPtr.Zero)
791 Eina.Log.Error($"Failed to get native event {key}");
795 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
797 /// <summary>Called when scroll drag stops</summary>
798 public event EventHandler ScrollDragStopEvt
802 lock (eflBindingEventLock)
804 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
806 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
809 EventArgs args = EventArgs.Empty;
812 value?.Invoke(obj, args);
816 Eina.Log.Error(e.ToString());
817 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
822 string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
823 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
829 lock (eflBindingEventLock)
831 string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
832 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
836 /// <summary>Method to raise event ScrollDragStopEvt.</summary>
837 public void OnScrollDragStopEvt(EventArgs e)
839 var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
840 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
841 if (desc == IntPtr.Zero)
843 Eina.Log.Error($"Failed to get native event {key}");
847 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
849 /// <summary>Called when bar is pressed.</summary>
850 /// <value><see cref="Efl.Ui.IScrollbarBarPressEvt_Args"/></value>
851 public event EventHandler<Efl.Ui.IScrollbarBarPressEvt_Args> BarPressEvt
855 lock (eflBindingEventLock)
857 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
859 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
862 Efl.Ui.IScrollbarBarPressEvt_Args args = new Efl.Ui.IScrollbarBarPressEvt_Args();
863 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
866 value?.Invoke(obj, args);
870 Eina.Log.Error(e.ToString());
871 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
876 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
877 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
883 lock (eflBindingEventLock)
885 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
886 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
890 /// <summary>Method to raise event BarPressEvt.</summary>
891 public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e)
893 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS";
894 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
895 if (desc == IntPtr.Zero)
897 Eina.Log.Error($"Failed to get native event {key}");
901 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
904 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
908 Marshal.FreeHGlobal(info);
911 /// <summary>Called when bar is unpressed.</summary>
912 /// <value><see cref="Efl.Ui.IScrollbarBarUnpressEvt_Args"/></value>
913 public event EventHandler<Efl.Ui.IScrollbarBarUnpressEvt_Args> BarUnpressEvt
917 lock (eflBindingEventLock)
919 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
921 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
924 Efl.Ui.IScrollbarBarUnpressEvt_Args args = new Efl.Ui.IScrollbarBarUnpressEvt_Args();
925 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
928 value?.Invoke(obj, args);
932 Eina.Log.Error(e.ToString());
933 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
938 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
939 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
945 lock (eflBindingEventLock)
947 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
948 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
952 /// <summary>Method to raise event BarUnpressEvt.</summary>
953 public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e)
955 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS";
956 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
957 if (desc == IntPtr.Zero)
959 Eina.Log.Error($"Failed to get native event {key}");
963 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
966 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
970 Marshal.FreeHGlobal(info);
973 /// <summary>Called when bar is dragged.</summary>
974 /// <value><see cref="Efl.Ui.IScrollbarBarDragEvt_Args"/></value>
975 public event EventHandler<Efl.Ui.IScrollbarBarDragEvt_Args> BarDragEvt
979 lock (eflBindingEventLock)
981 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
983 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
986 Efl.Ui.IScrollbarBarDragEvt_Args args = new Efl.Ui.IScrollbarBarDragEvt_Args();
987 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
990 value?.Invoke(obj, args);
994 Eina.Log.Error(e.ToString());
995 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1000 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
1001 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1007 lock (eflBindingEventLock)
1009 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
1010 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1014 /// <summary>Method to raise event BarDragEvt.</summary>
1015 public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e)
1017 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG";
1018 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1019 if (desc == IntPtr.Zero)
1021 Eina.Log.Error($"Failed to get native event {key}");
1025 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
1028 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
1032 Marshal.FreeHGlobal(info);
1035 /// <summary>Called when bar size is changed.</summary>
1036 public event EventHandler BarSizeChangedEvt
1040 lock (eflBindingEventLock)
1042 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1044 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1047 EventArgs args = EventArgs.Empty;
1050 value?.Invoke(obj, args);
1054 Eina.Log.Error(e.ToString());
1055 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1060 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
1061 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1067 lock (eflBindingEventLock)
1069 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
1070 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1074 /// <summary>Method to raise event BarSizeChangedEvt.</summary>
1075 public void OnBarSizeChangedEvt(EventArgs e)
1077 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED";
1078 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1079 if (desc == IntPtr.Zero)
1081 Eina.Log.Error($"Failed to get native event {key}");
1085 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1087 /// <summary>Called when bar position is changed.</summary>
1088 public event EventHandler BarPosChangedEvt
1092 lock (eflBindingEventLock)
1094 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1096 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1099 EventArgs args = EventArgs.Empty;
1102 value?.Invoke(obj, args);
1106 Eina.Log.Error(e.ToString());
1107 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1112 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
1113 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1119 lock (eflBindingEventLock)
1121 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
1122 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1126 /// <summary>Method to raise event BarPosChangedEvt.</summary>
1127 public void OnBarPosChangedEvt(EventArgs e)
1129 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED";
1130 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1131 if (desc == IntPtr.Zero)
1133 Eina.Log.Error($"Failed to get native event {key}");
1137 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
1139 /// <summary>Callend when bar is shown.</summary>
1140 /// <value><see cref="Efl.Ui.IScrollbarBarShowEvt_Args"/></value>
1141 public event EventHandler<Efl.Ui.IScrollbarBarShowEvt_Args> BarShowEvt
1145 lock (eflBindingEventLock)
1147 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1149 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1152 Efl.Ui.IScrollbarBarShowEvt_Args args = new Efl.Ui.IScrollbarBarShowEvt_Args();
1153 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
1156 value?.Invoke(obj, args);
1160 Eina.Log.Error(e.ToString());
1161 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1166 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
1167 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1173 lock (eflBindingEventLock)
1175 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
1176 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1180 /// <summary>Method to raise event BarShowEvt.</summary>
1181 public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e)
1183 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW";
1184 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1185 if (desc == IntPtr.Zero)
1187 Eina.Log.Error($"Failed to get native event {key}");
1191 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
1194 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
1198 Marshal.FreeHGlobal(info);
1201 /// <summary>Called when bar is hidden.</summary>
1202 /// <value><see cref="Efl.Ui.IScrollbarBarHideEvt_Args"/></value>
1203 public event EventHandler<Efl.Ui.IScrollbarBarHideEvt_Args> BarHideEvt
1207 lock (eflBindingEventLock)
1209 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
1211 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
1214 Efl.Ui.IScrollbarBarHideEvt_Args args = new Efl.Ui.IScrollbarBarHideEvt_Args();
1215 args.arg = (Efl.Ui.LayoutOrientation)evt.Info;
1218 value?.Invoke(obj, args);
1222 Eina.Log.Error(e.ToString());
1223 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1228 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
1229 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
1235 lock (eflBindingEventLock)
1237 string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
1238 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
1242 /// <summary>Method to raise event BarHideEvt.</summary>
1243 public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e)
1245 var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE";
1246 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
1247 if (desc == IntPtr.Zero)
1249 Eina.Log.Error($"Failed to get native event {key}");
1253 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
1256 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
1260 Marshal.FreeHGlobal(info);
1263 /// <summary>This is the internal pan object managed by scroll manager.
1264 /// This property is protected as it is meant for scrollable object implementations only, to set and access the internal pan object. If pan is set to NULL, scrolling does not work.</summary>
1265 /// <param name="pan">Pan object</param>
1266 virtual protected void SetPan(Efl.Ui.Pan pan) {
1267 Efl.Ui.Scroll.Manager.NativeMethods.efl_ui_scroll_manager_pan_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pan);
1268 Eina.Error.RaiseIfUnhandledException();
1270 /// <summary>Whether this object should be mirrored.
1271 /// If mirrored, an object is in RTL (right to left) mode instead of LTR (left to right).</summary>
1272 /// <returns><c>true</c> for RTL, <c>false</c> for LTR (default).</returns>
1273 virtual public bool GetMirrored() {
1274 var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
1275 Eina.Error.RaiseIfUnhandledException();
1278 /// <summary>Whether this object should be mirrored.
1279 /// If mirrored, an object is in RTL (right to left) mode instead of LTR (left to right).</summary>
1280 /// <param name="rtl"><c>true</c> for RTL, <c>false</c> for LTR (default).</param>
1281 virtual public void SetMirrored(bool rtl) {
1282 Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),rtl);
1283 Eina.Error.RaiseIfUnhandledException();
1285 /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
1286 /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
1288 /// This property may be implemented by high-level widgets (in Efl.Ui) but not by low-level widgets (in <see cref="Efl.Canvas.IScene"/>) as the configuration should affect only high-level widgets.</summary>
1289 /// <returns>Whether the widget uses automatic mirroring</returns>
1290 virtual public bool GetMirroredAutomatic() {
1291 var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
1292 Eina.Error.RaiseIfUnhandledException();
1295 /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
1296 /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
1298 /// This property may be implemented by high-level widgets (in Efl.Ui) but not by low-level widgets (in <see cref="Efl.Canvas.IScene"/>) as the configuration should affect only high-level widgets.</summary>
1299 /// <param name="automatic">Whether the widget uses automatic mirroring</param>
1300 virtual public void SetMirroredAutomatic(bool automatic) {
1301 Efl.Ui.II18nConcrete.NativeMethods.efl_ui_mirrored_automatic_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),automatic);
1302 Eina.Error.RaiseIfUnhandledException();
1304 /// <summary>Gets the language for this object.</summary>
1305 /// <returns>The current language.</returns>
1306 virtual public System.String GetLanguage() {
1307 var _ret_var = Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
1308 Eina.Error.RaiseIfUnhandledException();
1311 /// <summary>Sets the language for this object.</summary>
1312 /// <param name="language">The current language.</param>
1313 virtual public void SetLanguage(System.String language) {
1314 Efl.Ui.II18nConcrete.NativeMethods.efl_ui_language_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),language);
1315 Eina.Error.RaiseIfUnhandledException();
1317 /// <summary>The content position</summary>
1318 /// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
1319 virtual public Eina.Position2D GetContentPos() {
1320 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)));
1321 Eina.Error.RaiseIfUnhandledException();
1324 /// <summary>The content position</summary>
1325 /// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
1326 virtual public void SetContentPos(Eina.Position2D pos) {
1327 Eina.Position2D.NativeStruct _in_pos = pos;
1328 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);
1329 Eina.Error.RaiseIfUnhandledException();
1331 /// <summary>The content size</summary>
1332 /// <returns>The content size in pixels.</returns>
1333 virtual public Eina.Size2D GetContentSize() {
1334 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)));
1335 Eina.Error.RaiseIfUnhandledException();
1338 /// <summary>The viewport geometry</summary>
1339 /// <returns>It is absolute geometry.</returns>
1340 virtual public Eina.Rect GetViewportGeometry() {
1341 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)));
1342 Eina.Error.RaiseIfUnhandledException();
1345 /// <summary>Bouncing behavior
1346 /// 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>
1347 /// <param name="horiz">Horizontal bounce policy.</param>
1348 /// <param name="vert">Vertical bounce policy.</param>
1349 virtual public void GetBounceEnabled(out bool horiz, out bool vert) {
1350 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);
1351 Eina.Error.RaiseIfUnhandledException();
1353 /// <summary>Bouncing behavior
1354 /// 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>
1355 /// <param name="horiz">Horizontal bounce policy.</param>
1356 /// <param name="vert">Vertical bounce policy.</param>
1357 virtual public void SetBounceEnabled(bool horiz, bool vert) {
1358 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);
1359 Eina.Error.RaiseIfUnhandledException();
1361 /// <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>
1362 /// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
1363 virtual public bool GetScrollFreeze() {
1364 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)));
1365 Eina.Error.RaiseIfUnhandledException();
1368 /// <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>
1369 /// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
1370 virtual public void SetScrollFreeze(bool freeze) {
1371 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);
1372 Eina.Error.RaiseIfUnhandledException();
1374 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1375 /// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
1376 virtual public bool GetScrollHold() {
1377 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)));
1378 Eina.Error.RaiseIfUnhandledException();
1381 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1382 /// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
1383 virtual public void SetScrollHold(bool hold) {
1384 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);
1385 Eina.Error.RaiseIfUnhandledException();
1387 /// <summary>Controls an infinite loop for a scroller.</summary>
1388 /// <param name="loop_h">The scrolling horizontal loop</param>
1389 /// <param name="loop_v">The Scrolling vertical loop</param>
1390 virtual public void GetLooping(out bool loop_h, out bool loop_v) {
1391 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);
1392 Eina.Error.RaiseIfUnhandledException();
1394 /// <summary>Controls an infinite loop for a scroller.</summary>
1395 /// <param name="loop_h">The scrolling horizontal loop</param>
1396 /// <param name="loop_v">The Scrolling vertical loop</param>
1397 virtual public void SetLooping(bool loop_h, bool loop_v) {
1398 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);
1399 Eina.Error.RaiseIfUnhandledException();
1401 /// <summary>Blocking of scrolling (per axis)
1402 /// 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>
1403 /// <returns>Which axis (or axes) to block</returns>
1404 virtual public Efl.Ui.ScrollBlock GetMovementBlock() {
1405 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)));
1406 Eina.Error.RaiseIfUnhandledException();
1409 /// <summary>Blocking of scrolling (per axis)
1410 /// 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>
1411 /// <param name="block">Which axis (or axes) to block</param>
1412 virtual public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
1413 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);
1414 Eina.Error.RaiseIfUnhandledException();
1416 /// <summary>Control scrolling gravity on the scrollable
1417 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
1419 /// The scroller will adjust the view to glue itself as follows.
1421 /// 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
1423 /// Default values for x and y are 0.0</summary>
1424 /// <param name="x">Horizontal scrolling gravity</param>
1425 /// <param name="y">Vertical scrolling gravity</param>
1426 virtual public void GetGravity(out double x, out double y) {
1427 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);
1428 Eina.Error.RaiseIfUnhandledException();
1430 /// <summary>Control scrolling gravity on the scrollable
1431 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
1433 /// The scroller will adjust the view to glue itself as follows.
1435 /// 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
1437 /// Default values for x and y are 0.0</summary>
1438 /// <param name="x">Horizontal scrolling gravity</param>
1439 /// <param name="y">Vertical scrolling gravity</param>
1440 virtual public void SetGravity(double x, double y) {
1441 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);
1442 Eina.Error.RaiseIfUnhandledException();
1444 /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
1445 /// 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>
1446 /// <param name="w">Whether to limit the minimum horizontal size</param>
1447 /// <param name="h">Whether to limit the minimum vertical size</param>
1448 virtual public void SetMatchContent(bool w, bool h) {
1449 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);
1450 Eina.Error.RaiseIfUnhandledException();
1452 /// <summary>Control the step size
1453 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
1454 /// <returns>The step size in pixels</returns>
1455 virtual public Eina.Position2D GetStepSize() {
1456 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)));
1457 Eina.Error.RaiseIfUnhandledException();
1460 /// <summary>Control the step size
1461 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
1462 /// <param name="step">The step size in pixels</param>
1463 virtual public void SetStepSize(Eina.Position2D step) {
1464 Eina.Position2D.NativeStruct _in_step = step;
1465 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);
1466 Eina.Error.RaiseIfUnhandledException();
1468 /// <summary>Show a specific virtual region within the scroller content object.
1469 /// 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>
1470 /// <param name="rect">The position where to scroll. and The size user want to see</param>
1471 /// <param name="animation">Whether to scroll with animation or not</param>
1472 virtual public void Scroll(Eina.Rect rect, bool animation) {
1473 Eina.Rect.NativeStruct _in_rect = rect;
1474 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);
1475 Eina.Error.RaiseIfUnhandledException();
1477 /// <summary>Scrollbar visibility policy</summary>
1478 /// <param name="hbar">Horizontal scrollbar.</param>
1479 /// <param name="vbar">Vertical scrollbar.</param>
1480 virtual public void GetBarMode(out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar) {
1481 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);
1482 Eina.Error.RaiseIfUnhandledException();
1484 /// <summary>Scrollbar visibility policy</summary>
1485 /// <param name="hbar">Horizontal scrollbar.</param>
1486 /// <param name="vbar">Vertical scrollbar.</param>
1487 virtual public void SetBarMode(Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar) {
1488 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);
1489 Eina.Error.RaiseIfUnhandledException();
1491 /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
1492 /// <param name="width">Value between 0.0 and 1.0.</param>
1493 /// <param name="height">Value between 0.0 and 1.0.</param>
1494 virtual public void GetBarSize(out double width, out double height) {
1495 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);
1496 Eina.Error.RaiseIfUnhandledException();
1498 /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
1499 /// <param name="posx">Value between 0.0 and 1.0.</param>
1500 /// <param name="posy">Value between 0.0 and 1.0.</param>
1501 virtual public void GetBarPosition(out double posx, out double posy) {
1502 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);
1503 Eina.Error.RaiseIfUnhandledException();
1505 /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
1506 /// <param name="posx">Value between 0.0 and 1.0.</param>
1507 /// <param name="posy">Value between 0.0 and 1.0.</param>
1508 virtual public void SetBarPosition(double posx, double posy) {
1509 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);
1510 Eina.Error.RaiseIfUnhandledException();
1512 /// <summary>Update bar visibility.
1513 /// The object will call this function whenever the bar needs to be shown or hidden.</summary>
1514 virtual public void UpdateBarVisibility() {
1515 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)));
1516 Eina.Error.RaiseIfUnhandledException();
1518 /// <summary>This is the internal pan object managed by scroll manager.
1519 /// This property is protected as it is meant for scrollable object implementations only, to set and access the internal pan object. If pan is set to NULL, scrolling does not work.</summary>
1520 /// <value>Pan object</value>
1521 protected Efl.Ui.Pan Pan {
1522 set { SetPan(value); }
1524 /// <summary>Whether this object should be mirrored.
1525 /// If mirrored, an object is in RTL (right to left) mode instead of LTR (left to right).</summary>
1526 /// <value><c>true</c> for RTL, <c>false</c> for LTR (default).</value>
1527 public bool Mirrored {
1528 get { return GetMirrored(); }
1529 set { SetMirrored(value); }
1531 /// <summary>Whether the property <see cref="Efl.Ui.II18n.Mirrored"/> should be set automatically.
1532 /// If enabled, the system or application configuration will be used to set the value of <see cref="Efl.Ui.II18n.Mirrored"/>.
1534 /// This property may be implemented by high-level widgets (in Efl.Ui) but not by low-level widgets (in <see cref="Efl.Canvas.IScene"/>) as the configuration should affect only high-level widgets.</summary>
1535 /// <value>Whether the widget uses automatic mirroring</value>
1536 public bool MirroredAutomatic {
1537 get { return GetMirroredAutomatic(); }
1538 set { SetMirroredAutomatic(value); }
1540 /// <summary>The (human) language for this object.</summary>
1541 /// <value>The current language.</value>
1542 public System.String Language {
1543 get { return GetLanguage(); }
1544 set { SetLanguage(value); }
1546 /// <summary>The content position</summary>
1547 /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
1548 public Eina.Position2D ContentPos {
1549 get { return GetContentPos(); }
1550 set { SetContentPos(value); }
1552 /// <summary>The content size</summary>
1553 /// <value>The content size in pixels.</value>
1554 public Eina.Size2D ContentSize {
1555 get { return GetContentSize(); }
1557 /// <summary>The viewport geometry</summary>
1558 /// <value>It is absolute geometry.</value>
1559 public Eina.Rect ViewportGeometry {
1560 get { return GetViewportGeometry(); }
1562 /// <summary>Bouncing behavior
1563 /// 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>
1564 /// <value>Horizontal bounce policy.</value>
1565 public (bool, bool) BounceEnabled {
1567 bool _out_horiz = default(bool);
1568 bool _out_vert = default(bool);
1569 GetBounceEnabled(out _out_horiz,out _out_vert);
1570 return (_out_horiz,_out_vert);
1572 set { SetBounceEnabled( value.Item1, value.Item2); }
1574 /// <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>
1575 /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
1576 public bool ScrollFreeze {
1577 get { return GetScrollFreeze(); }
1578 set { SetScrollFreeze(value); }
1580 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1581 /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
1582 public bool ScrollHold {
1583 get { return GetScrollHold(); }
1584 set { SetScrollHold(value); }
1586 /// <summary>Controls an infinite loop for a scroller.</summary>
1587 /// <value>The scrolling horizontal loop</value>
1588 public (bool, bool) Looping {
1590 bool _out_loop_h = default(bool);
1591 bool _out_loop_v = default(bool);
1592 GetLooping(out _out_loop_h,out _out_loop_v);
1593 return (_out_loop_h,_out_loop_v);
1595 set { SetLooping( value.Item1, value.Item2); }
1597 /// <summary>Blocking of scrolling (per axis)
1598 /// 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>
1599 /// <value>Which axis (or axes) to block</value>
1600 public Efl.Ui.ScrollBlock MovementBlock {
1601 get { return GetMovementBlock(); }
1602 set { SetMovementBlock(value); }
1604 /// <summary>Control scrolling gravity on the scrollable
1605 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
1607 /// The scroller will adjust the view to glue itself as follows.
1609 /// 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
1611 /// Default values for x and y are 0.0</summary>
1612 /// <value>Horizontal scrolling gravity</value>
1613 public (double, double) Gravity {
1615 double _out_x = default(double);
1616 double _out_y = default(double);
1617 GetGravity(out _out_x,out _out_y);
1618 return (_out_x,_out_y);
1620 set { SetGravity( value.Item1, value.Item2); }
1622 /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
1623 /// 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>
1624 /// <value>Whether to limit the minimum horizontal size</value>
1625 public (bool, bool) MatchContent {
1626 set { SetMatchContent( value.Item1, value.Item2); }
1628 /// <summary>Control the step size
1629 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
1630 /// <value>The step size in pixels</value>
1631 public Eina.Position2D StepSize {
1632 get { return GetStepSize(); }
1633 set { SetStepSize(value); }
1635 /// <summary>Scrollbar visibility policy</summary>
1636 /// <value>Horizontal scrollbar.</value>
1637 public (Efl.Ui.ScrollbarMode, Efl.Ui.ScrollbarMode) BarMode {
1639 Efl.Ui.ScrollbarMode _out_hbar = default(Efl.Ui.ScrollbarMode);
1640 Efl.Ui.ScrollbarMode _out_vbar = default(Efl.Ui.ScrollbarMode);
1641 GetBarMode(out _out_hbar,out _out_vbar);
1642 return (_out_hbar,_out_vbar);
1644 set { SetBarMode( value.Item1, value.Item2); }
1646 /// <summary>Scrollbar size. It is calculated based on viewport size-content sizes.</summary>
1647 public (double, double) BarSize {
1649 double _out_width = default(double);
1650 double _out_height = default(double);
1651 GetBarSize(out _out_width,out _out_height);
1652 return (_out_width,_out_height);
1655 /// <summary>Scrollbar position. It is calculated based on current position-maximum positions.</summary>
1656 /// <value>Value between 0.0 and 1.0.</value>
1657 public (double, double) BarPosition {
1659 double _out_posx = default(double);
1660 double _out_posy = default(double);
1661 GetBarPosition(out _out_posx,out _out_posy);
1662 return (_out_posx,_out_posy);
1664 set { SetBarPosition( value.Item1, value.Item2); }
1666 private static IntPtr GetEflClassStatic()
1668 return Efl.Ui.Scroll.Manager.efl_ui_scroll_manager_class_get();
1670 /// <summary>Wrapper for native methods and virtual method delegates.
1671 /// For internal use by generated code only.</summary>
1672 public new class NativeMethods : Efl.Object.NativeMethods
1674 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
1675 /// <summary>Gets the list of Eo operations to override.</summary>
1676 /// <returns>The list of Eo operations to be overload.</returns>
1677 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
1679 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
1680 var methods = Efl.Eo.Globals.GetUserMethods(type);
1682 if (efl_ui_scroll_manager_pan_set_static_delegate == null)
1684 efl_ui_scroll_manager_pan_set_static_delegate = new efl_ui_scroll_manager_pan_set_delegate(pan_set);
1687 if (methods.FirstOrDefault(m => m.Name == "SetPan") != null)
1689 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scroll_manager_pan_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scroll_manager_pan_set_static_delegate) });
1692 if (efl_ui_mirrored_get_static_delegate == null)
1694 efl_ui_mirrored_get_static_delegate = new efl_ui_mirrored_get_delegate(mirrored_get);
1697 if (methods.FirstOrDefault(m => m.Name == "GetMirrored") != null)
1699 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_get_static_delegate) });
1702 if (efl_ui_mirrored_set_static_delegate == null)
1704 efl_ui_mirrored_set_static_delegate = new efl_ui_mirrored_set_delegate(mirrored_set);
1707 if (methods.FirstOrDefault(m => m.Name == "SetMirrored") != null)
1709 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_set_static_delegate) });
1712 if (efl_ui_mirrored_automatic_get_static_delegate == null)
1714 efl_ui_mirrored_automatic_get_static_delegate = new efl_ui_mirrored_automatic_get_delegate(mirrored_automatic_get);
1717 if (methods.FirstOrDefault(m => m.Name == "GetMirroredAutomatic") != null)
1719 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_get_static_delegate) });
1722 if (efl_ui_mirrored_automatic_set_static_delegate == null)
1724 efl_ui_mirrored_automatic_set_static_delegate = new efl_ui_mirrored_automatic_set_delegate(mirrored_automatic_set);
1727 if (methods.FirstOrDefault(m => m.Name == "SetMirroredAutomatic") != null)
1729 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_mirrored_automatic_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_mirrored_automatic_set_static_delegate) });
1732 if (efl_ui_language_get_static_delegate == null)
1734 efl_ui_language_get_static_delegate = new efl_ui_language_get_delegate(language_get);
1737 if (methods.FirstOrDefault(m => m.Name == "GetLanguage") != null)
1739 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_get_static_delegate) });
1742 if (efl_ui_language_set_static_delegate == null)
1744 efl_ui_language_set_static_delegate = new efl_ui_language_set_delegate(language_set);
1747 if (methods.FirstOrDefault(m => m.Name == "SetLanguage") != null)
1749 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_language_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_language_set_static_delegate) });
1752 if (efl_ui_scrollable_content_pos_get_static_delegate == null)
1754 efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get);
1757 if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
1759 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) });
1762 if (efl_ui_scrollable_content_pos_set_static_delegate == null)
1764 efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set);
1767 if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
1769 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) });
1772 if (efl_ui_scrollable_content_size_get_static_delegate == null)
1774 efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get);
1777 if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
1779 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) });
1782 if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null)
1784 efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get);
1787 if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null)
1789 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) });
1792 if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null)
1794 efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get);
1797 if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null)
1799 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) });
1802 if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null)
1804 efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set);
1807 if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null)
1809 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) });
1812 if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null)
1814 efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get);
1817 if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null)
1819 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) });
1822 if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null)
1824 efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set);
1827 if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null)
1829 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) });
1832 if (efl_ui_scrollable_scroll_hold_get_static_delegate == null)
1834 efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get);
1837 if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null)
1839 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) });
1842 if (efl_ui_scrollable_scroll_hold_set_static_delegate == null)
1844 efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set);
1847 if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null)
1849 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) });
1852 if (efl_ui_scrollable_looping_get_static_delegate == null)
1854 efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get);
1857 if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null)
1859 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) });
1862 if (efl_ui_scrollable_looping_set_static_delegate == null)
1864 efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set);
1867 if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null)
1869 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) });
1872 if (efl_ui_scrollable_movement_block_get_static_delegate == null)
1874 efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get);
1877 if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
1879 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) });
1882 if (efl_ui_scrollable_movement_block_set_static_delegate == null)
1884 efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set);
1887 if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
1889 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) });
1892 if (efl_ui_scrollable_gravity_get_static_delegate == null)
1894 efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get);
1897 if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
1899 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) });
1902 if (efl_ui_scrollable_gravity_set_static_delegate == null)
1904 efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set);
1907 if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
1909 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) });
1912 if (efl_ui_scrollable_match_content_set_static_delegate == null)
1914 efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set);
1917 if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null)
1919 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) });
1922 if (efl_ui_scrollable_step_size_get_static_delegate == null)
1924 efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get);
1927 if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
1929 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) });
1932 if (efl_ui_scrollable_step_size_set_static_delegate == null)
1934 efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set);
1937 if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
1939 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) });
1942 if (efl_ui_scrollable_scroll_static_delegate == null)
1944 efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll);
1947 if (methods.FirstOrDefault(m => m.Name == "Scroll") != null)
1949 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) });
1952 if (efl_ui_scrollbar_bar_mode_get_static_delegate == null)
1954 efl_ui_scrollbar_bar_mode_get_static_delegate = new efl_ui_scrollbar_bar_mode_get_delegate(bar_mode_get);
1957 if (methods.FirstOrDefault(m => m.Name == "GetBarMode") != null)
1959 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) });
1962 if (efl_ui_scrollbar_bar_mode_set_static_delegate == null)
1964 efl_ui_scrollbar_bar_mode_set_static_delegate = new efl_ui_scrollbar_bar_mode_set_delegate(bar_mode_set);
1967 if (methods.FirstOrDefault(m => m.Name == "SetBarMode") != null)
1969 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) });
1972 if (efl_ui_scrollbar_bar_size_get_static_delegate == null)
1974 efl_ui_scrollbar_bar_size_get_static_delegate = new efl_ui_scrollbar_bar_size_get_delegate(bar_size_get);
1977 if (methods.FirstOrDefault(m => m.Name == "GetBarSize") != null)
1979 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) });
1982 if (efl_ui_scrollbar_bar_position_get_static_delegate == null)
1984 efl_ui_scrollbar_bar_position_get_static_delegate = new efl_ui_scrollbar_bar_position_get_delegate(bar_position_get);
1987 if (methods.FirstOrDefault(m => m.Name == "GetBarPosition") != null)
1989 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) });
1992 if (efl_ui_scrollbar_bar_position_set_static_delegate == null)
1994 efl_ui_scrollbar_bar_position_set_static_delegate = new efl_ui_scrollbar_bar_position_set_delegate(bar_position_set);
1997 if (methods.FirstOrDefault(m => m.Name == "SetBarPosition") != null)
1999 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) });
2002 if (efl_ui_scrollbar_bar_visibility_update_static_delegate == null)
2004 efl_ui_scrollbar_bar_visibility_update_static_delegate = new efl_ui_scrollbar_bar_visibility_update_delegate(bar_visibility_update);
2007 if (methods.FirstOrDefault(m => m.Name == "UpdateBarVisibility") != null)
2009 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) });
2012 descs.AddRange(base.GetEoOps(type));
2015 /// <summary>Returns the Eo class for the native methods of this class.</summary>
2016 /// <returns>The native class pointer.</returns>
2017 public override IntPtr GetEflClass()
2019 return Efl.Ui.Scroll.Manager.efl_ui_scroll_manager_class_get();
2022 #pragma warning disable CA1707, CS1591, SA1300, SA1600
2025 private delegate void efl_ui_scroll_manager_pan_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Pan pan);
2028 public delegate void efl_ui_scroll_manager_pan_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Pan pan);
2030 public static Efl.Eo.FunctionWrapper<efl_ui_scroll_manager_pan_set_api_delegate> efl_ui_scroll_manager_pan_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scroll_manager_pan_set_api_delegate>(Module, "efl_ui_scroll_manager_pan_set");
2032 private static void pan_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Pan pan)
2034 Eina.Log.Debug("function efl_ui_scroll_manager_pan_set was called");
2035 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2041 ((Manager)ws.Target).SetPan(pan);
2045 Eina.Log.Warning($"Callback error: {e.ToString()}");
2046 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2053 efl_ui_scroll_manager_pan_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pan);
2057 private static efl_ui_scroll_manager_pan_set_delegate efl_ui_scroll_manager_pan_set_static_delegate;
2059 [return: MarshalAs(UnmanagedType.U1)]
2060 private delegate bool efl_ui_mirrored_get_delegate(System.IntPtr obj, System.IntPtr pd);
2062 [return: MarshalAs(UnmanagedType.U1)]
2063 public delegate bool efl_ui_mirrored_get_api_delegate(System.IntPtr obj);
2065 public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate> efl_ui_mirrored_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_get_api_delegate>(Module, "efl_ui_mirrored_get");
2067 private static bool mirrored_get(System.IntPtr obj, System.IntPtr pd)
2069 Eina.Log.Debug("function efl_ui_mirrored_get was called");
2070 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2073 bool _ret_var = default(bool);
2076 _ret_var = ((Manager)ws.Target).GetMirrored();
2080 Eina.Log.Warning($"Callback error: {e.ToString()}");
2081 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2089 return efl_ui_mirrored_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2093 private static efl_ui_mirrored_get_delegate efl_ui_mirrored_get_static_delegate;
2096 private delegate void efl_ui_mirrored_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool rtl);
2099 public delegate void efl_ui_mirrored_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool rtl);
2101 public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate> efl_ui_mirrored_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_set_api_delegate>(Module, "efl_ui_mirrored_set");
2103 private static void mirrored_set(System.IntPtr obj, System.IntPtr pd, bool rtl)
2105 Eina.Log.Debug("function efl_ui_mirrored_set was called");
2106 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2112 ((Manager)ws.Target).SetMirrored(rtl);
2116 Eina.Log.Warning($"Callback error: {e.ToString()}");
2117 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2124 efl_ui_mirrored_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rtl);
2128 private static efl_ui_mirrored_set_delegate efl_ui_mirrored_set_static_delegate;
2130 [return: MarshalAs(UnmanagedType.U1)]
2131 private delegate bool efl_ui_mirrored_automatic_get_delegate(System.IntPtr obj, System.IntPtr pd);
2133 [return: MarshalAs(UnmanagedType.U1)]
2134 public delegate bool efl_ui_mirrored_automatic_get_api_delegate(System.IntPtr obj);
2136 public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate> efl_ui_mirrored_automatic_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_get_api_delegate>(Module, "efl_ui_mirrored_automatic_get");
2138 private static bool mirrored_automatic_get(System.IntPtr obj, System.IntPtr pd)
2140 Eina.Log.Debug("function efl_ui_mirrored_automatic_get was called");
2141 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2144 bool _ret_var = default(bool);
2147 _ret_var = ((Manager)ws.Target).GetMirroredAutomatic();
2151 Eina.Log.Warning($"Callback error: {e.ToString()}");
2152 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2160 return efl_ui_mirrored_automatic_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2164 private static efl_ui_mirrored_automatic_get_delegate efl_ui_mirrored_automatic_get_static_delegate;
2167 private delegate void efl_ui_mirrored_automatic_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool automatic);
2170 public delegate void efl_ui_mirrored_automatic_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool automatic);
2172 public static Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate> efl_ui_mirrored_automatic_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_mirrored_automatic_set_api_delegate>(Module, "efl_ui_mirrored_automatic_set");
2174 private static void mirrored_automatic_set(System.IntPtr obj, System.IntPtr pd, bool automatic)
2176 Eina.Log.Debug("function efl_ui_mirrored_automatic_set was called");
2177 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2183 ((Manager)ws.Target).SetMirroredAutomatic(automatic);
2187 Eina.Log.Warning($"Callback error: {e.ToString()}");
2188 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2195 efl_ui_mirrored_automatic_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), automatic);
2199 private static efl_ui_mirrored_automatic_set_delegate efl_ui_mirrored_automatic_set_static_delegate;
2201 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
2202 private delegate System.String efl_ui_language_get_delegate(System.IntPtr obj, System.IntPtr pd);
2204 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
2205 public delegate System.String efl_ui_language_get_api_delegate(System.IntPtr obj);
2207 public static Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate> efl_ui_language_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_get_api_delegate>(Module, "efl_ui_language_get");
2209 private static System.String language_get(System.IntPtr obj, System.IntPtr pd)
2211 Eina.Log.Debug("function efl_ui_language_get was called");
2212 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2215 System.String _ret_var = default(System.String);
2218 _ret_var = ((Manager)ws.Target).GetLanguage();
2222 Eina.Log.Warning($"Callback error: {e.ToString()}");
2223 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2231 return efl_ui_language_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2235 private static efl_ui_language_get_delegate efl_ui_language_get_static_delegate;
2238 private delegate void efl_ui_language_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
2241 public delegate void efl_ui_language_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String language);
2243 public static Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate> efl_ui_language_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_language_set_api_delegate>(Module, "efl_ui_language_set");
2245 private static void language_set(System.IntPtr obj, System.IntPtr pd, System.String language)
2247 Eina.Log.Debug("function efl_ui_language_set was called");
2248 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2254 ((Manager)ws.Target).SetLanguage(language);
2258 Eina.Log.Warning($"Callback error: {e.ToString()}");
2259 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2266 efl_ui_language_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), language);
2270 private static efl_ui_language_set_delegate efl_ui_language_set_static_delegate;
2273 private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
2276 public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj);
2278 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");
2280 private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd)
2282 Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called");
2283 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2286 Eina.Position2D _ret_var = default(Eina.Position2D);
2289 _ret_var = ((Manager)ws.Target).GetContentPos();
2293 Eina.Log.Warning($"Callback error: {e.ToString()}");
2294 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2302 return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2306 private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate;
2309 private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
2312 public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
2314 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");
2316 private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
2318 Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called");
2319 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2322 Eina.Position2D _in_pos = pos;
2326 ((Manager)ws.Target).SetContentPos(_in_pos);
2330 Eina.Log.Warning($"Callback error: {e.ToString()}");
2331 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2338 efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
2342 private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate;
2345 private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
2348 public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj);
2350 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");
2352 private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
2354 Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called");
2355 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2358 Eina.Size2D _ret_var = default(Eina.Size2D);
2361 _ret_var = ((Manager)ws.Target).GetContentSize();
2365 Eina.Log.Warning($"Callback error: {e.ToString()}");
2366 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2374 return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2378 private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate;
2381 private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
2384 public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj);
2386 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");
2388 private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd)
2390 Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called");
2391 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2394 Eina.Rect _ret_var = default(Eina.Rect);
2397 _ret_var = ((Manager)ws.Target).GetViewportGeometry();
2401 Eina.Log.Warning($"Callback error: {e.ToString()}");
2402 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2410 return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2414 private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate;
2417 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);
2420 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);
2422 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");
2424 private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
2426 Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called");
2427 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2430 horiz = default(bool); vert = default(bool);
2433 ((Manager)ws.Target).GetBounceEnabled(out horiz, out vert);
2437 Eina.Log.Warning($"Callback error: {e.ToString()}");
2438 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2445 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);
2449 private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate;
2452 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);
2455 public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
2457 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");
2459 private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
2461 Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called");
2462 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2468 ((Manager)ws.Target).SetBounceEnabled(horiz, vert);
2472 Eina.Log.Warning($"Callback error: {e.ToString()}");
2473 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2480 efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
2484 private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate;
2486 [return: MarshalAs(UnmanagedType.U1)]
2487 private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd);
2489 [return: MarshalAs(UnmanagedType.U1)]
2490 public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj);
2492 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");
2494 private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd)
2496 Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called");
2497 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2500 bool _ret_var = default(bool);
2503 _ret_var = ((Manager)ws.Target).GetScrollFreeze();
2507 Eina.Log.Warning($"Callback error: {e.ToString()}");
2508 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2516 return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2520 private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate;
2523 private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
2526 public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
2528 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");
2530 private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
2532 Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called");
2533 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2539 ((Manager)ws.Target).SetScrollFreeze(freeze);
2543 Eina.Log.Warning($"Callback error: {e.ToString()}");
2544 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2551 efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
2555 private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate;
2557 [return: MarshalAs(UnmanagedType.U1)]
2558 private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd);
2560 [return: MarshalAs(UnmanagedType.U1)]
2561 public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj);
2563 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");
2565 private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd)
2567 Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called");
2568 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2571 bool _ret_var = default(bool);
2574 _ret_var = ((Manager)ws.Target).GetScrollHold();
2578 Eina.Log.Warning($"Callback error: {e.ToString()}");
2579 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2587 return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2591 private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate;
2594 private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
2597 public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
2599 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");
2601 private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
2603 Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called");
2604 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2610 ((Manager)ws.Target).SetScrollHold(hold);
2614 Eina.Log.Warning($"Callback error: {e.ToString()}");
2615 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2622 efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
2626 private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate;
2629 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);
2632 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);
2634 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");
2636 private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
2638 Eina.Log.Debug("function efl_ui_scrollable_looping_get was called");
2639 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2642 loop_h = default(bool); loop_v = default(bool);
2645 ((Manager)ws.Target).GetLooping(out loop_h, out loop_v);
2649 Eina.Log.Warning($"Callback error: {e.ToString()}");
2650 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2657 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);
2661 private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate;
2664 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);
2667 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);
2669 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");
2671 private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
2673 Eina.Log.Debug("function efl_ui_scrollable_looping_set was called");
2674 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2680 ((Manager)ws.Target).SetLooping(loop_h, loop_v);
2684 Eina.Log.Warning($"Callback error: {e.ToString()}");
2685 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2692 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);
2696 private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate;
2699 private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
2702 public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
2704 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");
2706 private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
2708 Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called");
2709 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2712 Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
2715 _ret_var = ((Manager)ws.Target).GetMovementBlock();
2719 Eina.Log.Warning($"Callback error: {e.ToString()}");
2720 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2728 return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2732 private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate;
2735 private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
2738 public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
2740 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");
2742 private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
2744 Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called");
2745 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2751 ((Manager)ws.Target).SetMovementBlock(block);
2755 Eina.Log.Warning($"Callback error: {e.ToString()}");
2756 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2763 efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
2767 private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate;
2770 private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
2773 public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
2775 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");
2777 private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
2779 Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called");
2780 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2783 x = default(double); y = default(double);
2786 ((Manager)ws.Target).GetGravity(out x, out y);
2790 Eina.Log.Warning($"Callback error: {e.ToString()}");
2791 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2798 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);
2802 private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate;
2805 private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
2808 public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
2810 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");
2812 private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
2814 Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called");
2815 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2821 ((Manager)ws.Target).SetGravity(x, y);
2825 Eina.Log.Warning($"Callback error: {e.ToString()}");
2826 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2833 efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
2837 private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate;
2840 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);
2843 public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
2845 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");
2847 private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
2849 Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called");
2850 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2856 ((Manager)ws.Target).SetMatchContent(w, h);
2860 Eina.Log.Warning($"Callback error: {e.ToString()}");
2861 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2868 efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
2872 private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate;
2875 private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
2878 public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj);
2880 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");
2882 private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd)
2884 Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called");
2885 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2888 Eina.Position2D _ret_var = default(Eina.Position2D);
2891 _ret_var = ((Manager)ws.Target).GetStepSize();
2895 Eina.Log.Warning($"Callback error: {e.ToString()}");
2896 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2904 return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2908 private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate;
2911 private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step);
2914 public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step);
2916 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");
2918 private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step)
2920 Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called");
2921 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2924 Eina.Position2D _in_step = step;
2928 ((Manager)ws.Target).SetStepSize(_in_step);
2932 Eina.Log.Warning($"Callback error: {e.ToString()}");
2933 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2940 efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
2944 private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate;
2947 private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
2950 public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
2952 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");
2954 private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation)
2956 Eina.Log.Debug("function efl_ui_scrollable_scroll was called");
2957 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2960 Eina.Rect _in_rect = rect;
2964 ((Manager)ws.Target).Scroll(_in_rect, animation);
2968 Eina.Log.Warning($"Callback error: {e.ToString()}");
2969 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2976 efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation);
2980 private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate;
2983 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);
2986 public delegate void efl_ui_scrollbar_bar_mode_get_api_delegate(System.IntPtr obj, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar);
2988 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");
2990 private static void bar_mode_get(System.IntPtr obj, System.IntPtr pd, out Efl.Ui.ScrollbarMode hbar, out Efl.Ui.ScrollbarMode vbar)
2992 Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_get was called");
2993 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2996 hbar = default(Efl.Ui.ScrollbarMode); vbar = default(Efl.Ui.ScrollbarMode);
2999 ((Manager)ws.Target).GetBarMode(out hbar, out vbar);
3003 Eina.Log.Warning($"Callback error: {e.ToString()}");
3004 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3011 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);
3015 private static efl_ui_scrollbar_bar_mode_get_delegate efl_ui_scrollbar_bar_mode_get_static_delegate;
3018 private delegate void efl_ui_scrollbar_bar_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
3021 public delegate void efl_ui_scrollbar_bar_mode_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar);
3023 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");
3025 private static void bar_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollbarMode hbar, Efl.Ui.ScrollbarMode vbar)
3027 Eina.Log.Debug("function efl_ui_scrollbar_bar_mode_set was called");
3028 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3034 ((Manager)ws.Target).SetBarMode(hbar, vbar);
3038 Eina.Log.Warning($"Callback error: {e.ToString()}");
3039 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3046 efl_ui_scrollbar_bar_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar);
3050 private static efl_ui_scrollbar_bar_mode_set_delegate efl_ui_scrollbar_bar_mode_set_static_delegate;
3053 private delegate void efl_ui_scrollbar_bar_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out double width, out double height);
3056 public delegate void efl_ui_scrollbar_bar_size_get_api_delegate(System.IntPtr obj, out double width, out double height);
3058 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");
3060 private static void bar_size_get(System.IntPtr obj, System.IntPtr pd, out double width, out double height)
3062 Eina.Log.Debug("function efl_ui_scrollbar_bar_size_get was called");
3063 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3066 width = default(double); height = default(double);
3069 ((Manager)ws.Target).GetBarSize(out width, out height);
3073 Eina.Log.Warning($"Callback error: {e.ToString()}");
3074 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3081 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);
3085 private static efl_ui_scrollbar_bar_size_get_delegate efl_ui_scrollbar_bar_size_get_static_delegate;
3088 private delegate void efl_ui_scrollbar_bar_position_get_delegate(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy);
3091 public delegate void efl_ui_scrollbar_bar_position_get_api_delegate(System.IntPtr obj, out double posx, out double posy);
3093 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");
3095 private static void bar_position_get(System.IntPtr obj, System.IntPtr pd, out double posx, out double posy)
3097 Eina.Log.Debug("function efl_ui_scrollbar_bar_position_get was called");
3098 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3101 posx = default(double); posy = default(double);
3104 ((Manager)ws.Target).GetBarPosition(out posx, out posy);
3108 Eina.Log.Warning($"Callback error: {e.ToString()}");
3109 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3116 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);
3120 private static efl_ui_scrollbar_bar_position_get_delegate efl_ui_scrollbar_bar_position_get_static_delegate;
3123 private delegate void efl_ui_scrollbar_bar_position_set_delegate(System.IntPtr obj, System.IntPtr pd, double posx, double posy);
3126 public delegate void efl_ui_scrollbar_bar_position_set_api_delegate(System.IntPtr obj, double posx, double posy);
3128 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");
3130 private static void bar_position_set(System.IntPtr obj, System.IntPtr pd, double posx, double posy)
3132 Eina.Log.Debug("function efl_ui_scrollbar_bar_position_set was called");
3133 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3139 ((Manager)ws.Target).SetBarPosition(posx, posy);
3143 Eina.Log.Warning($"Callback error: {e.ToString()}");
3144 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3151 efl_ui_scrollbar_bar_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), posx, posy);
3155 private static efl_ui_scrollbar_bar_position_set_delegate efl_ui_scrollbar_bar_position_set_static_delegate;
3158 private delegate void efl_ui_scrollbar_bar_visibility_update_delegate(System.IntPtr obj, System.IntPtr pd);
3161 public delegate void efl_ui_scrollbar_bar_visibility_update_api_delegate(System.IntPtr obj);
3163 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");
3165 private static void bar_visibility_update(System.IntPtr obj, System.IntPtr pd)
3167 Eina.Log.Debug("function efl_ui_scrollbar_bar_visibility_update was called");
3168 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3174 ((Manager)ws.Target).UpdateBarVisibility();
3178 Eina.Log.Warning($"Callback error: {e.ToString()}");
3179 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3186 efl_ui_scrollbar_bar_visibility_update_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3190 private static efl_ui_scrollbar_bar_visibility_update_delegate efl_ui_scrollbar_bar_visibility_update_static_delegate;
3192 #pragma warning restore CA1707, CS1591, SA1300, SA1600
3203 #pragma warning disable CS1591
3204 public static class Efl_Ui_ScrollManager_ExtensionMethods {
3205 public static Efl.BindableProperty<Efl.Ui.Pan> Pan<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3206 return new Efl.BindableProperty<Efl.Ui.Pan>("pan", fac);
3209 public static Efl.BindableProperty<bool> Mirrored<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3210 return new Efl.BindableProperty<bool>("mirrored", fac);
3213 public static Efl.BindableProperty<bool> MirroredAutomatic<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3214 return new Efl.BindableProperty<bool>("mirrored_automatic", fac);
3217 public static Efl.BindableProperty<System.String> Language<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3218 return new Efl.BindableProperty<System.String>("language", fac);
3221 public static Efl.BindableProperty<Eina.Position2D> ContentPos<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3222 return new Efl.BindableProperty<Eina.Position2D>("content_pos", fac);
3228 public static Efl.BindableProperty<bool> ScrollFreeze<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3229 return new Efl.BindableProperty<bool>("scroll_freeze", fac);
3232 public static Efl.BindableProperty<bool> ScrollHold<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3233 return new Efl.BindableProperty<bool>("scroll_hold", fac);
3237 public static Efl.BindableProperty<Efl.Ui.ScrollBlock> MovementBlock<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3238 return new Efl.BindableProperty<Efl.Ui.ScrollBlock>("movement_block", fac);
3243 public static Efl.BindableProperty<Eina.Position2D> StepSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.Scroll.Manager, T>magic = null) where T : Efl.Ui.Scroll.Manager {
3244 return new Efl.BindableProperty<Eina.Position2D>("step_size", fac);
3251 #pragma warning restore CS1591